Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: clang 15 defines __GXX_RTTI but doesn't have cxxabi.h #1435

Open
drussel opened this issue Apr 25, 2023 · 1 comment
Open

[Bug]: clang 15 defines __GXX_RTTI but doesn't have cxxabi.h #1435

drussel opened this issue Apr 25, 2023 · 1 comment

Comments

@drussel
Copy link

drussel commented Apr 25, 2023

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.

@paulocoutinhox
Copy link

Hi,

It can be related?
paulocoutinhox/pdfium-lib#102

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants