Skip to content

can't be compiled with clang20 from MSYS2 #174

@ognevny

Description

@ognevny

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Install MSYS2 and run CLANG64 shell
  2. Install required build dependencies
  3. Compile

Expected behavior
Successful compilation

Screenshots/Screencasts
libcxathrow compile errors:

../mesonlsp/src/libcxathrow/backtrace_execinfo.cpp:9:10: fatal error: 'execinfo.h' file not found
    9 | #include <execinfo.h>
      |          ^~~~~~~~~~~~
../mesonlsp/src/libcxathrow/shared.cpp:23:31: error: no type named '__class_type_info' in namespace '__cxxabiv1'
   23 |       dynamic_cast<const abi::__class_type_info *>(&typeid(std::exception));
      |                          ~~~~~^
../mesonlsp/src/libcxathrow/shared.cpp:24:45: error: no type named '__class_type_info' in namespace '__cxxabiv1'
   24 |   const auto *cti = dynamic_cast<const abi::__class_type_info *>(typeinfo);
      |                                        ~~~~~^

../mesonlsp/src/libcxathrow/shared.cpp:28:14: error: no member named '__dynamic_cast' in namespace '__cxxabiv1'
   28 |         abi::__dynamic_cast(thrownException, exc, cti, -1));
      |         ~~~~~^

System info

  • OS: Windows
  • Editor: -
  • Version: 4.3.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions