Commit Graph

1 Commits (792a98e824c88a90473b8c011dd4a6bea1891f51)

Author SHA1 Message Date
Christian Ohm f99a338ea6 Fix compilation with gcc 4.5.
gcc 4.5 enables some warnings with -Wall that didn't even exist in previous
versions (so we can't just disable them generally). This adds a new autoconf
macro to check for compiler flags, and adds -Wno-switch and -Wno-enum-compare
to the compiler flags if they exist.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10597 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-16 19:56:25 +02:00