Changeset 25650


Ignore:
Timestamp:
10/07/20 08:11:22 (5 years ago)
Author:
Mathieu Morlighem
Message:

CHG: removed compiler flag specific to g++ Dakota

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/m4/issm_options.m4

    r25648 r25650  
    24922492        dnl optimization{{{
    24932493        dnl -- bypass standard optimization -g -O2 -fPIC -std=c++11?
    2494         dnl NOTE: Added -Wno-deprecated-register flag to clear,
    2495         dnl
    2496         dnl             externalpackages/dakota/install/include/MPIPackBuffer.hpp:301:8: warning:
    2497         dnl             'register' storage class specifier is deprecated and incompatible with
    2498         dnl             C++17 [-Wdeprecated-register]
    2499         dnl             for (register typename ContainerT::size_type i=0; i<len; ++i) {
    2500         dnl
    2501         dnl when Dakota 6.2 is installed (may be an issue in other versions; likely
    2502         dnl will not be needed at all in future versions)
    2503         dnl
    25042494        AC_ARG_WITH(
    25052495                [cxxoptflags],
    2506                 AS_HELP_STRING([--with-cxxoptflags=CXXOPTFLAGS], [C++ optimization flags (i.e. --with-cxxoptflags="-march=opteron -O3 -std=c++11 -Wno-deprecated-register"]),
     2496                AS_HELP_STRING([--with-cxxoptflags=CXXOPTFLAGS], [C++ optimization flags (i.e. --with-cxxoptflags="-march=opteron -O3 -std=c++11"]),
    25072497                [CXXOPTFLAGS=${withval}],
    2508                 [CXXOPTFLAGS="-g -O2 -fPIC -std=c++11 -Wno-deprecated-register"]
     2498                [CXXOPTFLAGS="-g -O2 -fPIC -std=c++11"]
    25092499        )
    25102500        AC_MSG_CHECKING(for C++ optimization flags)
Note: See TracChangeset for help on using the changeset viewer.