Take a look at the following code: ``` #define CALL(f, ...) f(__VA_ARGS__) #define CONST() 123
// error: macro 'CONST' used with too many args CALL(CONST, ) ``` But `CONST()` work as expected. I think it's a bug because both `CONST()` and `f(__VA_ARGS__)` are identical calls, where `__VA_ARGS__` stands for the empty preprocessor lexeme, as in `CONST()`. ``` $ tcc -v tcc version 0.9.27 (x86_64 Linux) ``` (I am not sure where to post bugs, please let me know if this isn't the place.) _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
