Skip to content
Snippets Groups Projects
Commit bddb3caf authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Replace throw() by noexcept

parent d88b782d
No related branches found
No related tags found
1 merge request!143M214003/develop
......@@ -355,7 +355,6 @@ case "${HOSTNAME}" in
;;
# levante
levante*)
INTELONEAPI=/sw/spack-levante/intel-oneapi-compilers-2022.0.1-an2cbq/compiler/2022.0.1/linux
NETCDFPATH=/sw/spack-levante/netcdf-c-4.8.1-qk24yp
HDF5PATH=/sw/spack-levante/hdf5-1.12.1-akf2kp
UDUNITS2PATH=/sw/spack-levante/udunits-2.2.28-da6pla
......@@ -382,23 +381,25 @@ case "${HOSTNAME}" in
LDFLAGS="$LDFLAGS -Wl,-rpath,$HDF5PATH/lib"
LDFLAGS="$LDFLAGS -Wl,-rpath,$UDUNITS2PATH/lib"
# LDFLAGS="$LDFLAGS -Wl,-rpath,$PROJPATH/lib"
LDFLAGS="$LDFLAGS -Wl,-rpath,$INTELONEAPI/compiler/lib/intel64"
LDFLAGS="$LDFLAGS -L$FFTW3PATH/lib -Wl,-rpath,$FFTW3PATH/lib"
LDFLAGS="$LDFLAGS -Wl,-rpath,/sw/spack-levante/gcc-11.2.0-bcn7mb/lib64"
if test "$COMP" = intel ; then
INTELONEAPI=/sw/spack-levante/intel-oneapi-compilers-2022.0.1-an2cbq/compiler/2022.0.1/linux
LDFLAGS="$LDFLAGS -Wl,-rpath,$INTELONEAPI/compiler/lib/intel64"
${CONFPATH}configure --prefix=$HOME/local \
$CDOLIBS \
LDFLAGS="$LDFLAGS" \
F77=ifx FFLAGS="-g -O2" \
CXX=icpx CXXFLAGS="-g -Wall -O2 -march=core-avx2 -I${FFTW3PATH}/include" \
CXX=icpx CXXFLAGS="-g -Wall -O2 -I${FFTW3PATH}/include" \
CC=icx CFLAGS="-g -Wall -O2"
elif test "$COMP" = pgi ; then
${CONFPATH}configure --without-fortran \
${CONFPATH}configure --disable-fortran --disable-openmp \
$CDOLIBS \
LDFLAGS="$LDFLAGS -lpgf90 -lpgf90_rpm1 -lpgf902 -lpgf90rtl -lpgftnrtl -lnspgc -lpgc -lrt -lm -lgcc -lc -lgcc" \
LDFLAGS="$LDFLAGS -lpgc -lrt -lm -lgcc -lc -lgcc" \
F77=pgf90 \
CXX=pgc++ CXXFLAGS="-g -fast -D_REENTRANT -I${FFTW3PATH}/include" \
CC=pgcc CFLAGS="-g -fast -D_REENTRANT"
CXX=pgc++ CXXFLAGS="-g -O2 -D_REENTRANT -I${FFTW3PATH}/include" \
CC=pgcc CFLAGS="-g -O2 -D_REENTRANT"
elif test "$COMP" = clang ; then
${CONFPATH}configure --disable-fortran \
$CDOLIBS LIBS="-lm" \
......
......@@ -38,7 +38,7 @@ CdoSyntaxError::CdoSyntaxError(InternalCdoSyntaxError &e, std::vector<std::strin
}
const char *
CdoSyntaxError::what() const throw()
CdoSyntaxError::what() const noexcept
{
return message.c_str();
};
......@@ -19,7 +19,7 @@ struct CdoSyntaxError : InternalCdoSyntaxError
CdoSyntaxError(InternalCdoSyntaxError &e, std::vector<std::string> &p_argv);
CdoSyntaxError(InternalCdoSyntaxError &e);
const char *what() const throw() override;
const char *what() const noexcept override;
};
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment