List Info

Thread: warnings in riff-media.c and gstaudioresample.c with mingw




warnings in riff-media.c and gstaudioresample.c with mingw
country flaguser name
France
2007-04-16 17:06:19
Hey,

in riff-media.c, there are some warnings:

riff-media.c:1181: warning: long unsigned int format, int
arg (arg 8)
riff-media.c:1181: warning: long unsigned int format, gint
arg (arg 9)
riff-media.c:1187: warning: long unsigned int format,
guint32 arg (arg 8)
riff-media.c:1187: warning: long unsigned int format, gint
arg (arg 9)
riff-media.c:1187: warning: long unsigned int format, gint
arg (arg 10)

for the 2 first and 2 last, you can replace %lu by %d (it
seems to work 
with strf->channels). 
For the last one, a cast is sufficient, imho.

in gstaudioresample.c:

gstaudioresample.c:567: warning: long int format, int arg
(arg 8)

using %d instead of %ld works.

There is also that unused  variable in the pango plugin:

gstclockoverlay.c: In function
`gst_clock_overlay_render_time':
gstclockoverlay.c:79: warning: unused variable `dummy'

otherwise, with the plugins that i selected,
gst-plugins-base compiles 
flawlessly.

Vincent Torri

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstream
er-devel

Re: warnings in riff-media.c and gstaudioresample.c with mingw
country flaguser name
Germany
2007-04-16 17:19:50
Am Dienstag, den 17.04.2007, 00:06 +0200 schrieb Vincent
Torri:
> Hey,
> 
> in riff-media.c, there are some warnings:
> 
> riff-media.c:1181: warning: long unsigned int format,
int arg (arg 8)
> riff-media.c:1181: warning: long unsigned int format,
gint arg (arg 9)
> riff-media.c:1187: warning: long unsigned int format,
guint32 arg (arg 8)
> riff-media.c:1187: warning: long unsigned int format,
gint arg (arg 9)
> riff-media.c:1187: warning: long unsigned int format,
gint arg (arg 10)
> 
> for the 2 first and 2 last, you can replace %lu by %d
(it seems to work 
> with strf->channels). 
> For the last one, a cast is sufficient, imho.
> 
> in gstaudioresample.c:
> 
> gstaudioresample.c:567: warning: long int format, int
arg (arg 8)
> 
> using %d instead of %ld works.
> 
> There is also that unused  variable in the pango
plugin:
> 
> gstclockoverlay.c: In function
`gst_clock_overlay_render_time':
> gstclockoverlay.c:79: warning: unused variable `dummy'
> 
> otherwise, with the plugins that i selected,
gst-plugins-base compiles 
> flawlessly.

Thanks for reporting. All those warnings are fixed now in
CVS.

Bye

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstream
er-devel

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )