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

fix compiler warning #916

Merged
merged 1 commit into from Jun 21, 2016
Merged

Conversation

tjhei
Copy link
Member

@tjhei tjhei commented Jun 20, 2016

this fixes
include/aspect/material_model/visco_plastic.h:162:20: warning: comma at end of enumerator list [-pedantic]

this fixes
include/aspect/material_model/visco_plastic.h:162:20: warning: comma at end of enumerator list [-pedantic]
@bangerth
Copy link
Contributor

Please merge once testers are happy.

The warming is stupid because the C standard says that this is valid as is :-]

@tjhei
Copy link
Member Author

tjhei commented Jun 21, 2016

Are you saying the compiler is too "pedantic"? 😀

@tjhei tjhei merged commit bbec9c1 into geodynamics:master Jun 21, 2016
@tjhei tjhei deleted the visco_plastic_warning branch June 21, 2016 17:51
@bangerth
Copy link
Contributor

Yes. It's warning about something that is perfectly legal, nor poor style, nor undefined behvior.

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