Opened 6 years ago
Closed 6 years ago
#4130 closed defect (fixed)
error: 'char* dup_wchar_to_utf8(wchar_t*)' was declared 'extern' and later 'static'
| Reported by: | KSHawkEye | Owned by: | |
|---|---|---|---|
| Priority: | important | Component: | avdevice |
| Version: | git-master | Keywords: | decklink regression |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
Cross-compiling FFmpeg on Debian for Windows with MinGW-w64 fails if --enable-decklink is included. The DeckLink? SDK Version used was 10.3.1.
The error message:
/home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/decklink_common.cpp: In function 'char* dup_wchar_to_utf8(wchar_t*)':
/home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/decklink_common.cpp:61:42: error: 'char* dup_wchar_to_utf8(wchar_t*)' was declared 'extern' and later 'static' [-fpermissive]
static char *dup_wchar_to_utf8(wchar_t *w)
^
Attachments (1)
Change History (4)
Changed 6 years ago by cehoyos
comment:1 Changed 6 years ago by cehoyos
- Keywords regression added
comment:2 Changed 6 years ago by KSHawkEye
The patchdecklink.diff fixed this issue.
comment:3 Changed 6 years ago by cehoyos
- Resolution set to fixed
- Status changed from new to closed
The patch was applied as 1f3d4788983d929d76e1d168bec7db1c80a50be5
Thank you for testing.
Note: See
TracTickets for help on using
tickets.



Does the attached patch help?