Linux / UNIX Tech Support Forum
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, ## ...
|
|||||||
| Coding in General Discussion on PHP/Perl/Python/Ruby/GNU C or C++. MySQL, PgSQL and (X)HTML or any other programming languages you want. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi ,
below macro defination works fine with .cpp file and gives me error with .c #define DLOG(fmt,args...) printf(fmt, ## args) can anybody tell me the reason for such behaviour . I am using GCC 3.0(gcc3/g++3) compiler. thanks |
| Sponsored Links | ||
|
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|