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

clang 6 requires deprecation attribute in front #2209

Merged
merged 1 commit into from May 4, 2018

Conversation

tjhei
Copy link
Member

@tjhei tjhei commented May 4, 2018

Fixes errors like:

../include/aspect/simulator_access.h:762:35: error: 'deprecated'
attribute cannot be applied to types
      find_postprocessor () const DEAL_II_DEPRECATED;

Fixes errors like:
```
../include/aspect/simulator_access.h:762:35: error: 'deprecated'
attribute cannot be applied to types
      find_postprocessor () const DEAL_II_DEPRECATED;
```
@tjhei tjhei added this to the 2.0 milestone May 4, 2018
@gassmoeller
Copy link
Member

Ah weird. I know too little about the internals of compilers to understand this. Anyway, gcc does not seem to care (tests pass).

@gassmoeller gassmoeller merged commit 9a191b6 into geodynamics:master May 4, 2018
@tjhei tjhei deleted the clang6_deprecated_errors branch May 5, 2018 15:41
@tjhei
Copy link
Member Author

tjhei commented May 5, 2018

Anyway, gcc does not seem to care (tests pass).

Yeah, I don't know what is going on either. The standard allows any location...

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