Oct. 9th, 2008 [entries|reading|network|archive]
simont

[ userinfo | dreamwidth userinfo ]
[ archive | journal archive ]

Thu 2008-10-09 15:25
Left hand, meet right hand. There. Now shake.
$ echo "long long x;" > z.c
$ gcc --std=c99 -pedantic -Wall -c z.c
$ gcc --std=c90 -pedantic -Wall -c z.c
cc1: error: unrecognized command line option "-std=c90"
$ gcc --std=c89 -pedantic -Wall -c z.c
z.c:1: warning: ISO C90 does not support `long long'

Hmm. Nothing like clear consensus on standards nomenclature.

Link1 comment | Reply
navigation
[ viewing | October 9th, 2008 ]
[ go | Previous Day|Next Day ]