Article View: gnu.gcc.bug
Article #73bug in preprocessor handling of #include, gcc version 2.2.2
From: Clarence Martens
Date: Tue, 03 Nov 1992 02:27
Date: Tue, 03 Nov 1992 02:27
12 lines
976 bytes
976 bytes
There is a bug in the way gcc version 2.2.2 handles #include statements. For example: #define TT(a,b) #a #b #include TT(./, happy.h) should cause the compiler to include file "./happy.h" but instead gcc gives the following error message: `#include' expects "fname" or <fname> This is an important bug since the new NeXT 3.0 system uses #includes of the above format in the system's header files. Clarence Martens martens@unixg.ubc.ca
Technical Details
Message-ID:
<199211031827.AA01436@vitalstatistix.gdss.commerce.ubc.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!taco!rock!concert!uvaarpa!caen!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!gdss.commerce.ubc.ca!martensShow Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!taco!rock!concert!uvaarpa!caen!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!gdss.commerce.ubc.ca!martens From: martens@gdss.commerce.ubc.ca (Clarence Martens) Subject: bug in preprocessor handling of #include, gcc version 2.2.2 Message-ID: <199211031827.AA01436@vitalstatistix.gdss.commerce.ubc.ca> Sender: gnulists@ai.mit.edu Organization: Gnus Not Usenet Distribution: gnu Date: Tue, 3 Nov 1992 02:27:59 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 13