Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check / eliminate warnings during compilation #28

Open
TillF opened this issue Mar 21, 2017 · 0 comments
Open

Check / eliminate warnings during compilation #28

TillF opened this issue Mar 21, 2017 · 0 comments

Comments

@TillF
Copy link
Owner

TillF commented Mar 21, 2017

compiled code with gfortran 4.8 with flags: (see Makefile or compiler documentation for descriptions)
-Wno-maybe-uninitialized
-Wtabs
-fbacktrace
-g
-fcheck=all
-Wall
-Wextra
-fimplicit-none
-ffree-line-length-none

warnings not yet fixed:

  • lots of warnings like: 'Warning: Equality comparison for REAL(4) at (1)'
    • not sure if this is relevant
    • quite new to gfortran (since 2012?) within -Wall flag
    • in internet: discussions whether this is important but it might cause unexpected behaviour
    • unexperienced programmers should resolve the warnings
  • some warnings like: 'Warning: Legacy Extension: Label at (1) is not in the same block as the GOTO statement at (2)'
    • not sure if this is relevant
  • hymo_all.f90 line 975: runtime warning: An array temporary was created
    • not sure what to do and what that means
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant