From: Jonathan Wakely Sent: Friday, November 15, 2019 2:33 PM To: Smith-Rowland, Edward M Cc: libstdc++@gcc.gnu.org; gcc-patches@gcc.gnu.org Subject: Re: [External]_Re: Implement the part of C++20 p1032 Misc constexpr bits. Oh I see the problem, it's because I made synopsis_c++20.cc include synopsis_c++17.cc because I was lazy. How about leaving those declarations in synopsis_c++17.cc but guarding them with #if __cplusplus == 201703L and then adding the constexpr versions of them in synopsis_c++20.cc ? I think we should also add { target c++17_only } to synopsis_c++17.cc (which should have had a target selector anyway). Ok, Testing this...