abseil-cpp
abseil-cpp copied to clipboard
[Bug]: clang 15 defines `__GXX_RTTI` but doesn't have `cxxabi.h`
Describe the issue
In layout.h we have
if defined(__GXX_RTTI)
#define ABSL_INTERNAL_HAS_CXA_DEMANGLE
#endif
#ifdef ABSL_INTERNAL_HAS_CXA_DEMANGLE
#include <cxxabi.h>
#endif
which then falls over since cxxabi.h doesn't exist.
Steps to reproduce the problem
Build run clang-tidy version 15 or 16 (or presumably build with the corresponding clang version).
What version of Abseil are you using?
20230125.2
What operating system and version are you using?
Mac OS 13
What compiler and version are you using?
clang-tidy 15/16
What build system are you using?
cmake 3.26.3
Additional context
Using the conan package.
Hi,
It can be related? https://github.com/paulocoutinhox/pdfium-lib/issues/102
Thanks.