Commit Graph

1 Commits (2242dac95fb1e9ff8c516e35bbe89944280fd807)

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