Kim Gräsman via llvm-dev
2021-Jan-16 10:42 UTC
[llvm-dev] [cmake] Third-party tools C++ standard requirements
Hi all, A bug was recently opened on IWYU where the reporter was packaging IWYU for Homebrew on Mac [1]. For some reason, their Apple Clang system compiler defaulted to a C++ standard that fails to parse the LLVM headers (details in the first page of the bug report) -- from cursory inspection it looks like c++03. I wonder if there should be a way for LLVM's CMake package to announce its '-std' requirements to embedders? We could add an explicit '-std' switch in IWYU's build system, of course, but I figured this might be a recurring problem for tools. Any thoughts? Thanks, - Kim [1] https://github.com/include-what-you-use/include-what-you-use/issues/867 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210116/6a7bc69f/attachment.html>