Replies: 1 comment 3 replies
-
@jacobwilliams Has this come up before in json-fortran? Thanks! |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I wanted to give a try to the library and I'm a bit stuck with a compilation problem:
I'm working on Windows with ifort19, I created a .bat file to set the environnement variables for ifort and HDF5, so far so good. when the compilation arrives to the json_kinds.F90 file I have the following warnings:
"build\dependencies\json-fortran\src\json_kinds.F90(16): warning #5117: Bad # preprocessor line"
"#ifdef USE_UCS4"
"-^"
"build\dependencies\json-fortran\src\json_kinds.F90(17): warning #5117: Bad # preprocessor line"
"# pragma push_macro("USE_UCS4")"
"--^"
...
(all lines up to 133)
Then the error:
build\dependencies\json-fortran\src\json_kinds.F90(87): error #6418: This name has already been assigned a data type. [RK]
integer,parameter,public :: RK = real64 !! Default real kind [8 bytes]
--------------------------------^
build\dependencies\json-fortran\src\json_kinds.F90(149): catastrophic error: Too many errors, exiting
compilation aborted for build\dependencies\json-fortran\src\json_kinds.F90 (code 1)
Compilation failed for object " build_dependencies_json-fortran_src_json_kinds.F90.o "
stopping due to failed compilation
STOP 1
Any clues ?
Thanks a lot
Beta Was this translation helpful? Give feedback.
All reactions