[Bug libstdc++/90397] Incompatibility with clang-tidy on std::variant

2019-06-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90397 --- Comment #8 from Jonathan Wakely --- G++ allowed it because the mismatch was in a system header. If you use -Wsystem-headers then GCC 9.1 gives a warning about it: /xhome/jwakely/gcc/9.1.0/include/c++/9.1.0/variant: In instantiation of 'class

[Bug libstdc++/90397] Incompatibility with clang-tidy on std::variant

2019-06-11 Thread dushistov at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90397 Evgeniy Dushistov changed: What|Removed |Added CC||dushistov at mail dot ru --- Comment

[Bug libstdc++/90397] Incompatibility with clang-tidy on std::variant

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

[Bug libstdc++/90397] Incompatibility with clang-tidy on std::variant

2019-05-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90397 --- Comment #5 from Jonathan Wakely --- 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 i

[Bug libstdc++/90397] Incompatibility with clang-tidy on std::variant

2019-05-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90397 --- Comment #4 from Jonathan Wakely --- Author: redi Date: Fri May 10 21:41:19 2019 New Revision: 271079 URL: https://gcc.gnu.org/viewcvs?rev=271079&root=gcc&view=rev Log: PR libstdc++/90397 fix std::variant friend declarations Clang diagnoses

[Bug libstdc++/90397] Incompatibility with clang-tidy on std::variant

2019-05-08 Thread philip.salvaggio at mac dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90397 --- Comment #3 from philip.salvaggio at mac dot com --- Yep! I added the noexcept on there on my local version and that also resolved the issue.