🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51531

gcc -ansi question

#51531
From: Jingwen Wang
Date: Sat, 01 May 1993 00:32
29 lines
1251 bytes
    When I use gcc with -ansi option (along with others), I got a lot of
complaints because lots of the system header files have the form:

#ifdef XXX
   ...
#endif XXX

   This is not acceptable by Ansi C. But I cannot change the system header
files. Is there a way to get around with these warnning messages without
having to use -w option? I still need all other checkings, except #endif.

Thanks.

jwang


-- 
Jingwen Wang
Computer Systems Research Institute
University of Toronto
6 Kings College Road
Toronto, Ont., Canada M5S 1A1
--
Jingwen Wang
Computer Systems Research Institute
University of Toronto
6 Kings College Road
Toronto, Ont., Canada M5S 1A1
Technical Details
Message-ID: <1993Apr30.203207.19113@jarvis.csri.toronto.edu>
Path: arc1-ca.pugleaf.net!gmd.de!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!uunet!utcsri!sys.toronto.edu!jwang

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,8f3056b1780f09b5,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-04-30 17:39:49 PST
Path: arc1-ca.pugleaf.net!gmd.de!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!uunet!utcsri!sys.toronto.edu!jwang
Newsgroups: gnu.gcc.help
From: jwang@sys.toronto.edu (Jingwen Wang)
Subject: gcc -ansi question
Message-ID: <1993Apr30.203207.19113@jarvis.csri.toronto.edu>
Organization: CSRI, University of Toronto
Distribution: gnu
Date: 1 May 93 00:32:08 GMT
Lines: 30