Left hand, meet right hand. There. Now shake. (Reply) [entries|reading|network|archive]
simont

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

[personal profile] simont 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.

Link Read Comments
Reply:
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting