Bug#812685: mapserver: conflicting types of variable msyystring_icase
Michael Tautschnig
mt at debian.org
Mon Jan 25 21:14:53 UTC 2016
Package: mapserver
Version: 7.0.0-8
Usertags: goto-cc
Tags: patch
During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error. Please note that we
use our research compiler tool-chain (using tools from the cbmc package), which
permits extended reporting on type inconsistencies at link time.
mapfile.c line 65: error: conflicting types for variable `msyystring_icase'
old definition in module `maplexer' file maplexer.l line 51
signed int
new definition in module `mapfile' file mapfile.c line 65
char
Depending on endianness of the platform, the lexer may use the wrong byte of
msyystring_icase. The attached patch fixes this problem.
Best,
Michael
-------------- next part --------------
diff -urN a/mapfile.c b/mapfile.c
--- a/mapfile.c 2015-07-24 08:59:36.000000000 +0100
+++ b/mapfile.c 2016-01-25 20:26:37.000000000 +0000
@@ -62,7 +62,7 @@
extern char *msyybasepath;
extern int msyyreturncomments;
extern char *msyystring_buffer;
-extern char msyystring_icase;
+extern int msyystring_icase;
extern int loadSymbol(symbolObj *s, char *symbolpath); /* in mapsymbol.c */
extern void writeSymbol(symbolObj *s, FILE *stream); /* in mapsymbol.c */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20160125/bbc1a81e/attachment.sig>
More information about the Pkg-grass-devel
mailing list