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>
Mon, 5 Jan 2009 15:24:56 +0000 (15:24 +0000)
commit8ee1df065234eaf27c53c03bdf6e4ad487bc326d
tree8b03f43a12ecc9bbc9ba884a09f7a1b15e135407
parent49c40b10c72e64977971ccb96abfc8767ed4c6ea
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