Article View: gnu.gcc.bug
Article #862Re: Char consts/gcc-cpp
From: Mark D. Baushke
Date: Sat, 09 Dec 1989 16:44
Date: Sat, 09 Dec 1989 16:44
28 lines
1398 bytes
1398 bytes
On 9 Dec 89 02:33:45 GMT, steck@ERIC.CCS.NORTHEASTERN.EDU (Paul Steckler) said: Paul> Here is a bug in gcc 1.35's preprocessor that I found: Paul gives a description of /usr/include/sundev/vuid_event.h having a single apostrophe in a #ifdef block which is thrown away by non-ansi C compilers and suggests this may be a bug in GCC. Paul> Should the preprocessor be doing that level of lexical analysis this Paul> soon? Yes. > /usr/include/sundev/vuid_event.h:39: unterminated character constant Paul> If this has been fixed in 1.36, I apologize, I haven't installed it yet. GCC is doing the right thing. That include file (and others) need to be converted to ANSI C standards. A script which does the conversion for you has been provided in all recent version of GCC called 'fixincludes'. You should use fixincludes generate the 'private' gcc include directory which is searched before /usr/include is searched. Enjoy! -- Mark D. Baushke mdb@ESD.3Com.COM
Technical Details
Message-ID:
<8912091644.AA05009@kosciusko.ESD.3Com.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!kosciusko.esd.3com.com!mdbShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!kosciusko.esd.3com.com!mdb From: mdb@kosciusko.esd.3com.com (Mark D. Baushke) Newsgroups: gnu.gcc.bug Subject: Re: Char consts/gcc-cpp Message-ID: <8912091644.AA05009@kosciusko.ESD.3Com.COM> Date: 9 Dec 89 16:44:15 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 28