tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] minor patches + standard compliant inline functions


From: Petr Skočík
Subject: [Tinycc-devel] minor patches + standard compliant inline functions
Date: Tue, 11 Jun 2019 16:40:39 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1

Hi,

I've pushed a bunch of patches to tinycc.


The first three:

- turn -fdollars-in-identifiers on by default   (gcc/clang do it too)
- in c11 mode, skip __STDC_ISO_10646__  (was causing a redefinition
warning in simple hello world programs compiled on linux with -std=c11)
- make -h|-hh succeed if the output is successfully written

are small and should be noncontroversial.

The last one is largish and I welcome any input on it.

The issue was that tinycc's implementation of non-static inline
functions was very much nonconforming in terms of when
visible symbols would or would not be created. By looking at the at the
mailing list archive, it looks like it was discussed in 2013 but nothing
was done about it.

The supplied patch should be fixing it.

Best regards,

Petr Skocik



reply via email to

[Prev in Thread] Current Thread [Next in Thread]