-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[email protected] a écrit :
>  
> +#if LOCALDEBUG
> +#  define debug(s) printf s
> +#else
> +#  define debug(s)
> +#endif

I usually use something similar to :

#if 0
#define DEBUG(args...) printf(args)
#else
#define DEBUG(args...)
#endif

as this avoids the double parenthesing of the macro argument.

Christophe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iEYEARECAAYFAknjDqgACgkQJKRp+3pW946n9ACffL9OPlnXOuH3JPRivtfVYPBR
4s8An0cHMGfVmWeBpztMuhltQMrMalZC
=Ajhb
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to