[GRASS5] Re: 5.0.3 release candidate 1
Glynn Clements
glynn.clements at virgin.net
Mon Aug 25 08:36:53 EDT 2003
Markus Neteler wrote:
> > make[1]: Entering directory `/usr/src/grass5source/grass-5.0.3rc1/src.garden/grass.postgresql/g.column.pg'
> > gcc -I/usr/src/grass5source/grass-5.0.3rc1/src/include -O3 -march=i686 -Wall -I/usr/include/postgresql -Wall -DPACKAGE=\""g.column.pg"\" -c main.c -o OBJ.i686-pc-linux-gnu/main.o
> > main.c:83:30: missing terminating " character
> > main.c: In function `main':
> > main.c:84: error: syntax error before "a"
> > main.c:85: error: stray '\' in program
Fixed in HEAD.
> > 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)) ;
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-dev
mailing list