[GRASS5] Re: 5.0.3 release candidate 1

Markus Neteler neteler at itc.it
Tue Aug 26 05:16:52 EDT 2003


On Mon, Aug 25, 2003 at 01:36:53PM +0100, Glynn Clements wrote:
[...]
> > > ps -- can anything be done to get rid of all the 
> > > src/include/gis.h:35: warning: `GRASS_copyright' defined but not used
> > > warnings?
> 
> For gcc, use the "unused" attribute:
> 
> 	#ifndef __GNUC__
> 	#define __attribute__(x)
> 	#endif
> 	
> 	...
> 	
> 	static const char *GRASS_copyright = "GRASS GNU GPL licensed Software"
> 		__attribute__((unused)) ;

Will you apply this to CVS?

Markus




More information about the grass-dev mailing list