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

Remove duplicate save attribute. #6

Merged
merged 1 commit into from
Apr 14, 2014

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented Apr 14, 2014

There is already a blanket save statement for the entire module, so these save attributes induce a warning on newer compilers.

For example, with gfortran,

axisem/SOLVER/nc_routines.F90:107.36:
    integer, save       :: ndim_disp !< 2 for monopole, 3 for rest
                                    1
Warning: Legacy Extension: Duplicate SAVE attribute specified at (1)

There is already a blanket save statement for the entire module, so
these save attributes induce a warning on newer compilers.
@martinvandriel
Copy link
Contributor

Know I understand these warnings, cool, thanks for reporting.

martinvandriel added a commit that referenced this pull request Apr 14, 2014
@martinvandriel martinvandriel merged commit 132718c into geodynamics:master Apr 14, 2014
@QuLogic QuLogic deleted the remove-duplicate-save branch April 14, 2014 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants