-
-
Notifications
You must be signed in to change notification settings - Fork 264
convert ‘bool’ to ‘clang::TemplateName::Qualified’not allowed in latest GCC #458
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
When compiling with latest GCC-11.2.0 with -std=c++20, there is error like convert ‘bool’ to ‘clang::TemplateName::Qualified’ error
It is better just leave it for default.
diff --git a/InsightsHelpers.cpp b/InsightsHelpers.cpp
index d08157f..da68e0e 100644
--- a/InsightsHelpers.cpp
+++ b/InsightsHelpers.cpp
@@ -1378,7 +1378,8 @@ void StringStream::Print(const TemplateArgument& arg)
void StringStream::Print(const TemplateSpecializationType& arg)
{
- arg.getTemplateName().print(*this, CppInsightsPrintingPolicy{}, true);
+ //arg.getTemplateName().print(*this, CppInsightsPrintingPolicy{}, true);
+ arg.getTemplateName().print(*this, CppInsightsPrintingPolicy{});
}
//-----------------------------------------------------------------------------
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working