summaryrefslogtreecommitdiff
path: root/Help/guide/tutorial/Step5/MathFunctions/MathFunctions.h
diff options
context:
space:
mode:
authorDavid Truby <david.truby@gmail.com>2023-02-14 13:55:03 +0000
committerBrad King <brad.king@kitware.com>2023-02-14 09:22:12 -0500
commit3f1e58c5b988036563ccf3d5efed3161038206d5 (patch)
tree65411c60b69e4611d1473a9027f51c40dfc202d2 /Help/guide/tutorial/Step5/MathFunctions/MathFunctions.h
parentd18dd364d36fc4554c04d1c11e903817b0f5c73f (diff)
downloadcmake-3f1e58c5b988036563ccf3d5efed3161038206d5.tar.gz
LLVMFlang: Fix post-preprocess compile for fixed-form Fortran
LLVM Flang's preprocessor output is always valid fixed form Fortran with a fixed line length of 72. If an application tries to use fixed form with a different line length, this will fail in the post-preprocessing compilation step as they will pass a flag asking for a different fixed line length. To fix this we can pass -ffixed-line-length-72 to the post-preprocess compilation stage. This will be ignored when the input is free form Fortran, and force to a 72 line length when the input is fixed.
Diffstat (limited to 'Help/guide/tutorial/Step5/MathFunctions/MathFunctions.h')
0 files changed, 0 insertions, 0 deletions