Changeset 19759 for trunk/Mars
- Timestamp:
- 10/11/19 16:48:06 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/CMakeLists.txt
r19758 r19759 211 211 -Wcast-align -Wformat -Woverloaded-virtual \ 212 212 -Wnon-virtual-dtor -Wshadow -fPIC") # -Wextra 213 214 # /opt/root-6.18.04-bin/include/Bytes.h:72:6: warning: cast from 'char *' to 'UShort_t *' 215 # (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 216 # *((UShort_t *)buf) = Rbswap_16(x); 217 # ^~~~~~~~~~~~~~~ 218 219 IF(ROOT_VERSION VERSION_GREATER_EQUAL 6.18 AND ROOT_VERSION VERSION_LESS 6.19) 220 SET(CMAKE_CXX_FLAGS 221 "${CMAKE_CXX_FLAGS} -Wno-cast-align") 222 ENDIF() 213 223 214 224 SET(CMAKE_CXX_FLAGS
Note:
See TracChangeset
for help on using the changeset viewer.