If by optional arguments you mean default arguments, then a third and easier option is to test using P99 macros (http://p99.gforge.inria.fr/), and making TCC preprocessor conforming (if needed)

P99 provides default arguments via its macros

Lioric



-- Sent from my HP TouchPad

On Feb 20, 2012 8:37 AM, [email protected] <[email protected]> wrote:
Hi,
i want/need to have optional argument declared inside the function
prototype only. I have two options for doing it. Write a preprocessor
that does the mod or modify the Tcc preprocessor and adding a commandline
switch to it in order to accept the relaxed parsing or if you think,
eventually without commandline switch. What solution do you prefer
that i implement ?



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

Reply via email to