Hello,

About TCC inline functions, the default storage class is extern, is it a choice ?
Normally an inline must be locally defined ?

In my code I have several c sources sharing a .h where an inline function code is declared.
Then at link it produce an error (error: 'func' defined twice").

Could it be a good idea to define default inline storage class as static in TCC ?

then
inline proc => static
static inline => static
extern inline => extern , export symbol

Thanks
Pierre



_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to