scons: Specify C99 throughout all the tree.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 30 Dec 2008 17:13:38 +0000 (17:13 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 30 Dec 2008 17:13:38 +0000 (17:13 +0000)
commit975e58499a07775e071c2517b4fa21306e8349bb
tree2a6de93377dbf582a5b9c835fdfcf5626c75b300
parent42d00790029da4bc7e77f68c8f1c22ac9c417e42
scons: Specify C99 throughout all the tree.

MSVC may not support full C99, but supports more than plain C90. And
-pedantic without -std=c99 generates too many spurious warnings
(specially C++ style comments) to be of any use.

Note that using certain C99 features in the cross-platform parts of Gallium
is still not possible; namely mid-of-scope variable declarations and named
structure initializers will break MSVC builds.
scons/gallium.py
src/mesa/SConscript