On Tue, 8 May 2018, Sebastian Huber wrote:
do the C dialect options -std=* affect the ABI?
I don't believe they do (although they define different macros and who knows what happens in each platform's headers). But note that, for instance on solaris, at link-time, an object like values-xpg6.o will be linked that depends on the standard and determines the runtime behavior of several standard library functions. This cannot be set on a per object file basis.
-- Marc Glisse