[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-dev] Variadic macro support in CDT 4.0
|
I believe we do support __VA_ARGS__ at certain levels. Raise a bug you
something isn't working for you.
Thanks,
Doug Schaefer, QNX Software Systems
Eclipse CDT Project Lead, http://cdtdoug.blogspot.com
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On
> Behalf Of Stefan Bucur
> Sent: Thursday, May 10, 2007 2:27 PM
> To: cdt-dev@xxxxxxxxxxx
> Subject: [cdt-dev] Variadic macro support in CDT 4.0
>
> Hello!
>
> I'm using CDT 4.0 for developing a homework for school and I recently
> run into the following issue: when I use variadic macros (variable
> length macros), the editor shows to be an error in certain situations,
> although GCC compiles the code successfully. You have a sample of the
> relevant code below:
>
>
> #define DEBUG_MSG(...) fprintf(stderr,"DEBUG: " __VA_ARGS__)
>
> [... some code between ...]
>
> DEBUG_MSG("Querying server %s...\n", inet_ntoa(crServer->address));
>
>
> The question is whether this is a language feature not currently
> supported or a bug I ran into accidentally?
>
> Thanks!
>
> Stefan Bucur
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev