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 macrosLioric-- Sent from my HP TouchPadOn Feb 20, 2012 8:37 AM, scx
> Date: Mon, 20 Feb 2012 07:31:04 -0800 (PST)
> From: scx31...@yahoo.com
> To: Tinycc-devel@nongnu.org
> Subject: Re: [Tinycc-devel] tcc optional argument as in C++
> Message-ID:
> <1329751864.73120.yahoomailclas...@web45307.mail.sp1.yahoo.com>
> Content-Type: tex
I have asked because there was one request on the mailing list to implement it
and i need this functionality too, just this.
In reality i don´t need it, but there are so many examples out of openCV
that uses just g++ instead of gcc because of the default arguments reason,
that i´m sure at least ev
David
Mertens
Sent: lundi 20 février 2012 15:13
To: tinycc-devel@nongnu.org
Subject: Re: [Tinycc-devel] tcc optional argument as in C++
I agree with Christian. However, if the need is great, why not write your
own compiler that uses libtcc and handles that preprocessing for you? You
could copy
age-
> From: tinycc-devel-bounces+eligis=orange...@nongnu.org
> [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On Behalf Of
> scx31...@yahoo.com
> Sent: lundi 20 février 2012 14:37
> To: Tinycc-devel@nongnu.org
> Subject: [Tinycc-devel] tcc optional argument as in C+
devel-bounces+eligis=orange...@nongnu.org
[mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On Behalf Of
scx31...@yahoo.com
Sent: lundi 20 février 2012 14:37
To: Tinycc-devel@nongnu.org
Subject: [Tinycc-devel] tcc optional argument as in C++
Hi,
i want/need to have optional argument dec
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 wit