Stratimikos: "declaration shadows a typedef" warnings from Apple clang 10.0.0 #4300
Labels
ATDM Sev: Nonblocker
Problems with Trilinos that should not block ATDM APPs from getting updates
client: ATDM
Any issue primarily impacting the ATDM project
client: EMPIRE
All issues that most directly target the ATDM EMPIRE code
CLOSED_DUE_TO_INACTIVITY
Issue or PR has been closed by the GitHub Actions bot due to inactivity.
MARKED_FOR_CLOSURE
Issue or PR is marked for auto-closure by the GitHub Actions bot.
pkg: Stratimikos
@trilinos/stratimikos
Expectations
Builds with clang that use the
-Wshadow
flag should not emit warnings.Current Behavior
One warning is emitted by clang when building
BelosThyraAdapter.hpp
.Possible Solution
Since the shadowing typedef is identical to the shadowed typedef, likely the correct solution is simply to delete the shadowing typedef (delete line 301).
Environment
I'm building on a Mac using Apple clang 10.0.0.
The text was updated successfully, but these errors were encountered: