File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 11
11
It is possible to specify a classical charge distribution of point multipoles.
12
12
This can be an additional source of electrostatic potential for the calculation
13
13
of the ASC.
14
+ - Restored compilation for g++ < v5.1.
14
15
15
16
## [ Version 1.1.10] - 2017-03-27
16
17
Original file line number Diff line number Diff line change @@ -14,7 +14,10 @@ if(NOT DEFINED ENV{CXXFLAGS})
14
14
endif ()
15
15
16
16
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CXX_STANDARD_FLAG} " )
17
- set (EXDIAG_CXX_FLAGS -Wsuggest-attribute=pure -Wsuggest-attribute=const -Wsuggest-attribute=noreturn -Wsuggest-final-types -Wsuggest-final-methods -Wsuggest-override -Wuseless-cast -Wunsafe-loop-optimizations)
17
+ set (EXDIAG_CXX_FLAGS -Wsuggest-attribute=pure -Wsuggest-attribute=const -Wsuggest-attribute=noreturn -Wuseless-cast -Wunsafe-loop-optimizations)
18
+ if (NOT CXX_COMPILER_VERSION VERSION_LESS 5.1.0)
19
+ set (EXDIAG_CXX_FLAGS ${EXDIAG_CXX_FLAGS} -Wsuggest-final-types -Wsuggest-final-methods -Wsuggest-override)
20
+ endif ()
18
21
if (CXX_COMPILER_VERSION VERSION_LESS 4.9.0 OR NOT ENABLE_CXX11_SUPPORT)
19
22
message (STATUS "Turning off extended diagnostic flags." )
20
23
set (EXDIAG_CXX_FLAGS)
You can’t perform that action at this time.
0 commit comments