Guest User

Untitled

a guest
Jan 30th, 2025
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 22.55 KB | Source Code | 0 0
  1. $ make
  2. GEN     libavdevice/libavdevice.version
  3. GEN     libavfilter/libavfilter.version
  4. GEN     libavformat/libavformat.version
  5. GEN     libavcodec/libavcodec.version
  6. GEN     libswresample/libswresample.version
  7. GEN     libswscale/libswscale.version
  8. GEN     libavutil/libavutil.version
  9. CC      libavdevice/alldevices.o
  10. CC      libavdevice/avdevice.o
  11. CC      libavdevice/gdigrab.o
  12. libavdevice/gdigrab.c: In function ‘gdigrab_region_wnd_init’:
  13. libavdevice/gdigrab.c:145:25: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘DWORD’ {aka ‘unsigned int’} [-Wformat=]
  14.   145 |         WIN32_API_ERROR("Could not create region display window");
  15.       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  16. libavdevice/gdigrab.c:73:30: note: in definition of macro ‘WIN32_API_ERROR’
  17.    73 |     av_log(s1, AV_LOG_ERROR, str " (error %li)\n", GetLastError())
  18.       |                              ^~~
  19. libavdevice/gdigrab.c:158:25: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘DWORD’ {aka ‘unsigned int’} [-Wformat=]
  20.   158 |         WIN32_API_ERROR("Could not set window region");
  21.       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  22. libavdevice/gdigrab.c:73:30: note: in definition of macro ‘WIN32_API_ERROR’
  23.    73 |     av_log(s1, AV_LOG_ERROR, str " (error %li)\n", GetLastError())
  24.       |                              ^~~
  25. libavdevice/gdigrab.c: In function ‘gdigrab_read_header’:
  26. libavdevice/gdigrab.c:254:12: error: implicit declaration of function ‘utf8towchar’ [-Werror=implicit-function-declaration]
  27.   254 |         if(utf8towchar(name, &name_w)) {
  28.       |            ^~~~~~~~~~~
  29. libavdevice/gdigrab.c:302:25: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘DWORD’ {aka ‘unsigned int’} [-Wformat=]
  30.   302 |         WIN32_API_ERROR("Couldn't get window device context");
  31.       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  32. libavdevice/gdigrab.c:73:30: note: in definition of macro ‘WIN32_API_ERROR’
  33.    73 |     av_log(s1, AV_LOG_ERROR, str " (error %li)\n", GetLastError())
  34.       |                              ^~~
  35. libavdevice/gdigrab.c:346:38: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘LONG’ {aka ‘int’} [-Wformat=]
  36.   346 |                     "Capture area (%li,%li),(%li,%li) extends outside window area (%li,%li),(%li,%li)",
  37.       |                                    ~~^
  38.       |                                      |
  39.       |                                      long int
  40.       |                                    %i
  41.   347 |                     clip_rect.left, clip_rect.top,
  42.       |                     ~~~~~~~~~~~~~~
  43.       |                              |
  44.       |                              LONG {aka int}
  45. libavdevice/gdigrab.c:346:42: warning: format ‘%li’ expects argument of type ‘long int’, but argument 5 has type ‘LONG’ {aka ‘int’} [-Wformat=]
  46.   346 |                     "Capture area (%li,%li),(%li,%li) extends outside window area (%li,%li),(%li,%li)",
  47.       |                                        ~~^
  48.       |                                          |
  49.       |                                          long int
  50.       |                                        %i
  51.   347 |                     clip_rect.left, clip_rect.top,
  52.       |                                     ~~~~~~~~~~~~~
  53.       |                                              |
  54.       |                                              LONG {aka int}
  55. libavdevice/gdigrab.c:346:48: warning: format ‘%li’ expects argument of type ‘long int’, but argument 6 has type ‘LONG’ {aka ‘int’} [-Wformat=]
  56.   346 |                     "Capture area (%li,%li),(%li,%li) extends outside window area (%li,%li),(%li,%li)",
  57.       |                                              ~~^
  58.       |                                                |
  59.       |                                                long int
  60.       |                                              %i
  61.   347 |                     clip_rect.left, clip_rect.top,
  62.   348 |                     clip_rect.right, clip_rect.bottom,
  63.       |                     ~~~~~~~~~~~~~~~
  64.       |                              |
  65.       |                              LONG {aka int}
  66. libavdevice/gdigrab.c:346:52: warning: format ‘%li’ expects argument of type ‘long int’, but argument 7 has type ‘LONG’ {aka ‘int’} [-Wformat=]
  67.   346 |                     "Capture area (%li,%li),(%li,%li) extends outside window area (%li,%li),(%li,%li)",
  68.       |                                                  ~~^
  69.       |                                                    |
  70.       |                                                    long int
  71.       |                                                  %i
  72.   347 |                     clip_rect.left, clip_rect.top,
  73.   348 |                     clip_rect.right, clip_rect.bottom,
  74.       |                                      ~~~~~~~~~~~~~~~~
  75.       |                                               |
  76.       |                                               LONG {aka int}
  77. libavdevice/gdigrab.c:346:86: warning: format ‘%li’ expects argument of type ‘long int’, but argument 8 has type ‘LONG’ {aka ‘int’} [-Wformat=]
  78.   346 |                     "Capture area (%li,%li),(%li,%li) extends outside window area (%li,%li),(%li,%li)",
  79.       |                                                                                    ~~^
  80.       |                                                                                      |
  81.       |                                                                                      long int
  82.       |                                                                                    %i
  83. ......
  84.   349 |                     virtual_rect.left, virtual_rect.top,
  85.       |                     ~~~~~~~~~~~~~~~~~
  86.       |                                 |
  87.       |                                 LONG {aka int}
  88. libavdevice/gdigrab.c:346:90: warning: format ‘%li’ expects argument of type ‘long int’, but argument 9 has type ‘LONG’ {aka ‘int’} [-Wformat=]
  89.   346 |                     "Capture area (%li,%li),(%li,%li) extends outside window area (%li,%li),(%li,%li)",
  90.       |                                                                                        ~~^
  91.       |                                                                                          |
  92.       |                                                                                          long int
  93.       |                                                                                        %i
  94. ......
  95.   349 |                     virtual_rect.left, virtual_rect.top,
  96.       |                                        ~~~~~~~~~~~~~~~~
  97.       |                                                    |
  98.       |                                                    LONG {aka int}
  99. libavdevice/gdigrab.c:346:96: warning: format ‘%li’ expects argument of type ‘long int’, but argument 10 has type ‘LONG’ {aka ‘int’} [-Wformat=]
  100.   346 |                     "Capture area (%li,%li),(%li,%li) extends outside window area (%li,%li),(%li,%li)",
  101.       |                                                                                              ~~^
  102.       |                                                                                                |
  103.       |                                                                                                long int
  104.       |                                                                                              %i
  105. ......
  106.   350 |                     virtual_rect.right, virtual_rect.bottom);
  107.       |                     ~~~~~~~~~~~~~~~~~~                                                      
  108.       |                                 |
  109.       |                                 LONG {aka int}
  110. libavdevice/gdigrab.c:346:100: warning: format ‘%li’ expects argument of type ‘long int’, but argument 11 has type ‘LONG’ {aka ‘int’} [-Wformat=]
  111.   346 |                     "Capture area (%li,%li),(%li,%li) extends outside window area (%li,%li),(%li,%li)",
  112.       |                                                                                                  ~~^
  113.       |                                                                                                    |
  114.       |                                                                                                    long int
  115.       |                                                                                                  %i
  116. ......
  117.   350 |                     virtual_rect.right, virtual_rect.bottom);
  118.       |                                         ~~~~~~~~~~~~~~~~~~~                                
  119.       |                                                     |
  120.       |                                                     LONG {aka int}
  121. libavdevice/gdigrab.c:358:46: warning: format ‘%li’ expects argument of type ‘long int’, but argument 5 has type ‘LONG’ {aka ‘int’} [-Wformat=]
  122.   358 |                "Found window %s, capturing %lix%lix%i at (%li,%li)\n",
  123.       |                                            ~~^
  124.       |                                              |
  125.       |                                              long int
  126.       |                                            %i
  127.   359 |                name,
  128.   360 |                clip_rect.right - clip_rect.left,
  129.       |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  130.       |                                |
  131.       |                                LONG {aka int}
  132. libavdevice/gdigrab.c:358:50: warning: format ‘%li’ expects argument of type ‘long int’, but argument 6 has type ‘LONG’ {aka ‘int’} [-Wformat=]
  133.   358 |                "Found window %s, capturing %lix%lix%i at (%li,%li)\n",
  134.       |                                                ~~^
  135.       |                                                  |
  136.       |                                                  long int
  137.       |                                                %i
  138. ......
  139.   361 |                clip_rect.bottom - clip_rect.top,
  140.       |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  141.       |                                 |
  142.       |                                 LONG {aka int}
  143. libavdevice/gdigrab.c:358:61: warning: format ‘%li’ expects argument of type ‘long int’, but argument 8 has type ‘LONG’ {aka ‘int’} [-Wformat=]
  144.   358 |                "Found window %s, capturing %lix%lix%i at (%li,%li)\n",
  145.       |                                                           ~~^
  146.       |                                                             |
  147.       |                                                             long int
  148.       |                                                           %i
  149. ......
  150.   362 |                bpp, clip_rect.left, clip_rect.top);
  151.       |                     ~~~~~~~~~~~~~~
  152.       |                              |
  153.       |                              LONG {aka int}
  154. libavdevice/gdigrab.c:358:65: warning: format ‘%li’ expects argument of type ‘long int’, but argument 9 has type ‘LONG’ {aka ‘int’} [-Wformat=]
  155.   358 |                "Found window %s, capturing %lix%lix%i at (%li,%li)\n",
  156.       |                                                               ~~^
  157.       |                                                                 |
  158.       |                                                                 long int
  159.       |                                                               %i
  160. ......
  161.   362 |                bpp, clip_rect.left, clip_rect.top);
  162.       |                                     ~~~~~~~~~~~~~
  163.       |                                              |
  164.       |                                              LONG {aka int}
  165. libavdevice/gdigrab.c:365:46: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘LONG’ {aka ‘int’} [-Wformat=]
  166.   365 |                "Capturing whole desktop as %lix%lix%i at (%li,%li)\n",
  167.       |                                            ~~^
  168.       |                                              |
  169.       |                                              long int
  170.       |                                            %i
  171.   366 |                clip_rect.right - clip_rect.left,
  172.       |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  173.       |                                |
  174.       |                                LONG {aka int}
  175. libavdevice/gdigrab.c:365:50: warning: format ‘%li’ expects argument of type ‘long int’, but argument 5 has type ‘LONG’ {aka ‘int’} [-Wformat=]
  176.   365 |                "Capturing whole desktop as %lix%lix%i at (%li,%li)\n",
  177.       |                                                ~~^
  178.       |                                                  |
  179.       |                                                  long int
  180.       |                                                %i
  181.   366 |                clip_rect.right - clip_rect.left,
  182.   367 |                clip_rect.bottom - clip_rect.top,
  183.       |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  184.       |                                 |
  185.       |                                 LONG {aka int}
  186. libavdevice/gdigrab.c:365:61: warning: format ‘%li’ expects argument of type ‘long int’, but argument 7 has type ‘LONG’ {aka ‘int’} [-Wformat=]
  187.   365 |                "Capturing whole desktop as %lix%lix%i at (%li,%li)\n",
  188.       |                                                           ~~^
  189.       |                                                             |
  190.       |                                                             long int
  191.       |                                                           %i
  192. ......
  193.   368 |                bpp, clip_rect.left, clip_rect.top);
  194.       |                     ~~~~~~~~~~~~~~
  195.       |                              |
  196.       |                              LONG {aka int}
  197. libavdevice/gdigrab.c:365:65: warning: format ‘%li’ expects argument of type ‘long int’, but argument 8 has type ‘LONG’ {aka ‘int’} [-Wformat=]
  198.   365 |                "Capturing whole desktop as %lix%lix%i at (%li,%li)\n",
  199.       |                                                               ~~^
  200.       |                                                                 |
  201.       |                                                                 long int
  202.       |                                                               %i
  203. ......
  204.   368 |                bpp, clip_rect.left, clip_rect.top);
  205.       |                                     ~~~~~~~~~~~~~
  206.       |                                              |
  207.       |                                              LONG {aka int}
  208. libavdevice/gdigrab.c:380:25: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘DWORD’ {aka ‘unsigned int’} [-Wformat=]
  209.   380 |         WIN32_API_ERROR("Screen DC CreateCompatibleDC");
  210.       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  211. libavdevice/gdigrab.c:73:30: note: in definition of macro ‘WIN32_API_ERROR’
  212.    73 |     av_log(s1, AV_LOG_ERROR, str " (error %li)\n", GetLastError())
  213.       |                              ^~~
  214. libavdevice/gdigrab.c:400:25: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘DWORD’ {aka ‘unsigned int’} [-Wformat=]
  215.   400 |         WIN32_API_ERROR("Creating DIB Section");
  216.       |                         ^~~~~~~~~~~~~~~~~~~~~~
  217. libavdevice/gdigrab.c:73:30: note: in definition of macro ‘WIN32_API_ERROR’
  218.    73 |     av_log(s1, AV_LOG_ERROR, str " (error %li)\n", GetLastError())
  219.       |                              ^~~
  220. libavdevice/gdigrab.c:406:25: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘DWORD’ {aka ‘unsigned int’} [-Wformat=]
  221.   406 |         WIN32_API_ERROR("SelectObject");
  222.       |                         ^~~~~~~~~~~~~~
  223. libavdevice/gdigrab.c:73:30: note: in definition of macro ‘WIN32_API_ERROR’
  224.    73 |     av_log(s1, AV_LOG_ERROR, str " (error %li)\n", GetLastError())
  225.       |                              ^~~
  226. libavdevice/gdigrab.c: In function ‘paint_mouse_pointer’:
  227. libavdevice/gdigrab.c:506:26: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘DWORD’ {aka ‘unsigned int’} [-Wformat=]
  228.   506 |             CURSOR_ERROR("Could not get icon info");
  229.       |                          ^~~~~~~~~~~~~~~~~~~~~~~~~
  230. libavdevice/gdigrab.c:73:30: note: in definition of macro ‘WIN32_API_ERROR’
  231.    73 |     av_log(s1, AV_LOG_ERROR, str " (error %li)\n", GetLastError())
  232.       |                              ^~~
  233. libavdevice/gdigrab.c:506:13: note: in expansion of macro ‘CURSOR_ERROR’
  234.   506 |             CURSOR_ERROR("Could not get icon info");
  235.       |             ^~~~~~~~~~~~
  236. libavdevice/gdigrab.c:521:30: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘DWORD’ {aka ‘unsigned int’} [-Wformat=]
  237.   521 |                 CURSOR_ERROR("Couldn't get window rectangle");
  238.       |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  239. libavdevice/gdigrab.c:73:30: note: in definition of macro ‘WIN32_API_ERROR’
  240.    73 |     av_log(s1, AV_LOG_ERROR, str " (error %li)\n", GetLastError())
  241.       |                              ^~~
  242. libavdevice/gdigrab.c:521:17: note: in expansion of macro ‘CURSOR_ERROR’
  243.   521 |                 CURSOR_ERROR("Couldn't get window rectangle");
  244.       |                 ^~~~~~~~~~~~
  245. libavdevice/gdigrab.c:530:49: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘LONG’ {aka ‘int’} [-Wformat=]
  246.   530 |         av_log(s1, AV_LOG_DEBUG, "Cursor pos (%li,%li) -> (%li,%li)\n",
  247.       |                                               ~~^
  248.       |                                                 |
  249.       |                                                 long int
  250.       |                                               %i
  251.   531 |                 ci.ptScreenPos.x, ci.ptScreenPos.y, pos.x, pos.y);
  252.       |                 ~~~~~~~~~~~~~~~~
  253.       |                               |
  254.       |                               LONG {aka int}
  255. libavdevice/gdigrab.c:530:53: warning: format ‘%li’ expects argument of type ‘long int’, but argument 5 has type ‘LONG’ {aka ‘int’} [-Wformat=]
  256.   530 |         av_log(s1, AV_LOG_DEBUG, "Cursor pos (%li,%li) -> (%li,%li)\n",
  257.       |                                                   ~~^
  258.       |                                                     |
  259.       |                                                     long int
  260.       |                                                   %i
  261.   531 |                 ci.ptScreenPos.x, ci.ptScreenPos.y, pos.x, pos.y);
  262.       |                                   ~~~~~~~~~~~~~~~~
  263.       |                                                 |
  264.       |                                                 LONG {aka int}
  265. libavdevice/gdigrab.c:530:62: warning: format ‘%li’ expects argument of type ‘long int’, but argument 6 has type ‘LONG’ {aka ‘int’} [-Wformat=]
  266.   530 |         av_log(s1, AV_LOG_DEBUG, "Cursor pos (%li,%li) -> (%li,%li)\n",
  267.       |                                                            ~~^
  268.       |                                                              |
  269.       |                                                              long int
  270.       |                                                            %i
  271.   531 |                 ci.ptScreenPos.x, ci.ptScreenPos.y, pos.x, pos.y);
  272.       |                                                     ~~~~~
  273.       |                                                        |
  274.       |                                                        LONG {aka int}
  275. libavdevice/gdigrab.c:530:66: warning: format ‘%li’ expects argument of type ‘long int’, but argument 7 has type ‘LONG’ {aka ‘int’} [-Wformat=]
  276.   530 |         av_log(s1, AV_LOG_DEBUG, "Cursor pos (%li,%li) -> (%li,%li)\n",
  277.       |                                                                ~~^
  278.       |                                                                  |
  279.       |                                                                  long int
  280.       |                                                                %i
  281.   531 |                 ci.ptScreenPos.x, ci.ptScreenPos.y, pos.x, pos.y);
  282.       |                                                            ~~~~~
  283.       |                                                               |
  284.       |                                                               LONG {aka int}
  285. libavdevice/gdigrab.c:536:30: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘DWORD’ {aka ‘unsigned int’} [-Wformat=]
  286.   536 |                 CURSOR_ERROR("Couldn't draw icon");
  287.       |                              ^~~~~~~~~~~~~~~~~~~~
  288. libavdevice/gdigrab.c:73:30: note: in definition of macro ‘WIN32_API_ERROR’
  289.    73 |     av_log(s1, AV_LOG_ERROR, str " (error %li)\n", GetLastError())
  290.       |                              ^~~
  291. libavdevice/gdigrab.c:536:17: note: in expansion of macro ‘CURSOR_ERROR’
  292.   536 |                 CURSOR_ERROR("Couldn't draw icon");
  293.       |                 ^~~~~~~~~~~~
  294. libavdevice/gdigrab.c:547:22: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘DWORD’ {aka ‘unsigned int’} [-Wformat=]
  295.   547 |         CURSOR_ERROR("Couldn't get cursor info");
  296.       |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
  297. libavdevice/gdigrab.c:73:30: note: in definition of macro ‘WIN32_API_ERROR’
  298.    73 |     av_log(s1, AV_LOG_ERROR, str " (error %li)\n", GetLastError())
  299.       |                              ^~~
  300. libavdevice/gdigrab.c:547:9: note: in expansion of macro ‘CURSOR_ERROR’
  301.   547 |         CURSOR_ERROR("Couldn't get cursor info");
  302.       |         ^~~~~~~~~~~~
  303. libavdevice/gdigrab.c: In function ‘gdigrab_read_packet’:
  304. libavdevice/gdigrab.c:607:25: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘DWORD’ {aka ‘unsigned int’} [-Wformat=]
  305.   607 |         WIN32_API_ERROR("Failed to capture image");
  306.       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~
  307. libavdevice/gdigrab.c:73:30: note: in definition of macro ‘WIN32_API_ERROR’
  308.    73 |     av_log(s1, AV_LOG_ERROR, str " (error %li)\n", GetLastError())
  309.       |                              ^~~
  310. cc1: some warnings being treated as errors
  311. make: *** [ffbuild/common.mak:81: libavdevice/gdigrab.o] Error 1
  312.  
Advertisement
Add Comment
Please, Sign In to add comment