Article View: gnu.gcc.help
Article #41804gcc help - ansi vs. non-ansi
From: Rotem Roy
Date: Tue, 13 Feb 1996 00:00
Date: Tue, 13 Feb 1996 00:00
12 lines
845 bytes
845 bytes
I use the gcc flag -traditional to disable errors/warnings about old style, non-ansi function declaration syntax. However, it seems that this flag disables the const usage and with this flag, a const variable can be written into. Therefor, the problem is simple: I want the gcc to handle old-style function declaration syntax AND (!) handle const types as in ansi-c. is it possible? rotero@math.tau.ac.il or roy@armon.co.il
Technical Details
Message-ID:
<4fr3ru$e6h@post.tau.ac.il>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,8c3283eb48c7ecb0,start X-Google-Attributes: gid11318c,public From: rotero@lune.math.tau.ac.il (Rotem Roy) Subject: gcc help - ansi vs. non-ansi Date: 1996/02/13 Message-ID: <4fr3ru$e6h@post.tau.ac.il> X-Deja-AN: 139261820 organization: School of Math & CS - Tel Aviv University , Tel Aviv , ISRAEL. newsgroups: gnu.gcc.help