[MPlayer-dev-eng] swab is in string.h on win32 and declaration conflicts

Gianluigi Tiesi mplayer at netfarm.it
Tue May 24 02:05:07 CEST 2011


On Mon, May 23, 2011 at 03:05:20PM +0300, Ivan Kalvachev wrote:
> On 5/22/11, Diego Biurrun <diego at biurrun.de> wrote:
> > On Sat, May 21, 2011 at 01:25:05AM +0200, Gianluigi Tiesi wrote:
> >> On Sat, May 21, 2011 at 12:36:37AM +0300, Ivan Kalvachev wrote:
> >> > On 5/18/11, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> >> > > Gianluigi Tiesi <mplayer <at> netfarm.it> writes:
> >> > >
> >> > >> on mingw32 swab is defined is string.h thus not detected by configure
> ----------------^^
> 
> >> > >> that looks in unistd.h
> >> > >
> >> > > http://thread.gmane.org/gmane.comp.video.mplayer.cvs/17298
> >> >
> >> > Will you revert this revert or do you prefer I to be the one to do it?
> >> >
> >> > This check seems too harmless to be removed so soon after
> >> > "fixing" the need for it.
> >>
> >> what's the rpoblem by including both headers?
> >
> > I had upstream fix this issue, update your MinGW64.
> 
> I suspect that mingw32 is separate from mingw64, so the bug there has
> been left unfixed.

yes mingw32 is separate, but the fix may be propagated.
Nothing so far in upstream cvs (strill in string.h)

Regards

-- 
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/


More information about the MPlayer-dev-eng mailing list