Re: minimum required -std=c++NN?
Christoph Badura <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.toolchain |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jun 21, 2024 at 03:05:42PM -0400, Greg Troxel wrote: > C++20 is new, but that's how it is. As for that file vs all of gcc, > what does gcc's build instructions say? If they don't, they are > buggy. I've not found anything in the build instructions that mentions that file (or directory) specifically neither a mention of c++20. The build instructions say that gcc 12 needs a c++11 compiler. Apparently both gcc10 and clang 14 know enough about c++20 in c++11 mode to compile the file but warn about the c++20 constructs. That's why I'm asking. --chris