mesa/src
Jose Fonseca 79daa510c7 configure: Leverage gcc warn options to enable safe use of C99 features where possible.
The main objective of this change is to enable Linux developers to use
more of C99 throughout Mesa, with confidence that the portions that need
to be built with MSVC -- and only those portions --, stay portable.

This is achieved by using the appropriate -Werror= options only on the
places they need to be used.

Unfortunately we still need MSVC 2008 on a few portions of the code
(namely llvmpipe and its dependencies).  I hope to eventually eliminate
this so that we can use C99 everywhere, but there are technical/logistic
challenges (specifically, newer Windows SDKs no longer bundle MSVC,
instead require a full installation of Visual Studio, and that has
hindered adoption of newer MSVC versions on our build processes.)
Thankfully we have more directy control over our OpenGL driver, which is
why we're now able to migrate to MSVC 2013 for most of the tree.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2015-02-27 14:30:36 +00:00
..
egl configure: Leverage gcc warn options to enable safe use of C99 features where possible. 2015-02-27 14:30:36 +00:00
gallium configure: Leverage gcc warn options to enable safe use of C99 features where possible. 2015-02-27 14:30:36 +00:00
gbm gbm: Define _DEFAULT_SOURCE to avoid warning 2015-01-16 21:54:54 -08:00
getopt
glsl configure: Leverage gcc warn options to enable safe use of C99 features where possible. 2015-02-27 14:30:36 +00:00
glx glx: Fix returned values of GLX_RENDERER_PREFERRED_PROFILE_MESA 2015-02-25 08:23:38 +01:00
gtest gtest: Add headers to distribution. 2014-12-12 12:11:46 -08:00
hgl hgl: traverse add-on entries 2014-12-10 14:01:01 +00:00
loader configure: Leverage gcc warn options to enable safe use of C99 features where possible. 2015-02-27 14:30:36 +00:00
mapi configure: Leverage gcc warn options to enable safe use of C99 features where possible. 2015-02-27 14:30:36 +00:00
mesa configure: Leverage gcc warn options to enable safe use of C99 features where possible. 2015-02-27 14:30:36 +00:00
util configure: Leverage gcc warn options to enable safe use of C99 features where possible. 2015-02-27 14:30:36 +00:00
Makefile.am glsl: Build a libglsl_util library. 2015-01-23 14:28:44 -08:00
SConscript egl: Fix non-dri SCons builds re #87657 2014-12-25 10:34:49 -05:00