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
Confirmed. I don't think this specific instance of ABSL_ASSUME is needed anymore, but it is also possible to fix ABSL_ASSUME to work in this context under GCC.
Describe the issue
The following simple logging results in a compile error when
-c opt
is specified--copt="-DABSL_MIN_LOG_LEVEL=3"
is specifiedSteps to reproduce the problem
What version of Abseil are you using?
What operating system and version are you using?
What compiler and version are you using?
What build system are you using?
Additional context
The issue disappears if we remove
ABSL_ASSUME(...),
as follows.abseil-cpp/absl/log/internal/conditions.h
Lines 140 to 148 in d5bafc0
The issue is not reproducible with
Ubuntu clang version 18.1.3
. The issue is specific to GCC.The text was updated successfully, but these errors were encountered: