This is a discussion on Macros in C within the Coding in General forums, part of the Development/Scripting category; Hi , below macro defination works fine with .cpp file and gives me error with .c #define DLOG(fmt,args...) printf(fmt, ## ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
Hi ,
below macro defination works fine with .cpp file and gives me error with .c #define DLOG(fmt,args...) printf(fmt, ## arg ![]() can anybody tell me the reason for such behaviour . I am using GCC 3.0(gcc3/g++3) compiler. thanks |
| Sponsored Links | ||
|
|