[MPlayer-cvslog] r27240 - trunk/configure
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Mon Jul 14 18:54:50 CEST 2008
On Mon, Jul 14, 2008 at 10:33:16AM +0200, Diego Biurrun wrote:
> On Sun, Jul 13, 2008 at 12:54:37PM +0200, Reimar Döffinger wrote:
> > On Sun, Jul 13, 2008 at 12:49:16PM +0200, Diego Biurrun wrote:
> > > > Could you please post a few of the warnings you where trying to fix. There
> > > > may be a more correct and clean way to get rid of them.
> > >
> > > Warnings like the following, there was a handful of them:
> > >
> > > libmpcodecs/ad_libvorbis.c: In function 'read_vorbis_comment':
> > > libmpcodecs/ad_libvorbis.c:48: warning: implicit declaration of function 'vsscanf'
> >
> > Well, at least my man page suggests these solutions to that:
> > "_XOPEN_SOURCE >= 600 || _ISOC99_SOURCE; or cc -std=c99"
> > at least strictly speaking, -std=gnu99 is not among the recommended
> > solutions. In addition, -D_ISOC99_SOURCE would work in all compilers,
> > not just gcc (though ICC probably supports it anyway and no other
> > compiler is supported. Still...).
>
> Which manual page is that?
man vsprintf
Linux Programmer’s Manual
This page is part of release 2.80 of the Linux man-pages project.
It does not exactly suggest these solutions, but more precisely says:
" Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
snprintf(), vsnprintf(): _BSD_SOURCE || _XOPEN_SOURCE >= 500 || _ISOC99_SOURCE; or cc -std=c99
"
Greetings,
Reimar Döffinger
More information about the MPlayer-cvslog
mailing list