-ffree-line-length-none
should be used by default in tests
#1017
Labels
enhancement
New feature or request
-ffree-line-length-none
should be used by default in tests
#1017
Description
Quite often I use cpp macro for defining assert functions in unit tests. Every now and then I end up we a very long line and because this is not possible to use
&
continuation line syntax in preprocessed macros, there is not much I can do about except passing the flag -ffree-line-length-none to gfortran.Possible Solution
I would simply propose that this flag is used by default when running
fpm test
just not to see the messageError: Line truncated at (1) [-Werror=line-truncation]
Additional Information
No response
The text was updated successfully, but these errors were encountered: