]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
No effective C++ option for compilation of C files
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 30 Jan 2007 10:46:37 +0000 (10:46 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 30 Jan 2007 10:46:37 +0000 (10:46 +0000)
build/Makefile.linux

index 929f16e77dfa8d1ed4abba718ad833028d2743dc..8a0632ab82052079f967e47ded1e7cd6c2483f63 100644 (file)
@@ -39,7 +39,7 @@ CXXFLAGS       = $(OPT) -W -Wall -Woverloaded-virtual -fPIC -pipe -fmessage-leng
 CXXFLAGSNO     = $(NOOPT) -W -Wall -Weffc++ -fPIC -pipe -fmessage-length=0 -Wno-long-long -ansi
 endif
 endif
-CFLAGS        = $(OPT) -Wall -Weffc++ -fPIC -pipe -Wno-long-long -pedantic-errors -ansi
+CFLAGS        = $(OPT) -Wall -Werror -fPIC -pipe -Wno-long-long -pedantic-errors -ansi
 FFLAGS         = $(CLIBFOPT) $(FOPT) -fno-second-underscore
 # rmkdepend flags for building dependencies of FORTRAN files
 DEPENDFFLAGS   = $(FFLAGS)