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.
Piro should compile without error.
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
Steps to Reproduce
Try to compile Trilinos using Clang 6.0.0
- Relevant repo SHA1s:
- Relevant configure flags or configure script:
- Operating system and version:
- Compiler and TPL versions:
- Is blocked by
- Related to
- Part of
- Composed of
Albany nightly tests with Clang 6.0.0 started failing on Monday July 16. For reference on why Albany tests fail: @ikalash @jewatkins