On Sat, 2008-10-11 at 15:54 +0000, walt wrote: [cut] > After expansion of the macro UNUSED) it looks like this on my gcc 4.1.2 > machine: > virtual void on_progress_step (Progress&, int percentage > __attribute__((unused))) { } > > The value of UNUSED seems to be compiler dependent, so maybe the old gcc > is making trouble for you. I'm curious if redefining UNUSED would get you > anywhere, e.g.: make -DUNUSED='' instead of just make.
The make program won't take -D as an option, as Phil found out. -D is an option GCC would take. It would need to be added to the Makefiles, but it is probably a better idea to add it to wherever the __attribute__ definition is in a header file. If there was interest in supporting pre-__attribute__ versions of GCC or non-GCC compilers, then the configure script would be the place to do it. -- Zan Lynx <[EMAIL PROTECTED]>
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Pan-users mailing list Pan-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/pan-users