Re: [PATCH] libstdc++: Shut up -Wattribute-alias warning [PR109694]

2023-05-02 Thread Jonathan Wakely via Gcc-patches
On Tue, 2 May 2023 at 09:42, Jakub Jelinek wrote: > Hi! > > I've followed what other files do, using attribute alias with not really > matching function type (after all, it isn't really possible when it is a > constructor), but seems I've missed it warns: > ../../../../../libstdc++-v3/src/c++98/io

[PATCH] libstdc++: Shut up -Wattribute-alias warning [PR109694]

2023-05-02 Thread Jakub Jelinek via Gcc-patches
Hi! I've followed what other files do, using attribute alias with not really matching function type (after all, it isn't really possible when it is a constructor), but seems I've missed it warns: ../../../../../libstdc++-v3/src/c++98/ios_init.cc:203:8: warning: ‘void std::ios_base_library_init()’