home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!spool.mu.edu!sdd.hp.com!saimiri.primate.wisc.edu!ames!decwrl!concert!sas!mozart.unx.sas.com!walker
- From: walker@twix.unx.sas.com (Doug Walker)
- Subject: Re: SAS/C 6.00 & ANSI & Strict and C='s includes
- Originator: walker@twix.unx.sas.com
- Sender: news@unx.sas.com (Noter of Newsworthy Events)
- Message-ID: <Bx8xrD.5Br@unx.sas.com>
- Date: Thu, 5 Nov 1992 14:04:24 GMT
- References: <1992Nov4.192404.1147@jupiter.sun.csd.unb.ca> <1992Nov5.075836.27904@lmpsbbs.comm.mot.com>
- Nntp-Posting-Host: twix.unx.sas.com
- Organization: SAS Institute Inc.
- Keywords: n
- Lines: 55
-
-
- In article <1992Nov5.075836.27904@lmpsbbs.comm.mot.com>, rittle@supra.comm.mot.com (Loren James Rittle) writes:
- |> In article <1992Nov4.192404.1147@jupiter.sun.csd.unb.ca> mctaylor@mta.ca writes:
- |> >Why does my program get lots of warnings when I use ANSI and Strict for
- |> >the messages, not from my program but from within the C= includes. The
- |>
- |> Because the fine people at C= haven't gotten around to updating the C=
- |> includes to be %100 ANSI compliant. I hope that the 3.0 includes fix
- |> these problems. Actually, I'll take the 3.0 includes in any form at
- |> this time... :-)
-
- Actually, this is not true. The STRICT option in this case is being
- more picky than ANSI requires.
-
- |> Before including one or a set of C= includes:
- |>
- |> #pragma msg 148 ignore push
- |> #pragma msg 149 ignore push
- |> #pragma msg 61 ignore push
- |>
- |> After including one or a set of C= includes:
- |>
- |> #pragma msg 149 pop
- |> #pragma msg 61 pop
- |>
- |> Note that msg 148 can't be reset after the includes or a warning/error
- |> will be flagged every time certain items in the includes are referred
- |> to.
-
- If you're never going to reenable 148, it would be better to disable
- it with
-
- #pragma msg 148 ignore
-
- rather than adding "push". Why make me allocate the four bytes and
- keep track of it? This could add up if you did multiple pushes.
-
- Note that it won't matter for the others since you pop it right away.
-
- We probably should add those statements to the <proto/...> files,
- but unfortunately I didn't think of it (and I don't remember your
- request to do it, Loren - sorry. Must have never gotten above
- my subconcious or something).
-
- |> Loren J. Rittle (rittle@comm.mot.com)
-
- --
- *****
- =*|_o_o|\\=====Doug Walker, Software Distiller====== BBS: (919)460-7430 =
- *|. o.| || 1200/2400/9600 Dual
- | o |// For all you do, this bug's for you!
- ======
- usenet: walker@unx.sas.com bix: djwalker
- Any opinions expressed are mine, not those of SAS Institute, Inc.
-
-