cpp reserved symbols

Alan Davis davis at MASIG2.OCEAN.FSU.EDU
Wed Aug 9 23:05:36 AEST 1989


I have been trying to compile a software package from a 3rd party which was
designed to run on various machines including VAXes.  In the C code they have
inserted #ifdef vax || #ifdef vms cpp directives (amongst others) so the code
could be ported to various machines.  I was under the impression that these
were reserved symbols that had already been defined to cpp ( 3xxx IRIS,
running 3.6).  However I have just found out that vms and vax are NOT defined,
contrary to the misleading statement in the cpp man page, which states upon
closer inspection "The current list of these possibly reserved symbols
includes:".  Does any one have a complete list of "possibly reserved symbols"
that ARE currently defined?
--
          Alan Davis                |
Mesoscale Air-Sea Interaction Group | TCP/IP davis at masig1.ocean.fsu.edu
    Florida State University        |             (128.186.3.1)
    435 OSB  Meteorology Annex      | SPAN   scri::"davis at masig1.ocean.fsu.edu"
    Tallahassee, FL 32306-3041      | BITNET davis%masig1.ocean.fsu.edu at cunyvm
         (904) 644-3798             |
_______________________________________________________________________________



More information about the Comp.sys.sgi mailing list