[FFmpeg-devel] error: implicit declaration of function ‘strptime’ [-Werror=implicit-function-declaration]

Michael Niedermayer michaelni at gmx.at
Fri Jul 15 16:24:31 CEST 2011


On Wed, Jul 13, 2011 at 02:16:57PM -0400, Kyle wrote:
> The latest FFmpeg does not compile with MinGW-w64 due to a GCC flag  
> "-Werror=implicit-function-declaration"
>
> The issue was introduced with commit  
> 5f847bf61dca1fd1a2f65a2f56c9a99d1cb716ab
>
> The full error can be found here: http://pastebin.com/yZiy2mp8

is _XOPEN_SOURCE defined ?
which header needs to be #included on mingw for strptime() ?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110715/a031eb7d/attachment.asc>


More information about the ffmpeg-devel mailing list