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:
@@ -1,26 +1,12 @@
|
|||||||
# use glob syntax.
|
# use glob syntax.
|
||||||
syntax: glob
|
syntax: glob
|
||||||
|
|
||||||
src/server/shared/revision.h
|
|
||||||
build/
|
build/
|
||||||
bin/
|
|
||||||
.directory
|
.directory
|
||||||
*.orig
|
*.orig
|
||||||
*.rej
|
*.rej
|
||||||
*~
|
*~
|
||||||
.git/
|
.git/
|
||||||
VC90/*/
|
|
||||||
win/VC90/*/
|
|
||||||
src/tools/bin/*/
|
|
||||||
src/tools/map_extractor/VC90/*/
|
|
||||||
src/tools/vmap3_assembler/VC90/*/
|
|
||||||
src/tools/vmap3_extractor/VC90/*/
|
|
||||||
externals/lib/*/
|
|
||||||
*.ncb
|
|
||||||
*.suo
|
|
||||||
*.*-*
|
|
||||||
|
|
||||||
# use regexp syntax.
|
# use regexp syntax.
|
||||||
syntax: regexp
|
syntax: regexp
|
||||||
|
|
||||||
^src/shared/server/shared/revision\.h
|
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
# Be sure to specify files instead of * when running the script.
|
#!/bin/bash
|
||||||
perl -wpi -e "s/ +$//g" $1
|
perl -wpi -e "s/ +$//g" $1
|
||||||
|
|||||||
@@ -8,6 +8,14 @@
|
|||||||
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
||||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
# 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 )
|
if( SERVERS )
|
||||||
add_subdirectory(shared)
|
add_subdirectory(shared)
|
||||||
add_subdirectory(game)
|
add_subdirectory(game)
|
||||||
|
|||||||
Reference in New Issue
Block a user