Hi,

compiling relbranch70 (likely the same on trunk), I got

mapcalc.tab.c:1995:18: warning: passing 'const char *' to parameter of
type 'char *' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
        yyerror (yymsgp);
                 ^~~~~~
mapcalc.y:78:20: note: passing argument to parameter 's' here
void yyerror(char *s);
                   ^
mapcalc.l:218:38: warning: field width should have type 'int', but
argument has type 'yy_size_t' (aka 'unsigned long') [-Wformat]
                        fprintf(stderr, "syntax error: '%*s'\n",
yyleng, yytext);
                                                        ~~^      ~~~~~~
1 warning generated.
1 warning generated.

Not sure if and how to fix that.

Markus
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to