Piro: Compile error with Clang 6 on Linux.
Created by: lxmota
Piro: Using Clang 6.0.0 on Linux fails to compile with the following error:
In file included from /home/amota/LCM/Trilinos/packages/piro/src/Piro_NOXSolver. cpp:43: /home/amota/LCM/Trilinos/packages/piro/src/Piro_NOXSolver_Def.hpp:139:44: error: use 'template' keyword to treat 'get' as a dependent template name int iteration = optimizationParams.get("Optimizer Iteration Number"); ^ template 1 error generated.
@trilinos/piro
Expectations
Piro should compile without error.
Current Behavior
Piro fails to compile.
Motivation and Context
Piro failing to compile prevents Trilinos to compile and install, leading to failure of Albany nightly tests for Clang 6.0.0 under Linux.
Definition of Done
Possible Solution
Steps to Reproduce
Try to compile Trilinos using Clang 6.0.0
Your Environment
- Relevant repo SHA1s:
- Relevant configure flags or configure script:
- Operating system and version:
- Compiler and TPL versions:
Related Issues
- Blocks
- Is blocked by
- Follows
- Precedes
- Related to
- Part of
- Composed of
Additional Information
Albany nightly tests with Clang 6.0.0 started failing on Monday July 16. For reference on why Albany tests fail: @ikalash @jewatkins