Black Magic: __EXTENSIONS__

Mark Moraes moraes at cs.toronto.edu
Sat Oct 27 08:26:53 AEST 1990


It would appear that #ifdef __EXTENSIONS__ encloses all non-ANSI stuff
in the header files.  Presumably, if __EXTENSIONS__ were undefined,
the SGI header files would strictly conform to the ANSI namespace.  I
can't find a way to turn off __EXTENSIONS__, short of putting undef's
in my code.  [gcc will turn it off with -ansi, which I hope is correct]
Of course, lots of things stop working once you turn off
__EXTENSIONS__.



More information about the Comp.sys.sgi mailing list