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 ()
87
87
#---------------------------------------------
88
88
# See if our compiler supports ISO 10646/UCS4
89
89
#---------------------------------------------
90
- set ( ENABLE_UNICODE FLASE CACHE BOOL
90
+ set ( ENABLE_UNICODE FALSE CACHE BOOL
91
91
"Enable unicode/UCS4 support" )
92
92
if ( ENABLE_UNICODE )
93
93
try_run ( UCS4_TEST_RUNS UCS4_TEST_COMPILES
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ env = Environment()
19
19
if env ['FORTRAN' ] == 'gfortran' :
20
20
env = Environment (F90FLAGS = '-O2 -fbacktrace -g -Wall -Wextra -Wno-maybe-uninitialized -Wno-unused-function -pedantic -std=f2008 -J' ,)
21
21
elif 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' ,)
23
23
24
24
src = join ('src' ,'json_module.F90' )
25
25
ar = 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
79
79
# warning #7601: F2008 standard does not allow an internal procedure to be an actual argument procedure name. (R1214.4).
80
80
# In the context of F2008 this is an erroneous warning.
81
81
# 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'
83
83
# INTELCOMPILERFLAGS='-c -O2 -warn -traceback -stand f08 -assume protect_parens -assume buffered_io -check all'
84
84
85
85
GNUCOMPILERFLAGS=' -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 )
17
17
# warning #7601: F2008 standard does not allow an internal procedure to be an actual argument procedure
18
18
# name. (R1214.4). In the context of F2008 this is an erroneous warning.
19
19
# 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 " )
21
21
endif ()
22
22
if ( ENABLE_RUNTIME_CHECKS )
23
23
set ( CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -check all" )
You can’t perform that action at this time.
0 commit comments