Hi,

On Fri, 2004-10-29 at 17:52, Tom Tromey wrote:
> gtkpeer.h does this:
> 
> #ifndef __GNUC__
> #define __attribute__(x) /* nothing */
> #endif
> 
> Just go ahead and add this to whatever other header needs it.

jcl.h is probably included everywhere.

> Torsten> Another idea would be some construct of the form
> Torsten> if ((parameter)==(parameter));
> 
> IMO it is better to use attribute.  These little tricks have a way of
> breaking as compilers change.

Agreed. And I think it is more obscure than __attribute((__unused__)).

Cheers,

Mark

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

_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/classpath

Reply via email to