You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported by @agners on slack. Opening issue for @yyzhong-g to look into
gcc version 14.1.1 give warning and fails to compile on tip of tree after with the following error:
In file included from ../src/app/InteractionModelDelegatePointers.h:21,
from ../src/app/InteractionModelDelegatePointers.cpp:18:
../src/lib/support/static_support_smart_ptr.h:57:38: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
57 | CheckedGlobalInstanceReference<T>() = default;
| ^
../src/lib/support/static_support_smart_ptr.h:57:38: note: remove the '< >'
../src/lib/support/static_support_smart_ptr.h:92:31: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
92 | SimpleInstanceReference<T>() = default;
|
Reverting #33426, or adding -Wno-error=template-id-cdtor, makes the issue go away
The text was updated successfully, but these errors were encountered:
Reported by @agners on slack. Opening issue for @yyzhong-g to look into
gcc version 14.1.1 give warning and fails to compile on tip of tree after with the following error:
Reverting #33426, or adding
-Wno-error=template-id-cdtor
, makes the issue go awayThe text was updated successfully, but these errors were encountered: