What steps will reproduce the problem?
1. Use MSYS2 ( http://msys2.github.io/ )
2. Try to compile ffmbc 0.74
What is the expected output? What do you see instead?
`C:/builds/gcc52/msys64/mingw32/i686-w64-mingw32/include/io.h: In
function '_findfirst64i32':
./libavutil/internal.h:148:17: error: implicit declaration of
function 'strncpy_is_forbidden_due_to_security_issues_use_av_strlcpy'
[-Werror=implicit-function-declaration]
#define strncpy strncpy_is_forbidden_due_to_security_issues_use_av_strlcpy
^
cc1.exe: some warnings being treated as errors`
What version of the product are you using? On what operating system?
MSYS2/MinGW GCC 5.2 with Windows 8.1 64-bits
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Mark Himsley
unread,
May 30, 2017, 3:29:16 PM5/30/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ffmbc-dev, codesite...@google.com, ff...@googlecode.com
This happens when building with version 3.1.0 mingw-w64 on Ubuntu 16.04, but not with the version of mingw-w64 that came with Ubuntu 14.04.
But the best fix that I've seen is to apply commit e96d90eed66a198566c409958432d282e1b03869 from FFmpeg, author: Janne Grunau <janne...@jannau.net> 2012-10-26 19:26:29. I think the comment on that commit explains it all.
Mark Himsley
unread,
May 31, 2017, 11:32:13 AM5/31/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ffmbc-dev, codesite...@google.com, ff...@googlecode.com
Oops - if you apply commit e96d90eed66a198566c409958432d282e1b03869 from FFmpeg then you need to remove some work-arounds from FFmbc.
There's this patch, which is required or compilation fails: