Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
COMP: non-C-compatible type given name for linkage
Resolves #1711 ITK/Modules/Core/Common/test/itkTimeStampTest.cxx:27:35: warning: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Wnon-c-typedef-for-linkage] using TimeStampTestHelper = struct ^ TimeStampTestHelper Due to a recent (but retroactive) C++ rule change, only sufficiently C-compatible classes are permitted to be given a typedef name for linkage purposes. Add an enabled-by-default warning for these cases, and rephrase existing error for the case where we encounter the typedef name for linkage after we've already computed and used a wrong linkage in terms of the new rule.
- Loading branch information