acy@UCBVAX.BERKELEY.EDU (Adnan Yaqub) (09/22/88)
Gcc version 27 (which, by the way, says it is version 26) chokes when compiling the Sun include file <sundev/vuid_event.h>. This file has the following strange comment in it: #ifdef COMMENT ... have to be concerned. In fact, the vuid interface doesn't ... #endif COMMENT The Gcc complains as follows: faron% gcc -g -O -mc68020 -c t.c /usr/include/sundev/vuid_event.h:39: unterminated character constant faron% when I compile the following code: #include <sundev/vuid_event.h> main(){} Note that line 39 of vuid_event.h is the line in the "ifdef" with the word "doesn't". +-----------------------------------------------------------------------------+ |Adnan Yaqub ...[cwjcc|pyramid|decvax|masscomp]!abvax!acy| |Allen-Bradley Company 747 Alpha Dr. Highland Hts. OH 44143 USA (216) 646-4409| +-----------------------------------------------------------------------------+
ekrell@hector.UUCP (Eduardo Krell) (09/23/88)
In article <8809212048.AA07318@faron.icd.abnet.com> Adnan Yaqub writes: >#ifdef COMMENT >... > have to be concerned. In fact, the vuid interface doesn't >... >#endif COMMENT Use the -traditional flag. This is a consequence of GNU's cpp being ANSI compatible by default. Eduardo Krell AT&T Bell Laboratories, Murray Hill, NJ UUCP: {att,decvax,ucbvax}!ulysses!ekrell Internet: ekrell@ulysses.att.com