Hi. On Mon, Apr 13, 2015 at 06:32:30PM +0000, Curt wrote: > On 2015-04-13, Reco <recovery...@gmail.com> wrote: > > > > *ANSI* C - yes. For instance, gcc has this wonderful '-ansi' switch. > > It's even possible to choose the exact version of ANSI C standard (i.e. > > -std=c99). > > *K&R* C - no. At least, gcc-4.7 has no switch for this that I'm > > aware of. > > > > -traditional ? > > But incompatibilities. > > https://gcc.gnu.org/onlinedocs/gcc-3.2/gcc/Incompatibilities.html
There's a small matter with it: $ gcc -traditional 1.c gcc-4.7.real: error: GNU C no longer supports -traditional without -E And 'gcc -E' basically equals to 'cpp', i.e. pre-processing c code, not compilation. Sure, I can get a lot of free time, and build gcc-3 with gcc-4.7, but surely that's not something one can expect from the beginner :) Reco -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150413210750.GA32307@x101h