https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276738
--- Comment #2 from Henri Menke <[email protected]> --- Created attachment 248087 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=248087&action=edit Dockerfile Thanks for taking a look. While the documentation states that it targets mainly C++11 and above it doesn't say anywhere explicitly that C++98 is unsupported. In fact, there is a subpage on the extended C++03 support in libc++: https://libcxx.llvm.org/DesignDocs/ExtendedCXX03Support.html The reason why I believe that this is a bug in FreeBSD, is that using upstream clang-17 with the exact same example on a Linux system does not produce the error (see Dockerfile attached). Finally I'd like to point out that this problem has been reported on other issue trackers as well: https://github.com/google/benchmark/issues/1593 https://github.com/Mbed-TLS/mbedtls/issues/3693 https://stackoverflow.com/questions/70848614/getting-static-assert-is-a-c11-specific-feature-with-std-c99-on-freebsd However, if you decide that C++98 with libc++ is unsupported on FreeBSD, please patch clang to throw an appropriate error message. -- You are receiving this mail because: You are the assignee for the bug.
