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

DEAL_II_DEPRECATED compilation issues with Intel 18.0.3.20180410 and gcc 4.8.5 #7144

Closed
davydden opened this issue Sep 4, 2018 · 3 comments
Milestone

Comments

@davydden
Copy link
Contributor

davydden commented Sep 4, 2018

In file included from /home/woody/iwtm/iwtm108/deal.ii/include/deal.II/dofs/dof_handler.h(30),
                 from /home/woody/iwtm/iwtm108/deal.ii/source/dofs/block_info.cc(17):
/home/woody/iwtm/iwtm108/deal.ii/include/deal.II/dofs/deprecated_function_map.h(80): error: a class-qualified name is required
    using type DEAL_II_DEPRECATED =
          ^

In file included from /home/woody/iwtm/iwtm108/deal.ii/include/deal.II/dofs/dof_handler.h(30),
                 from /home/woody/iwtm/iwtm108/deal.ii/source/dofs/block_info.cc(17):
/home/woody/iwtm/iwtm108/deal.ii/include/deal.II/dofs/deprecated_function_map.h(80): error: expected a ";"
    using type DEAL_II_DEPRECATED =
               ^

In file included from /home/woody/iwtm/iwtm108/deal.ii/source/lac/affine_constraints.cc(16):
/home/woody/iwtm/iwtm108/deal.ii/include/deal.II/lac/affine_constraints.h(65): error: identifier "ConstraintMatrix" is undefined
  using ConstraintMatrix DEAL_II_DEPRECATED = AffineConstraints<double>;
        ^

In file included from /home/woody/iwtm/iwtm108/deal.ii/source/lac/affine_constraints.cc(16):
/home/woody/iwtm/iwtm108/deal.ii/include/deal.II/lac/affine_constraints.h(65): error: expected a ";"
  using ConstraintMatrix DEAL_II_DEPRECATED = AffineConstraints<double>;
                         ^

and so on.

@davydden davydden added this to the Release 9.1 milestone Sep 4, 2018
@masterleinad
Copy link
Member

We are checking for this kind of use of deprecated in cmake/checks/check_02_compiler_features.cmake already. What is the value of DEAL_II_DEPRECATED?

@davydden
Copy link
Contributor Author

davydden commented Sep 4, 2018

What is the value of DEAL_II_DEPRECATED?

hm, I don't see it anywhere. It should be in detailed.log, right?

EDIT: found it:

#define DEAL_II_DEPRECATED  

@davydden
Copy link
Contributor Author

davydden commented Sep 4, 2018

it was CMake cache thing, after removing it and re-configuring, it works.

@davydden davydden closed this as completed Sep 4, 2018
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

No branches or pull requests

2 participants