home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- Path: sparky!uunet!nntp1.radiomail.net!fernwood!rossix!mickan
- From: mickan@rossinc.com (Michael J. Andrew)
- Subject: cpp looking where it shouldn't
- Message-ID: <1992Aug27.063347.9144@rossinc.com>
- Organization: Ross Systems, Inc.
- Date: Thu, 27 Aug 1992 06:33:47 GMT
- Lines: 24
-
- I'm new to HP and this group. I'm also sure this must have been asked
- before, but no luck on a search of our archived articles.
-
- #if VMS
- #module vmsname
- #else
- #define NOTVMS
- #fi
-
- The HP c89 compiler barfs on the "unknown" #module statement.
-
- We're coming from a varied DEC environment, VMS and Ultrix. The MIPS
- compilers don't get upset about this.
-
- I don't know what ANSI has to say, but it seems to me that any complaints
- by the preprocessor in the "false" part of an #if or #ifdef is
- very antisocial.
-
- Comments?
- --
- --------------------------------------------------------------
- Michael J. Andrew Ross Systems Inc. (415) 593 2500
- ..!fernwood!rossix!mick
- mick@rossinc.com
-