Re: Usage of attribute

2004-10-31 Thread Mark Wielaard
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

Usage of attribute

2004-10-29 Thread Dr. Torsten Rupp
Dear Classpath-members, after my last update of the Classpath sources I detected some parameters of functions which are unused and are marked by __attribute__ ((__unused__) Unfortunatelly this is not portable to some non-GNU compilers (as I know... at least I have one C-compiler for ARM which

Re: Usage of attribute

2004-10-29 Thread Tom Tromey
Torsten == Torsten Rupp [EMAIL PROTECTED] writes: Torsten Unfortunatelly this is not portable to some non-GNU compilers (as I Torsten know... at least I have one C-compiler for ARM which can not handle Torsten this). Can we use a macro for this? E. g. Torsten #ifdef __GNUC__ Torsten#define