pan-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pan-users] Re: Compile problems with pan-0.133


From: Zan Lynx
Subject: Re: [Pan-users] Re: Compile problems with pan-0.133
Date: Sat, 11 Oct 2008 18:59:39 -0600

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 <address@hidden>

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]