Re: [Tinycc-devel] tcc optional argument as in C++
From:
Lioric Z3
Subject:
Re: [Tinycc-devel] tcc optional argument as in C++
Date:
Tue, 21 Feb 2012 00:07:05 -0500
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, address@hidden <address@hidden> 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
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel