File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ endif ()
8787#---------------------------------------------
8888# See if our compiler supports ISO 10646/UCS4
8989#---------------------------------------------
90- set ( ENABLE_UNICODE FLASE CACHE BOOL
90+ set ( ENABLE_UNICODE FALSE CACHE BOOL
9191 "Enable unicode/UCS4 support" )
9292if ( ENABLE_UNICODE )
9393 try_run ( UCS4_TEST_RUNS UCS4_TEST_COMPILES
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ env = Environment()
1919if env ['FORTRAN' ] == 'gfortran' :
2020 env = Environment (F90FLAGS = '-O2 -fbacktrace -g -Wall -Wextra -Wno-maybe-uninitialized -Wno-unused-function -pedantic -std=f2008 -J' ,)
2121elif env ['FORTRAN' ] == 'ifort' :
22- env = Environment (F90FLAGS = '-O2 -warn -stand f08 -diag-disable 7601 -traceback -module lib' ,)
22+ env = Environment (F90FLAGS = '-O2 -warn -stand f08 -diag-disable 7601 -diag-disable 5142 - traceback -module lib' ,)
2323
2424src = join ('src' ,'json_module.F90' )
2525ar = join ('lib' ,'libjsonfortran' + env ['LIBSUFFIX' ])
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ LIBOUT='libjsonfortran.a' # name of json library
7979# warning #7601: F2008 standard does not allow an internal procedure to be an actual argument procedure name. (R1214.4).
8080# In the context of F2008 this is an erroneous warning.
8181# See https://prd1idz.cps.intel.com/en-us/forums/topic/486629
82- INTELCOMPILERFLAGS=' -c -O2 -warn -stand f08 -diag-disable 7601 -diag-disable 4013 -traceback'
82+ INTELCOMPILERFLAGS=' -c -O2 -warn -stand f08 -diag-disable 7601 -diag-disable 4013 -diag-disable 5142 - traceback'
8383# INTELCOMPILERFLAGS='-c -O2 -warn -traceback -stand f08 -assume protect_parens -assume buffered_io -check all'
8484
8585GNUCOMPILERFLAGS=' -c -O2 -fbacktrace -Wall -Wextra -Wno-maybe-uninitialized -Wno-unused-function -pedantic -std=f2008'
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ if ( NOT Fortran_FLAGS_INIT )
1717 # warning #7601: F2008 standard does not allow an internal procedure to be an actual argument procedure
1818 # name. (R1214.4). In the context of F2008 this is an erroneous warning.
1919 # See https://prd1idz.cps.intel.com/en-us/forums/topic/486629
20- set ( CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -warn -stand f08 -diag-disable 7601" )
20+ set ( CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -warn -stand f08 -diag-disable 7601 -diag-disable 5142 " )
2121 endif ()
2222 if ( ENABLE_RUNTIME_CHECKS )
2323 set ( CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -check all" )
You can’t perform that action at this time.
0 commit comments