[vlc-devel] Re: Build Error in Extras/Contrib libdvdnav on Cygwin

Mark Moriarty mfmbusiness at earthlink.net
Thu Nov 2 12:45:40 CET 2006

I show 3.10.1 mingw-runtime, with gcc-mingw-core and gcc-mingw-g++ being

Possibly related to my prior post about libgcrypt, that there's something in
mingw that doesn't play nice relative to gettimeofday? 

-----Original Message-----
From: Rafaël Carré [mailto:rafael.carre at gmail.com] On Behalf Of Rafaël Carré
Sent: Wednesday, November 01, 2006 9:54 PM
To: vlc-devel at videolan.org
Cc: mfmbusiness at earthlink.net
Subject: Re: [vlc-devel] Build Error in Extras/Contrib libdvdnav on Cygwin

Le Wed, 1 Nov 2006 21:27:56 -0500,
"Mark Moriarty" <mfmbusiness at earthlink.net> a écrit :

> In file included from ./decoder.h:29,
>                  from ../../src/dvdnav_internal.h:80,
>                  from decoder.c:35:
> /usr/include/mingw/sys/time.h:39: error: parse error before '(' token
> /usr/include/mingw/sys/time.h:39: error: parse error before "void"

> int __cdecl gettimeofday(struct timeval *__restrict__,
> 			 void *__restrict__  /*	tzp (unused)
> */);

Hi, what is your version of mingw ?

It seems my headers don't have gettimeofday and I use 3.4.5

[fun at zod /usr/i686-mingw32/include]% grep -rn gettimeofday .
[fun at zod /usr/i686-mingw32/include]% 

You can see too http://trac.videolan.org/vlc/changeset/17400

Maybe your mingw version is buggy ?

Rafaël Carré

This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html

More information about the vlc-devel mailing list