This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++98/C++11 ABI compatibility for gcc-4.7


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]