| Subject: | Re: Reference for new pedantic error? |
|---|---|
| From: | "Armel Asselin" |
| Date: | Fri, 16 Jun 2006 14:19:40 +0200 |
| Newsgroups: | gnu.gcc.help |
> do {
> printf("This is a string\n");
> } while(0);
the do { } while(0) macro as another BIG advantage: you can easily use it
inside if ( ) MACRO; else instr; notation this is the reason why most of the
macros which contains tests are turned into this construction
Armel
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Reference for new pedantic error?, Paul D.Smith |
|---|---|
| Next by Date: | automatic program name change, Yvan |
| Previous by Thread: | Reference for new pedantic error?, Paul D.Smith |
| Next by Thread: | automatic program name change, Yvan |
| Indexes: | [Date] [Thread] [Top] [All Lists] |