Re: [AD] TRACE()

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> Said macro is defined as follows:
>
>    #define TRACE 1 ? (void)0 : printf
>
> Apparently, the Intel C++ compiler reports a warning with this. I propose
> the following change:
>
>    #define TRACE 1 ? (void)0 : (void)printf

1. We don't have such a macro. Ours is defined as:

AL_PRINTFUNC(void, al_trace, (AL_CONST char *msg, ...), 1, 2);

#define TRACE                 1 ? (void) 0 : al_trace

2. ICC is not officially supported by Allegro.

-- 
Eric Botcazou



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/