C++98/C++11 ABI compatibility for gcc-4.7
Jeff Law
law@redhat.com
Thu Jun 14 20:38:00 GMT 2012
On 06/14/2012 02:33 PM, PaweÅ Sikora wrote:
>
> from the others side, someone can use -frecord-gcc-switches to detect mixed '-std=...'
> after final linking and report error in such cases.
Given that we have -fabi= to go along with the -std= options, ISTM that
we'd really be better off recording the ABI information in its own
section rather than pull it out of the options section and that doing so
should be the default rather than contingent on user options.
We'd then want some linker support to warn/error when attempts to
mix-n-match are made.
jeff
More information about the Gcc
mailing list