This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Integrated cpp: hack specs so -traditional works


Neil Booth <NeilB@earthling.net> wrote:

> Incidentally, is
> "const" not a keyword with -traditional?  Neither 2.95.2 nor a
> bootstrapped compiler allow me to put const char * in the test below.

Of course not! There is no const in the standard UNIX C78, neither in the K&R
spec nor in the actual UNIX compiler. const is an ANSI contamination
originating from C++.

--
Michael Sokolov		Harhan Engineering Laboratory
Public Service Agent	International Free Computing Task Force
			International Engineering and Science Task Force
			615 N GOOD LATIMER EXPY STE #4
			DALLAS TX 75204-5852 USA

Phone: +1-214-824-7693 (Harhan Eng Lab office)
E-mail: msokolov@ivan.Harhan.ORG (ARPA TCP/SMTP) (UUCP coming soon)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]