Add a compileflag for authserver/worldserver/scripts that allows GCC-users to

catch (if any) a few bugs that are otherwise (normally) optimized away.
+ Adjust .hgignore slightly (remove lock on MSVC-projects, we have none)
+ Properly upload the corrected version of the whitespace-script (sigh...)

--HG--
branch : trunk
This commit is contained in:
click
2010-08-08 21:02:56 +02:00
parent e5c797cef6
commit e15d1c37f4
3 changed files with 9 additions and 15 deletions
+8
View File
@@ -8,6 +8,14 @@
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# Enforce compileparameters for corebuilds under GCC
# This to stop a few silly crashes that could have been avoided IF people
# weren't doing some -O3 psychooptimizations etc.
if(CMAKE_COMPILER_IS_GNUCXX)
add_definitions(-fno-delete-null-pointer-checks)
endif()
if( SERVERS )
add_subdirectory(shared)
add_subdirectory(game)