On 5 Nov 2014 09:18, "Jon bae" <[email protected]> wrote:
>
> Hello everybody,
> have you at the moment problem to compile the newest ffmpeg-git Version?
>
> I get this error:
>
> In file included from ./libavutil/time_internal.h:22:0,
>                  from libavformat/matroskadec.c:49:
> ./libavutil/time_internal.h:26:26: error: expected identifier or '('
before '{' token
>  static inline struct tm *gmtime_r(const time_t* clock, struct tm *result)
>                           ^
> ./libavutil/time_internal.h:37:26: error: expected identifier or '('
before '{' token
>  static inline struct tm *localtime_r(const time_t* clock, struct tm
*result)
>                           ^
> common.mak:49: die Regel für Ziel „libavformat/matroskadec.o“ scheiterte
> make: *** [libavformat/matroskadec.o] Fehler 1
>

We moved gmtime_r and localtime_r from pthead.h to time.h as that's closer
to posix specs. Define _POSIX and/or include <time.h> in the relevant stuff.

> We have post it to the ffmpeg ticker, but maybe is also a mingw-w64
problem.
>
> Regards
>
> Jonathan
>
>
>
>
------------------------------------------------------------------------------
>
> _______________________________________________
> Msys2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/msys2-users
>
------------------------------------------------------------------------------
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to