[Bug c++/90451] "static" function which added "deprecated" print deprecated warning >1 times (twice or even 3 times)

2019-05-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90451 --- Comment #2 from Jonathan Wakely --- For this reduced version (without the non-static function which is correctly only getting one warning): struct myclass{ [[deprecated("deprecated the static")]] static void static_deprecate() { }

[Bug c++/90451] "static" function which added "deprecated" print deprecated warning >1 times (twice or even 3 times)

2019-05-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90451 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic