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

paul at scruby dot com gcc-bugzilla@gcc.gnu.org
Thu May 8 13:13:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59472

Paul Scruby <paul at scruby dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paul at scruby dot com

--- Comment #2 from Paul Scruby <paul at scruby dot com> ---
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



More information about the Gcc-bugs mailing list