Changeset - r17381:6ee000e68cd0
[Not reviewed]
master
0 1 0
smatz - 13 years ago 2011-02-24 16:39:04
smatz@openttd.org
(svn r22137) -Codechange: enable -Wnon-virtual-dtor for all GCC versions
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
config.lib
Show inline comments
 
@@ -1288,6 +1288,9 @@ make_compiler_cflags() {
 
			# sure that they will not happen. It furthermore complains
 
			# about its own optimized code in some places.
 
			flags="$flags -fno-strict-overflow"
 
			# GCC 4.2 no longer includes -Wnon-virtual-dtor in -Wall.
 
			# Enable it in order to be consistent with older GCC versions.
 
			flags="$flags -Wnon-virtual-dtor"
 
		fi
 

	
 
		if [ $cc_version -ge 43 ]; then
0 comments (0 inline, 0 general)