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