]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Adding some options to make gcc more strict (warnings treated as errors, ANSI/ISO...
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 21 Apr 2004 09:54:31 +0000 (09:54 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 21 Apr 2004 09:54:31 +0000 (09:54 +0000)
build/Makefile.Linux

index 041b1bd902a68da2180c404b3fb9181c9c37eb23..4235504f7a5bdb86afc3d3901dd206394cab4c84 100644 (file)
@@ -10,14 +10,14 @@ CCMAJORV      = $(shell $(CC) -dumpversion | cut -d. -f1)
 OPT           = -O -g
 
 ifeq ($(CCMAJORV),2)
-CXXOPTS       = $(OPT) -W -Wall -fPIC -pipe
+CXXOPTS       = $(OPT) -W -Wall -Werror -fPIC -pipe -Wno-long-long -pedantic-errors -ansi
 else
-CXXOPTS       = $(OPT) -W -Wall -fPIC -pipe -fmessage-length=0
+CXXOPTS       = $(OPT) -W -Wall -Werror -fPIC -pipe -fmessage-length=0 -Wno-long-long -pedantic-errors -ansi
 endif
 COPT         = $(OPT)
 FOPT         = $(OPT) -fno-second-underscore
 CXXFLAGS      = $(CXXOPTS)
-CFLAGS       = -Wall -fPIC -pipe
+CFLAGS       = $(OPT) -Wall -Werror -fPIC -pipe -Wno-long-long -pedantic-errors -ansi
 
 # rootcint flags
 CINTFLAGS     =