Do C dialect options -std=* affect the ABI?
Sebastian Huber
sebastian.huber@embedded-brains.de
Tue May 8 11:36:00 GMT 2018
On 08/05/18 13:04, Jonathan Wakely wrote:
> On 8 May 2018 at 12:01, Sebastian Huber
> <sebastian.huber@embedded-brains.de> wrote:
>> On 08/05/18 12:40, Jonathan Wakely wrote:
>>> On 8 May 2018 at 06:32, Sebastian Huber wrote:
>>>> Hello,
>>>>
>>>> do the C dialect options -std=* affect the ABI?
>>>>
>>>> https://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html
>>>>
>>>> For example can I safely link objects produced with different C++
>>>> standard
>>>> versions to produce an executable?
>>> You started out asking about C but then finish asking about C++, which
>>> are you asking about?
>> The C++ standard options are also documented on this page. In the text you
>> have:
>>
>> "The following options control the dialect of C (or languages derived from
>> C, such as C++, Objective-C and Objective-C++) that the compiler accepts:"
> Yes, but you specifically said "C dialect options" which makes it
> ambiguous whether you're asking about the options for C++ that are
> documented in the section called "C dialect options" or asking about
> the options for C.
>
I am interested in the ABI influence of all the -std=* options. I would
like to create a documentation patch.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the Gcc-help
mailing list