[Cryptech Tech] C standard
Joachim Strömbergson
joachim at secworks.se
Tue Jun 9 08:05:17 UTC 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Aloha!
Rob Austein wrote:
> Question I only just realized I should have asked a while ago:
> what's our target standard for C code? ANSI? C99? C11?
>
> I ask because my own default, from years (OK, decades) of habit, is
> ANSI C. C99 has features that I wouldn't mind being able to use,
> the question is whether we're comfortable with requiring compiler
> support.
>
> GCC and Clang both support C99. Not sure about Microsoft, doubt we
> care about Microsoft for the green layer, but maybe we do for
> yellow.
>
> Note that we are already requiring stdint.h, which, strictly
> speaking, is a C99 thing. Of course, adding a trivial header file is
> not the same supporting new language semantics.
>
> If nobody objects, I'll assume that C99 is OK and start using it.
I'm all for C99. Not sure we need to move to C11 and it might cause
problems for somebody so I prefer to be somewhat conservative.
We are using Verilog 2001 so.. ;-)
- --
Med vänlig hälsning, Yours
Joachim Strömbergson - Alltid i harmonisk svängning.
========================================================================
Joachim Strömbergson Secworks AB joachim at secworks.se
========================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBCAAGBQJVdp49AAoJEF3cfFQkIuyNwFUQANAakp0coIBvr0k6N6lJnxPG
aes7RL/qfpizeqavNf9W/anq3IX6/1Q50SQHZ4lwOuyaU9CGULiaa8/aqhrsUFFc
a17S7YQs2XPsToI+hBSAFQbDGHZhkmc0oAtxTZb22J+7Q1Btcm8OSCv3Rbe8FUfD
99pqGsNEKyEoBL+3YPkC2QBDY28Rqe794nSOWAveaL2Gmed9C3e2/3WXRGiQM2Bp
C7nMWFlbzqAH07HnwqVBujbdfHuL+nzx2k00Y0WZdhQ6daSgikVwfInxm5i3VjKV
bax7poJqOHDiF6JKc6Vgejdha0GMyjYKGe180IDZNYpuNitX1QXcuuBytmJq00XY
AYOOz1DVImpodRrbVhuLzhh1d9MHuedFKYOzP44nbPjJHstJckWml74FQZQUcFHE
2g4FBCYWCXdWTrdrX5ETX2jfpzfbT/6+dORnfLED6xEoi6x8xyiHHaGEtROx1ge5
QF6egqBeOLQKkcgpixAmZ308lvDdnTiCkjV/6PPvG03UPhqzzGEz93pT0rWCR5Fj
mwseh8WxkSQXFn4HiVA4/xC1+uBfqk6l3tefPbKIRTAQaLFlJYeQ7RMFqmuh0+Jd
toOfugNkzqyRMebUlAG+i+0jE1n8LyPMyyfyjud2q528HZWyUOdTWt8KK45E0x6C
i3ttpchIHKcGG/BlKJSQ
=XWaw
-----END PGP SIGNATURE-----
More information about the Tech
mailing list