Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!hp4nl!dnlunx!sjaak From: JW_Schilperoort@pttrnl.nl (Schilperoort J.W.) Newsgroups: comp.unix.ultrix Subject: Re: Why has Digital $ in their headerfiles in ultrix? Message-ID: <6019@dnlunx.pttrnl.nl> Date: 23 Jan 91 10:19:28 GMT References: <1991Jan21.152619.2771@lth.se> Organization: PTT Research Neher Laboratorium Lines: 24 jh@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? Beats me. While we are on the subject, check out sys/file.h: #ifdef KERNEL && !defined(_POSIX_SOURCE) According to me and to gcc this is garbage. >Is there a fix for gcc, or is there another way to fix this? Remove "|| CC$gfloat" from the include files. Alternatively, copy the files to /usr/local/lib/gcc-include (or whatever) and fix it there. -- Sjaak Schilperoort JW_Schilperoort@pttrnl.nl PTT Research Neher Laboratorium ...!hp4nl!dnlunx!sjaak Leidschendam, Netherlands schilperoort@hlsdnl5.bitnet