this does not pose me a problem ( for 1 and 0) but if i change it this wayCode:#define SOMEPRINTF 1 ? (void)0 : printf // 0 to enable and 1 to disable
the compiler shows me error : called object is not a functionCode:#define SOMEPRINTF 1 ? printf : (void)0 // 1 to enable and 0 to disable
i am using gcc 2.95




Reply With Quote