Replies: 3 comments 1 reply
-
On the other hand, this might be dangerous, if people start relying upon directives like (see #434):
which could result in trouble, if used outside of the (Specifically, for the implicit real kind, the right thing to do would be to push for a standard way to choose the default precision within a scoping unit, e.g. j3-fortran/fortran_proposals#78) |
Beta Was this translation helpful? Give feedback.
-
A few related issues:
|
Beta Was this translation helpful? Give feedback.
-
I think this is a take in the wrong direction. Enabling an option like |
Beta Was this translation helpful? Give feedback.
-
Would there be any interest in coming up with some comment-based directives to suppress compiler warnings? The idea arose from fortran-lang/stdlib#313 (review)
Even for correct use of the implicit integer to real conversion, the compiler might produce a lot of warnings like:
I was wondering if this could be turned off using some comment based input directives to fpm like
Of course, this should only be done, once the code has been thoroughly tested, and it has been verified the warnings are redundant.
Beta Was this translation helpful? Give feedback.
All reactions