[Bug 280382] '#include <algorithm>' fails when -std=c++98 and -pedantic-errors options are specified (found on the devel/benchmark port)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 20 Jul 2024 12:14:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280382 Mark Millard <marklmi26-fbsd@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marklmi26-fbsd@yahoo.com --- Comment #1 from Mark Millard <marklmi26-fbsd@yahoo.com> --- (In reply to Yuri Victorovich from comment #0) https://libcxx.llvm.org reports: QUOTE libc++ is a new implementation of the C++ standard library, targeting C++11 and above. Features and Goals Correctness as defined by the C++11 standard. END QUOTE So: Not a bug. FreeBSD gave up on C++98 when it decided to be based, in part, on libc++ . Some notes on interpreting this: Listing everything not supported is highly unusual and would be a big effort. Normally if support is not mentioned, it is not supported and what is explicitly supported is explicitly mentioned. The lack of a page https://libcxx.llvm.org/DesignDocs/ExtendedCXX98Support.html is also highly suggestive of lack of C++98 support. Even https://libcxx.llvm.org/DesignDocs/ExtendedCXX03Support.html says for C++03: QUOTE Clang provides a large subset of C++11 in C++03 as an extension. END QUOTE (Again, an explicit mention of the partial support.) But C++03 is after C++ 98 as well and that note does not imply anything for the C++98 status. -- You are receiving this mail because: You are the assignee for the bug.