[Development Experience] Non standard C++23 #1221
-
Compiles just fineAs stated on the title, this is a DX issue. Everything compiles just fine and working as intended. It's just the red squiggly line that annoys me during development. tl;dr: Some
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Paging our C++ expert @chris-durand… Our reference compiler is GCC12 from ARM which comes with a libstdc++ (we also have our own for avr-gcc).
It could be nice to have a better syntax check in our CI, however, since we're using GCC to compile, I'm not entirely sure how compatible a LLVM solution would be (as you discovered the compile flags are a little incompatible). If you can get it into our CI support for clangd will be enforceable, but if it involves too much manual labor, then probably not. We're just a small group of volunteers here, there's no corporate support behind modm. I would support adding LLVM compiler support though! To my knowledge ARM does not actively develop on GCC anymore, only maintains upstream support. They put all their new fancy stuff into LLVM now. |
Beta Was this translation helpful? Give feedback.
Paging our C++ expert @chris-durand…
Our reference compiler is GCC12 from ARM which comes with a libstdc++ (we also have our own for avr-gcc).
Generally if the CI fails on a PR then we check what's wrong, but clangd is not part of our CI, so this is the first time I'm hearing that
std::pow
not being constexpr could be a problem 😜.It could be nice to have a better syntax check in our CI, however, since we're using GCC to compile, I'm not entirely sure how compatible a LLVM solution would be (as you discovered the compile flags are a little incompatible). If you can get it into our CI support for clangd will be enforceabl…