tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] gcc/tcc nested macros difference


From: Sergey Korshunoff
Subject: Re: [Tinycc-devel] gcc/tcc nested macros difference
Date: Sun, 24 Apr 2016 18:20:42 +0300

> Look at the __ie16_to_cpu presence in the tcc output: nested macro was
not expanded

But if we define le16_to_cpu with arg, i.e
-#define le16_to_cpu __le16_to_cpu
+#define le16_to_cpu(x) __le16_to_cpu(x)

then tcc output is OK. I used gcc 3.4.6 and 4.1.2 to test. May be new
versions of the gcc behave like tcc.



reply via email to

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