[Bug libstdc++/59472] Many warnings "type of 'X' does not match original declaration" when linking with libstdc++ static library compiled with -flto

2018-10-29 Thread paul at scruby dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59472

--- Comment #7 from Paul Scruby  ---
Feel free to close this ticket.

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59472
>
> --- Comment #6 from Eric Gallager  ---
> (In reply to Paul Scruby from comment #5)
>> Is there a patch to fix or suppress the warnings when link-time
>> optimizing
>> to libstdc++.a ?  I'm using gcc4.8.2, but I'm happy to upgrade to gcc4.9
>> if
>> this release is more likely to get fixed first?
>
> Well both those branches are closed now; could you upgrade to something
> more
> recent instead?
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.

[Bug libstdc++/59472] Many warnings "type of 'X' does not match original declaration" when linking with libstdc++ static library compiled with -flto

2014-05-08 Thread paul at scruby dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59472

Paul Scruby  changed:

   What|Removed |Added

 CC||paul at scruby dot com

--- Comment #2 from Paul Scruby  ---
I have the same issue with my build of gcc4.8.2

I built libstdc++-v3 with '-flto -O3'.  Now when my makefiles link to libstdc++
statically eg '-static-libstdc++ -flto -O3 -fuse-linker-plugin', I see these
warnings too.

Thanks,

Paul


[Bug libstdc++/59472] Many warnings "type of 'X' does not match original declaration" when linking with libstdc++ static library compiled with -flto

2014-06-24 Thread paul at scruby dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59472

--- Comment #5 from Paul Scruby  ---
Is there a patch to fix or suppress the warnings when link-time optimizing to
libstdc++.a ?  I'm using gcc4.8.2, but I'm happy to upgrade to gcc4.9 if this
release is more likely to get fixed first?