[Bug libstdc++/89090] vector.tcc uses "if constexpr" in C++11 mode

2019-02-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89090 --- Comment #8 from Jonathan Wakely --- That doesn't work. I don't get to control every G++ users' build system.

[Bug libstdc++/89090] vector.tcc uses "if constexpr" in C++11 mode

2019-02-08 Thread csaba_22 at yahoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89090 --- Comment #7 from Csaba Ráduly --- Don't be sad, use -std=c++17 :)

[Bug libstdc++/89090] vector.tcc uses "if constexpr" in C++11 mode

2019-02-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89090 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/89090] vector.tcc uses "if constexpr" in C++11 mode

2019-02-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89090 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Tue Feb 5 14:44:56 2019 New Revision: 268536 URL: https://gcc.gnu.org/viewcvs?rev=268536=gcc=rev Log: PR libstdc++/89090 avoid C++17 features in C++11/C++14 code Although GCC and

[Bug libstdc++/89090] vector.tcc uses "if constexpr" in C++11 mode

2019-02-05 Thread csaba_22 at yahoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89090 --- Comment #4 from Csaba Ráduly --- svn blame vector.tcc claims that the inner, apparently redundant "#if __cplusplus >= 201103L" appeared at this change: r265485 | glisse | 2018-10-25 15:03:13 +0200 (Thu, 25 Oct 2018) | 24 lines Relocation

[Bug libstdc++/89090] vector.tcc uses "if constexpr" in C++11 mode

2019-01-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89090 --- Comment #3 from Jonathan Wakely --- (In reply to Csaba Ráduly from comment #2) > > Are you actually seeing a problem because of this? > > Not as such. What I did was to generate the pre-processed output, replace #s > with // (so the line

[Bug libstdc++/89090] vector.tcc uses "if constexpr" in C++11 mode

2019-01-29 Thread csaba_22 at yahoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89090 --- Comment #2 from Csaba Ráduly --- > Are you actually seeing a problem because of this? Not as such. What I did was to generate the pre-processed output, replace #s with // (so the line numbers are the raw ones for the raw preprocessed file)

[Bug libstdc++/89090] vector.tcc uses "if constexpr" in C++11 mode

2019-01-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89090 --- Comment #1 from Jonathan Wakely --- (In reply to Csaba Ráduly from comment #0) > The two nested "#if __cplusplus >= 201103L" checks are suspicious > (copy-paste error?) > Generating preprocessor output from a one-liner of #include with >

[Bug libstdc++/89090] vector.tcc uses "if constexpr" in C++11 mode

2019-01-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89090 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|