ECC-1508: Set C++ standard to 11 and re-enable test

This commit is contained in:
Shahram Najm 2023-01-30 10:53:14 +00:00
parent 973c82c8be
commit 17ca872f69
2 changed files with 7 additions and 4 deletions

View File

@ -22,6 +22,9 @@ find_package( ecbuild 3.7 REQUIRED HINTS ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CUR
# Initialise project
project( eccodes VERSION 2.30.0 LANGUAGES CXX )
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
###############################################################################
# system checks needed for eccodes_config.h and some options like MEMFS

View File

@ -32,7 +32,7 @@ list(APPEND test_c_bins
grib_optimize_scaling_sh
grib_set_force
grib_ecc-386
# grib_ecc-1431
grib_ecc-1431
bufr_ecc-517
bufr_ecc-1288
bufr_get_element
@ -271,9 +271,9 @@ if( HAVE_BUILD_TOOLS )
codes_split_file
grib_mars_keys)
#if( HAVE_AEC AND ENABLE_EXTRA_TESTS )
# list(APPEND tests_extra grib_ecc-1431)
#endif()
if( HAVE_AEC AND ENABLE_EXTRA_TESTS )
list(APPEND tests_extra grib_ecc-1431)
endif()
if( HAVE_FORTRAN AND ENABLE_EXTRA_TESTS )
list(APPEND tests_extra bufr_dump_encode_fortran)
list(APPEND tests_extra bufr_dump_decode_fortran)