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
{{ message }}
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.
What i believe is the cause of the error: StatsObject<N>
I've never seen anyone repeat the template parameter in the declaration of the constructor like this before and believe this to be a syntax error that was previously not being caught by GCC.
When compiling under GCC 11.2.0 with
-std=c++20
the following line causes an error.opencensus-cpp/opencensus/common/internal/stats_object.h
Line 81 in afe0460
The specific error:
What i believe is the cause of the error:
StatsObject<N>
I've never seen anyone repeat the template parameter in the declaration of the constructor like this before and believe this to be a syntax error that was previously not being caught by GCC.
The above change solves the build issue for me.
Created a patch #466
The text was updated successfully, but these errors were encountered: