News:

--

Main Menu

some warnings when build

Started by sl1pkn07, August 23, 2016, 02:05:34 PM

Previous topic - Next topic

sl1pkn07



In file included from /tmp/makepkg/avidemux-git/src/build_core/ffmpeg/source/libavutil/internal.h:39:0,
                 from /tmp/makepkg/avidemux-git/src/build_core/ffmpeg/source/libavcodec/ac3tab.h:27,
                 from /tmp/makepkg/avidemux-git/src/build_core/ffmpeg/source/libavcodec/ac3.h:44,
                 from /tmp/makepkg/avidemux-git/src/build_core/ffmpeg/source/libavcodec/ac3_parser.h:26,
                 from /tmp/makepkg/avidemux-git/src/avidemux/avidemux_core/ADM_coreAudioParser/src/ADM_eac3info.cpp:16:
/tmp/makepkg/avidemux-git/src/build_core/ffmpeg/source/libavutil/timer.h:86:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
                    "%7"PRIu64" " FF_TIMER_UNITS " in %s,%8d runs,%7d skips",          \
                    ^



[ 16%] Building CXX object ADM_demuxers/MpegPS/CMakeFiles/ADM_dm_ps.dir/ADM_ps.cpp.o
/tmp/makepkg/avidemux-git/src/avidemux/avidemux_plugins/ADM_audioEncoders/dcaenc/audioencoder_dcaenc.cpp:229:15: aviso: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
       printf ("[dcaenc] Error !!! : %"PRIi32"\n", nbout);
               ^
[ 17%] Building CXX object ADM_demuxers/AvsProxy/CMakeFiles/ADM_dm_avsproxy.dir/ADM_avsproxy.cpp.o
/tmp/makepkg/avidemux-git/src/avidemux/avidemux_plugins/ADM_audioEncoders/twolame/audioencoder_twolame.cpp:115:10: aviso: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
   printf("[TwoLame]Incoming :fq : %"PRIu32", channel : %"PRIu32" bitrate: %"PRIu32" \n",
          ^
/tmp/makepkg/avidemux-git/src/avidemux/avidemux_plugins/ADM_audioEncoders/twolame/audioencoder_twolame.cpp:115:43: aviso: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
   printf("[TwoLame]Incoming :fq : %"PRIu32", channel : %"PRIu32" bitrate: %"PRIu32" \n",
                                           ^
/tmp/makepkg/avidemux-git/src/avidemux/avidemux_plugins/ADM_audioEncoders/twolame/audioencoder_twolame.cpp:115:64: aviso: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
   printf("[TwoLame]Incoming :fq : %"PRIu32", channel : %"PRIu32" bitrate: %"PRIu32" \n",
                                                                ^




/tmp/makepkg/avidemux-git/src/avidemux/avidemux_plugins/ADM_audioDevices/Alsa/ADM_deviceALSA.cpp:143:23: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
       fprintf(stderr, "[Alsa]The rate %"PRIu32" Hz is not supported by your hardware.\n  ==> Using %d Hz instead.\n", _frequency, exact_rate);
                       ^
/tmp/makepkg/avidemux-git/src/avidemux/avidemux_plugins/ADM_audioDevices/Alsa/ADM_deviceALSA.cpp:393:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
     printf("[Alsa]: new %s val: %"PRIu32"\n",(which_vol?"master":"pcm"),volume);
            ^
[  6%] Building C object ADM_audioDecoders/ADM_ad_mad/ADM_libMad/CMakeFiles/ADM_libMad.dir/frame.c.o
[  7%] Building C object ADM_audioDecoders/ADM_ad_mad/ADM_libMad/CMakeFiles/ADM_libMad.dir/huffman.c.o
/tmp/makepkg/avidemux-git/src/avidemux/avidemux_plugins/ADM_audioDevices/Alsa/ADM_deviceALSA.cpp:143:23: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
       fprintf(stderr, "[Alsa]The rate %"PRIu32" Hz is not supported by your hardware.\n  ==> Using %d Hz instead.\n", _frequency, exact_rate);
                       ^
/tmp/makepkg/avidemux-git/src/avidemux/avidemux_plugins/ADM_audioDevices/Alsa/ADM_deviceALSA.cpp:393:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
     printf("[Alsa]: new %s val: %"PRIu32"\n",(which_vol?"master":"pcm"),volume);
            ^
[  7%] Building C object ADM_audioDecoders/ADM_ad_mad/ADM_libMad/CMakeFiles/ADM_libMad.dir/layer12.c.o
/tmp/makepkg/avidemux-git/src/avidemux/avidemux_plugins/ADM_audioDevices/Alsa/ADM_deviceALSA.cpp:143:23: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
       fprintf(stderr, "[Alsa]The rate %"PRIu32" Hz is not supported by your hardware.\n  ==> Using %d Hz instead.\n", _frequency, exact_rate);
                       ^
/tmp/makepkg/avidemux-git/src/avidemux/avidemux_plugins/ADM_audioDevices/Alsa/ADM_deviceALSA.cpp:393:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
     printf("[Alsa]: new %s val: %"PRIu32"\n",(which_vol?"master":"pcm"),volume);
            ^


[ 26%] Building CXX object ADM_demuxers/Asf/CMakeFiles/ADM_dm_asf.dir/ADM_asfHeaders.cpp.o
/tmp/makepkg/avidemux-git/src/avidemux/avidemux_plugins/ADM_demuxers/Matroska/ADM_mkvEntries.cpp: En la función ââ,¬Ëœvoid createAACExtraData(const char*, entryDesc*)ââ,¬â,,¢:
/tmp/makepkg/avidemux-git/src/avidemux/avidemux_plugins/ADM_demuxers/Matroska/ADM_mkvEntries.cpp:102:30: aviso: ISO C++ forbids converting a string constant to ââ,¬Ëœchar*ââ,¬â,,¢ [-Wwrite-strings]
     if(hasNeedle(codec,"MAIN")) profile=0;
                              ^
/tmp/makepkg/avidemux-git/src/avidemux/avidemux_plugins/ADM_demuxers/Matroska/ADM_mkvEntries.cpp:103:33: aviso: ISO C++ forbids converting a string constant to ââ,¬Ëœchar*ââ,¬â,,¢ [-Wwrite-strings]
     else if(hasNeedle(codec,"LC")) profile=1;
                                 ^
/tmp/makepkg/avidemux-git/src/avidemux/avidemux_plugins/ADM_demuxers/Matroska/ADM_mkvEntries.cpp:104:34: aviso: ISO C++ forbids converting a string constant to ââ,¬Ëœchar*ââ,¬â,,¢ [-Wwrite-strings]
     else if(hasNeedle(codec,"SSR")) profile=2;
                                  ^
/tmp/makepkg/avidemux-git/src/avidemux/avidemux_plugins/ADM_demuxers/Matroska/ADM_mkvEntries.cpp:109:29: aviso: ISO C++ forbids converting a string constant to ââ,¬Ëœchar*ââ,¬â,,¢ [-Wwrite-strings]
     if(hasNeedle(codec,"SBR"))
                             ^



/tmp/makepkg/avidemux-git/src/avidemux/avidemux_plugins/ADM_videoFilters6/fluxSmooth/ADM_vidFluxAsm.cpp: In function 'void initScaleTab()':
/tmp/makepkg/avidemux-git/src/avidemux/avidemux_plugins/ADM_videoFilters6/fluxSmooth/ADM_vidFluxAsm.cpp:44:20: warning: iteration 65535 invokes undefined behavior [-Waggressive-loop-optimizations]
    scaletab_MMX[i] = ( (uint64_t)scaletab[ i        & 15]       ) |
    ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          (((uint64_t)scaletab[(i >>  4) & 15]) << 16) |
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          (((uint64_t)scaletab[(i >>  8) & 15]) << 32) |
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          (((uint64_t)scaletab[(i >> 12) & 15]) << 48);
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/makepkg/avidemux-git/src/avidemux/avidemux_plugins/ADM_videoFilters6/fluxSmooth/ADM_vidFluxAsm.cpp:42:26: note: within this loop
   for(uint32_t  i = 0; i < 65536; ++i)
                        ~~^~~~~~~



/tmp/makepkg/avidemux-git/src/avidemux/avidemux_plugins/ADM_videoEncoder/x265/qt4/Q_x265.cpp:440:28: warning: backslash and newline separated by space
     ADM_assert(idx<count); \


exist more (like redefinitions), but i only posted the most easy (?) fixeable