Commit in lcio on MAIN
sio/CMakeLists.txt+1-11.18 -> 1.19
src/cpp/CMakeLists.txt+1-21.21 -> 1.22
+2-3
2 modified files
added -fno-strict-aliasing flag to remove gcc4 warning: "dereferencing type-punned pointer will break strict-aliasing rules"

lcio/sio
CMakeLists.txt 1.18 -> 1.19
diff -u -r1.18 -r1.19
--- CMakeLists.txt	7 Nov 2008 15:58:05 -0000	1.18
+++ CMakeLists.txt	27 Nov 2008 16:48:54 -0000	1.19
@@ -51,7 +51,7 @@
 #------ require proper C++ -------
 ADD_DEFINITIONS( "-Wall -ansi -pedantic" )
 #----- need long long for int64 for now ------
-ADD_DEFINITIONS( "-Wno-long-long -Wno-sign-compare" )
+ADD_DEFINITIONS( "-Wno-long-long -Wno-sign-compare -fno-strict-aliasing" )
 
 ADD_LIBRARY( lib_SIO ${SIO_SRCS} )
 

lcio/src/cpp
CMakeLists.txt 1.21 -> 1.22
diff -u -r1.21 -r1.22
--- CMakeLists.txt	29 Sep 2008 09:31:02 -0000	1.21
+++ CMakeLists.txt	27 Nov 2008 16:48:54 -0000	1.22
@@ -119,8 +119,7 @@
 #------ require proper C++ -------
 ADD_DEFINITIONS( "-Wall -ansi -pedantic" )
 #----- need long long for int64 for now ------
-#FIXME: should establish wether we are on a 32bit or 64 bit machine ....
-ADD_DEFINITIONS( "-Wno-long-long" )
+ADD_DEFINITIONS( "-Wno-long-long -fno-strict-aliasing" )
 
 #---- special flags for cfortran code : --------
 SET_SOURCE_FILES_PROPERTIES( 
CVSspam 0.2.8