Why has Digital $ in their headerfiles in ultrix?

Michael Meissner meissner at osf.org
Tue Jan 29 09:40:15 AEST 1991


In article <1991Jan21.152619.2771 at lth.se> jh at efd.lth.se (Joergen
Haegg) writes:

| Ultrix 4.0.1, vaxstation 2000:
| 
| In /usr/include/math.h I found this line:
| #if     defined(GFLOAT) || CC$gfloat
|                            ^^^^^^^^^
| 
| And this is not the only one. Why can't Digital leave $ in VMS
| where it belongs?
| 
| Gcc complains. And if I look in the C book it says that an identifier
| can only be [a-zA-Z_][a-zA-Z_0-9].
| 
| Is there a fix for gcc, or is there another way to fix this?

Quoting from the GCC manual:


`DOLLARS_IN_IDENTIFIERS'
     Define this to be nonzero if the character `$' should be allowed
     by default in identifier names.
--
Michael Meissner	email: meissner at osf.org		phone: 617-621-8861
Open Software Foundation, 11 Cambridge Center, Cambridge, MA, 02142

Considering the flames and intolerance, shouldn't USENET be spelled ABUSENET?



More information about the Comp.unix.ultrix mailing list