Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ make
- GEN libavdevice/libavdevice.version
- GEN libavfilter/libavfilter.version
- GEN libavformat/libavformat.version
- GEN libavcodec/libavcodec.version
- GEN libswresample/libswresample.version
- GEN libswscale/libswscale.version
- GEN libavutil/libavutil.version
- CC libavdevice/alldevices.o
- CC libavdevice/avdevice.o
- CC libavdevice/gdigrab.o
- libavdevice/gdigrab.c: In function ‘gdigrab_region_wnd_init’:
- libavdevice/gdigrab.c:145:25: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘DWORD’ {aka ‘unsigned int’} [-Wformat=]
- 145 | WIN32_API_ERROR("Could not create region display window");
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- libavdevice/gdigrab.c:73:30: note: in definition of macro ‘WIN32_API_ERROR’
- 73 | av_log(s1, AV_LOG_ERROR, str " (error %li)\n", GetLastError())
- | ^~~
- libavdevice/gdigrab.c:158:25: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘DWORD’ {aka ‘unsigned int’} [-Wformat=]
- 158 | WIN32_API_ERROR("Could not set window region");
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- libavdevice/gdigrab.c:73:30: note: in definition of macro ‘WIN32_API_ERROR’
- 73 | av_log(s1, AV_LOG_ERROR, str " (error %li)\n", GetLastError())
- | ^~~
- libavdevice/gdigrab.c: In function ‘gdigrab_read_header’:
- libavdevice/gdigrab.c:254:12: error: implicit declaration of function ‘utf8towchar’ [-Werror=implicit-function-declaration]
- 254 | if(utf8towchar(name, &name_w)) {
- | ^~~~~~~~~~~
- libavdevice/gdigrab.c:302:25: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘DWORD’ {aka ‘unsigned int’} [-Wformat=]
- 302 | WIN32_API_ERROR("Couldn't get window device context");
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- libavdevice/gdigrab.c:73:30: note: in definition of macro ‘WIN32_API_ERROR’
- 73 | av_log(s1, AV_LOG_ERROR, str " (error %li)\n", GetLastError())
- | ^~~
- libavdevice/gdigrab.c:346:38: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘LONG’ {aka ‘int’} [-Wformat=]
- 346 | "Capture area (%li,%li),(%li,%li) extends outside window area (%li,%li),(%li,%li)",
- | ~~^
- | |
- | long int
- | %i
- 347 | clip_rect.left, clip_rect.top,
- | ~~~~~~~~~~~~~~
- | |
- | LONG {aka int}
- libavdevice/gdigrab.c:346:42: warning: format ‘%li’ expects argument of type ‘long int’, but argument 5 has type ‘LONG’ {aka ‘int’} [-Wformat=]
- 346 | "Capture area (%li,%li),(%li,%li) extends outside window area (%li,%li),(%li,%li)",
- | ~~^
- | |
- | long int
- | %i
- 347 | clip_rect.left, clip_rect.top,
- | ~~~~~~~~~~~~~
- | |
- | LONG {aka int}
- libavdevice/gdigrab.c:346:48: warning: format ‘%li’ expects argument of type ‘long int’, but argument 6 has type ‘LONG’ {aka ‘int’} [-Wformat=]
- 346 | "Capture area (%li,%li),(%li,%li) extends outside window area (%li,%li),(%li,%li)",
- | ~~^
- | |
- | long int
- | %i
- 347 | clip_rect.left, clip_rect.top,
- 348 | clip_rect.right, clip_rect.bottom,
- | ~~~~~~~~~~~~~~~
- | |
- | LONG {aka int}
- libavdevice/gdigrab.c:346:52: warning: format ‘%li’ expects argument of type ‘long int’, but argument 7 has type ‘LONG’ {aka ‘int’} [-Wformat=]
- 346 | "Capture area (%li,%li),(%li,%li) extends outside window area (%li,%li),(%li,%li)",
- | ~~^
- | |
- | long int
- | %i
- 347 | clip_rect.left, clip_rect.top,
- 348 | clip_rect.right, clip_rect.bottom,
- | ~~~~~~~~~~~~~~~~
- | |
- | LONG {aka int}
- libavdevice/gdigrab.c:346:86: warning: format ‘%li’ expects argument of type ‘long int’, but argument 8 has type ‘LONG’ {aka ‘int’} [-Wformat=]
- 346 | "Capture area (%li,%li),(%li,%li) extends outside window area (%li,%li),(%li,%li)",
- | ~~^
- | |
- | long int
- | %i
- ......
- 349 | virtual_rect.left, virtual_rect.top,
- | ~~~~~~~~~~~~~~~~~
- | |
- | LONG {aka int}
- libavdevice/gdigrab.c:346:90: warning: format ‘%li’ expects argument of type ‘long int’, but argument 9 has type ‘LONG’ {aka ‘int’} [-Wformat=]
- 346 | "Capture area (%li,%li),(%li,%li) extends outside window area (%li,%li),(%li,%li)",
- | ~~^
- | |
- | long int
- | %i
- ......
- 349 | virtual_rect.left, virtual_rect.top,
- | ~~~~~~~~~~~~~~~~
- | |
- | LONG {aka int}
- libavdevice/gdigrab.c:346:96: warning: format ‘%li’ expects argument of type ‘long int’, but argument 10 has type ‘LONG’ {aka ‘int’} [-Wformat=]
- 346 | "Capture area (%li,%li),(%li,%li) extends outside window area (%li,%li),(%li,%li)",
- | ~~^
- | |
- | long int
- | %i
- ......
- 350 | virtual_rect.right, virtual_rect.bottom);
- | ~~~~~~~~~~~~~~~~~~
- | |
- | LONG {aka int}
- libavdevice/gdigrab.c:346:100: warning: format ‘%li’ expects argument of type ‘long int’, but argument 11 has type ‘LONG’ {aka ‘int’} [-Wformat=]
- 346 | "Capture area (%li,%li),(%li,%li) extends outside window area (%li,%li),(%li,%li)",
- | ~~^
- | |
- | long int
- | %i
- ......
- 350 | virtual_rect.right, virtual_rect.bottom);
- | ~~~~~~~~~~~~~~~~~~~
- | |
- | LONG {aka int}
- libavdevice/gdigrab.c:358:46: warning: format ‘%li’ expects argument of type ‘long int’, but argument 5 has type ‘LONG’ {aka ‘int’} [-Wformat=]
- 358 | "Found window %s, capturing %lix%lix%i at (%li,%li)\n",
- | ~~^
- | |
- | long int
- | %i
- 359 | name,
- 360 | clip_rect.right - clip_rect.left,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- | |
- | LONG {aka int}
- libavdevice/gdigrab.c:358:50: warning: format ‘%li’ expects argument of type ‘long int’, but argument 6 has type ‘LONG’ {aka ‘int’} [-Wformat=]
- 358 | "Found window %s, capturing %lix%lix%i at (%li,%li)\n",
- | ~~^
- | |
- | long int
- | %i
- ......
- 361 | clip_rect.bottom - clip_rect.top,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- | |
- | LONG {aka int}
- libavdevice/gdigrab.c:358:61: warning: format ‘%li’ expects argument of type ‘long int’, but argument 8 has type ‘LONG’ {aka ‘int’} [-Wformat=]
- 358 | "Found window %s, capturing %lix%lix%i at (%li,%li)\n",
- | ~~^
- | |
- | long int
- | %i
- ......
- 362 | bpp, clip_rect.left, clip_rect.top);
- | ~~~~~~~~~~~~~~
- | |
- | LONG {aka int}
- libavdevice/gdigrab.c:358:65: warning: format ‘%li’ expects argument of type ‘long int’, but argument 9 has type ‘LONG’ {aka ‘int’} [-Wformat=]
- 358 | "Found window %s, capturing %lix%lix%i at (%li,%li)\n",
- | ~~^
- | |
- | long int
- | %i
- ......
- 362 | bpp, clip_rect.left, clip_rect.top);
- | ~~~~~~~~~~~~~
- | |
- | LONG {aka int}
- libavdevice/gdigrab.c:365:46: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘LONG’ {aka ‘int’} [-Wformat=]
- 365 | "Capturing whole desktop as %lix%lix%i at (%li,%li)\n",
- | ~~^
- | |
- | long int
- | %i
- 366 | clip_rect.right - clip_rect.left,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- | |
- | LONG {aka int}
- libavdevice/gdigrab.c:365:50: warning: format ‘%li’ expects argument of type ‘long int’, but argument 5 has type ‘LONG’ {aka ‘int’} [-Wformat=]
- 365 | "Capturing whole desktop as %lix%lix%i at (%li,%li)\n",
- | ~~^
- | |
- | long int
- | %i
- 366 | clip_rect.right - clip_rect.left,
- 367 | clip_rect.bottom - clip_rect.top,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- | |
- | LONG {aka int}
- libavdevice/gdigrab.c:365:61: warning: format ‘%li’ expects argument of type ‘long int’, but argument 7 has type ‘LONG’ {aka ‘int’} [-Wformat=]
- 365 | "Capturing whole desktop as %lix%lix%i at (%li,%li)\n",
- | ~~^
- | |
- | long int
- | %i
- ......
- 368 | bpp, clip_rect.left, clip_rect.top);
- | ~~~~~~~~~~~~~~
- | |
- | LONG {aka int}
- libavdevice/gdigrab.c:365:65: warning: format ‘%li’ expects argument of type ‘long int’, but argument 8 has type ‘LONG’ {aka ‘int’} [-Wformat=]
- 365 | "Capturing whole desktop as %lix%lix%i at (%li,%li)\n",
- | ~~^
- | |
- | long int
- | %i
- ......
- 368 | bpp, clip_rect.left, clip_rect.top);
- | ~~~~~~~~~~~~~
- | |
- | LONG {aka int}
- libavdevice/gdigrab.c:380:25: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘DWORD’ {aka ‘unsigned int’} [-Wformat=]
- 380 | WIN32_API_ERROR("Screen DC CreateCompatibleDC");
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- libavdevice/gdigrab.c:73:30: note: in definition of macro ‘WIN32_API_ERROR’
- 73 | av_log(s1, AV_LOG_ERROR, str " (error %li)\n", GetLastError())
- | ^~~
- libavdevice/gdigrab.c:400:25: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘DWORD’ {aka ‘unsigned int’} [-Wformat=]
- 400 | WIN32_API_ERROR("Creating DIB Section");
- | ^~~~~~~~~~~~~~~~~~~~~~
- libavdevice/gdigrab.c:73:30: note: in definition of macro ‘WIN32_API_ERROR’
- 73 | av_log(s1, AV_LOG_ERROR, str " (error %li)\n", GetLastError())
- | ^~~
- libavdevice/gdigrab.c:406:25: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘DWORD’ {aka ‘unsigned int’} [-Wformat=]
- 406 | WIN32_API_ERROR("SelectObject");
- | ^~~~~~~~~~~~~~
- libavdevice/gdigrab.c:73:30: note: in definition of macro ‘WIN32_API_ERROR’
- 73 | av_log(s1, AV_LOG_ERROR, str " (error %li)\n", GetLastError())
- | ^~~
- libavdevice/gdigrab.c: In function ‘paint_mouse_pointer’:
- libavdevice/gdigrab.c:506:26: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘DWORD’ {aka ‘unsigned int’} [-Wformat=]
- 506 | CURSOR_ERROR("Could not get icon info");
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- libavdevice/gdigrab.c:73:30: note: in definition of macro ‘WIN32_API_ERROR’
- 73 | av_log(s1, AV_LOG_ERROR, str " (error %li)\n", GetLastError())
- | ^~~
- libavdevice/gdigrab.c:506:13: note: in expansion of macro ‘CURSOR_ERROR’
- 506 | CURSOR_ERROR("Could not get icon info");
- | ^~~~~~~~~~~~
- libavdevice/gdigrab.c:521:30: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘DWORD’ {aka ‘unsigned int’} [-Wformat=]
- 521 | CURSOR_ERROR("Couldn't get window rectangle");
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- libavdevice/gdigrab.c:73:30: note: in definition of macro ‘WIN32_API_ERROR’
- 73 | av_log(s1, AV_LOG_ERROR, str " (error %li)\n", GetLastError())
- | ^~~
- libavdevice/gdigrab.c:521:17: note: in expansion of macro ‘CURSOR_ERROR’
- 521 | CURSOR_ERROR("Couldn't get window rectangle");
- | ^~~~~~~~~~~~
- libavdevice/gdigrab.c:530:49: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘LONG’ {aka ‘int’} [-Wformat=]
- 530 | av_log(s1, AV_LOG_DEBUG, "Cursor pos (%li,%li) -> (%li,%li)\n",
- | ~~^
- | |
- | long int
- | %i
- 531 | ci.ptScreenPos.x, ci.ptScreenPos.y, pos.x, pos.y);
- | ~~~~~~~~~~~~~~~~
- | |
- | LONG {aka int}
- libavdevice/gdigrab.c:530:53: warning: format ‘%li’ expects argument of type ‘long int’, but argument 5 has type ‘LONG’ {aka ‘int’} [-Wformat=]
- 530 | av_log(s1, AV_LOG_DEBUG, "Cursor pos (%li,%li) -> (%li,%li)\n",
- | ~~^
- | |
- | long int
- | %i
- 531 | ci.ptScreenPos.x, ci.ptScreenPos.y, pos.x, pos.y);
- | ~~~~~~~~~~~~~~~~
- | |
- | LONG {aka int}
- libavdevice/gdigrab.c:530:62: warning: format ‘%li’ expects argument of type ‘long int’, but argument 6 has type ‘LONG’ {aka ‘int’} [-Wformat=]
- 530 | av_log(s1, AV_LOG_DEBUG, "Cursor pos (%li,%li) -> (%li,%li)\n",
- | ~~^
- | |
- | long int
- | %i
- 531 | ci.ptScreenPos.x, ci.ptScreenPos.y, pos.x, pos.y);
- | ~~~~~
- | |
- | LONG {aka int}
- libavdevice/gdigrab.c:530:66: warning: format ‘%li’ expects argument of type ‘long int’, but argument 7 has type ‘LONG’ {aka ‘int’} [-Wformat=]
- 530 | av_log(s1, AV_LOG_DEBUG, "Cursor pos (%li,%li) -> (%li,%li)\n",
- | ~~^
- | |
- | long int
- | %i
- 531 | ci.ptScreenPos.x, ci.ptScreenPos.y, pos.x, pos.y);
- | ~~~~~
- | |
- | LONG {aka int}
- libavdevice/gdigrab.c:536:30: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘DWORD’ {aka ‘unsigned int’} [-Wformat=]
- 536 | CURSOR_ERROR("Couldn't draw icon");
- | ^~~~~~~~~~~~~~~~~~~~
- libavdevice/gdigrab.c:73:30: note: in definition of macro ‘WIN32_API_ERROR’
- 73 | av_log(s1, AV_LOG_ERROR, str " (error %li)\n", GetLastError())
- | ^~~
- libavdevice/gdigrab.c:536:17: note: in expansion of macro ‘CURSOR_ERROR’
- 536 | CURSOR_ERROR("Couldn't draw icon");
- | ^~~~~~~~~~~~
- libavdevice/gdigrab.c:547:22: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘DWORD’ {aka ‘unsigned int’} [-Wformat=]
- 547 | CURSOR_ERROR("Couldn't get cursor info");
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- libavdevice/gdigrab.c:73:30: note: in definition of macro ‘WIN32_API_ERROR’
- 73 | av_log(s1, AV_LOG_ERROR, str " (error %li)\n", GetLastError())
- | ^~~
- libavdevice/gdigrab.c:547:9: note: in expansion of macro ‘CURSOR_ERROR’
- 547 | CURSOR_ERROR("Couldn't get cursor info");
- | ^~~~~~~~~~~~
- libavdevice/gdigrab.c: In function ‘gdigrab_read_packet’:
- libavdevice/gdigrab.c:607:25: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘DWORD’ {aka ‘unsigned int’} [-Wformat=]
- 607 | WIN32_API_ERROR("Failed to capture image");
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- libavdevice/gdigrab.c:73:30: note: in definition of macro ‘WIN32_API_ERROR’
- 73 | av_log(s1, AV_LOG_ERROR, str " (error %li)\n", GetLastError())
- | ^~~
- cc1: some warnings being treated as errors
- make: *** [ffbuild/common.mak:81: libavdevice/gdigrab.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment