Problem:
In GCC, the above test code can be compiled successfully. It seems that
GCC skip the code after '>'.
In TCC, it don't check the code after '>', just take the code as normal code.
According to C99, whitespace is the only character that can appear after
'>'. Comments are take as whitespace.
--------------------------------------------------------------------------------
Fix:
It seems that the following code need be added to near line 1374 in
"tccpp.c".
while (tok != TOK_LINEFEED)
next_nomacro();
| 837806295 837806295@qq.com |