[Mplayer-dev-eng] GCC 3.0 warnings, possible fixes
André Dahlqvist
andre.dahlqvist at telia.com
Tue Jun 19 22:17:21 CEST 2001
Hi
When compiling current CVS with gcc 3.0 I got these warnings:
cfgparser.c:408: warning: deprecated use of label at end of compound statement
wn32.c:1134:15: warning: multi-line string literals are deprecated
win32.c:1138:15: warning: multi-line string literals are deprecated
win32.c:1661:15: warning: multi-line string literals are deprecated
win32.c:1665:15: warning: multi-line string literals are deprecated
I think the first one can be fixed with this patch:
Index: cfgparser.c
===================================================================
RCS file: /cvsroot/mplayer/main/cfgparser.c,v
retrieving revision 1.23
diff -u -r1.23 cfgparser.c
--- cfgparser.c 2001/06/11 00:12:09 1.23
+++ cfgparser.c 2001/06/19 20:06:42
@@ -405,6 +405,7 @@
/* break */
}
nextline:
+ ;
}
free(line);
I think the rest of the warnings can be fixed by just splitting up the
strings, and adding \n at the end of the lines.
--
André Dahlqvist <andre.dahlqvist at telia.com>
_______________________________________________
Mplayer-dev-eng mailing list
Mplayer-dev-eng at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng
More information about the MPlayer-dev-eng
mailing list