casacore/v2.4.1-gcc-6.3.0 gives errors like 'error: range-based ‘for’ loops are not allowed in C++98 mode' and 'error: ISO C++ forbids declaration of ‘c’ with no type [-fpermissive]'

This commit is contained in:
Hanno Spreeuw 2018-04-26 17:24:51 +02:00
parent b961044741
commit 54bd95e977
1 changed files with 2 additions and 2 deletions

View File

@ -3,10 +3,10 @@ CXX=g++
CXXFLAGS=-O3 -Wall -g -pg #-fnostack-protector CXXFLAGS=-O3 -Wall -g -pg #-fnostack-protector
# CASA_LIBDIR=-L/cm/shared/package/casacore/v2.1.0-gcc-4.9.3/lib -L/cm/shared/package/cfitsio/3380-gcc-4.9.3/lib -L/cm/shared/package/lapack/3.6.0-gcc-4.9.3/lib64 # CASA_LIBDIR=-L/cm/shared/package/casacore/v2.1.0-gcc-4.9.3/lib -L/cm/shared/package/cfitsio/3380-gcc-4.9.3/lib -L/cm/shared/package/lapack/3.6.0-gcc-4.9.3/lib64
CASA_LIBDIR=-L/cm/shared/package/casacore/v2.4.1-gcc-6.3.0/lib -L/cm/shared/package/cfitsio/3380-gcc-4.9.3/lib -L/cm/shared/package/lapack/3.6.0-gcc-4.9.3/lib64 CASA_LIBDIR=-L/cm/shared/package/casacore/v2.3.0-gcc-4.9.3/lib -L/cm/shared/package/cfitsio/3380-gcc-4.9.3/lib -L/cm/shared/package/lapack/3.6.0-gcc-4.9.3/lib64
# CASA_INCDIR=-I/cm/shared/package/casacore/v2.1.0-g++-4.9.3/include -I/cm/shared/package/casacore/v2.1.0-g++-4.9.3/include/casacore # CASA_INCDIR=-I/cm/shared/package/casacore/v2.1.0-g++-4.9.3/include -I/cm/shared/package/casacore/v2.1.0-g++-4.9.3/include/casacore
CASA_INCDIR=-I/cm/shared/package/casacore/v2.4.1-gcc-6.3.0/include -I/cm/shared/package/casacore/v2.4.1-gcc-6.3.0/include/casacore CASA_INCDIR=-I/cm/shared/package/casacore/v2.3.0-gcc-4.9.3/include -I/cm/shared/package/casacore/v2.3.0-gcc-4.9.3/include/casacore
CASA_LIBS=-lcasa_casa -lcasa_tables -lcasa_measures -lcasa_ms -lcfitsio CASA_LIBS=-lcasa_casa -lcasa_tables -lcasa_measures -lcasa_ms -lcfitsio
#LAPACK=-llapack -lblas #LAPACK=-llapack -lblas
LAPACK=-lopenblas -lgfortran -lpthread LAPACK=-lopenblas -lgfortran -lpthread