https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90397
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Fri May 10 22:23:10 2019 New Revision: 271083 URL: https://gcc.gnu.org/viewcvs?rev=271083&root=gcc&view=rev Log: PR libstdc++/90397 fix std::variant friend declaration Clang diagnoses insert inconsistent noexcept-specifier on the friend declaration of __get. Add . PR libstdc++/90397 * include/std/variant (variant): Add noexcept to friend declaration. Modified: branches/gcc-9-branch/libstdc++-v3/ChangeLog branches/gcc-9-branch/libstdc++-v3/include/std/variant