-
Hey, the first thing I've noticed with my first "Hello World!" program in fortran is that for some reason the editor places a |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
That is a |
Beta Was this translation helpful? Give feedback.
-
You can use cmake. Fortls should only provide autocomplete. file(GLOB_RECURSE SOURCE_FILES *.f90)
message("Source files: ${SOURCE_FILES}")
add_executable(${PROJECT_NAME} ${SOURCE_FILES})
target_compile_options(${PROJECT_NAME}
PRIVATE
-Wno-line-truncation
-Wno-unused-variable
-Wno-integer-division
-Wno-conversion
-Wno-tabs
-ffree-line-length-none
) |
Beta Was this translation helpful? Give feedback.
That is a
gfortran
warning coming from the linter (I assume you are using VS Code as you editor) notfortls
i.e. this repo. Tabs in Fortran are not considered part of the standard, use spaces instead or disable the warning by-Wno-tabs