[CinCV TNG] [PATCH] Make C++11 requirement optional

igor_ubuntu sitelve at gmail.com
Sun Aug 27 18:09:53 CEST 2017


>
>
>>
2017-08-27 17:50 GMT+03:00 Einar Rünkaru <einarrunkaru at gmail.com>:

> Hi.
>
> GCC versions without C++11 support are still in use
> Priority patch. Should be applied before other pending patches.
>
> Igor_ubuntu, does this patch work for you?
>
> Patch attached
>
> Einar
>

git clone ...
git am ..../0001-Make-C-11-requirement-optional.patch
./autogen.sh
./configure
make

I am getting

....
vorbis.c: In function ‘decode’:
vorbis.c:219: warning: format ‘%p’ expects type ‘void *’, but argument 2
has type ‘int’
  CC     yuv4.lo
  CC     yv12.lo
  CC     wmx2.lo
  CC     wma.lo
  CC     mpeg4.lo
wma.c: In function ‘decode’:
wma.c:191: warning: ‘avcodec_decode_audio’ is deprecated (declared at
../quicktime/ffmpeg/libavcodec/avcodec.h:2649)
wma.c:215: warning: format ‘%d’ expects type ‘int’, but argument 2 has type
‘long int’
wma.c:215: warning: format ‘%d’ expects type ‘int’, but argument 3 has type
‘long int’
  CCLD   libquicktimecv.la
make[3]: Leaving the directory
`/home/user/Downloads/CNR/sborky/cvo/quicktime'
make[2]: Leaving the directory
`/home/user/Downloads/CNR/sborky/cvo/quicktime'
Making all in guicast
make[2]: Entering the directory
`/home/user/Downloads/CNR/sborky/cvo/guicast'
  CXX    bcbar.lo
  CXX    bcbitmap.lo
  CXX    bcbutton.lo
cc1plus: error: -Werror=literal-suffix: No option -Wliteral-suffix
make[2]: *** [bcbitmap.lo] Error 1
make[2]: *** Waiting for unfinished jobs...
cc1plus: error: -Werror=literal-suffix: No option -Wliteral-suffix
make[2]: *** [bcbutton.lo] Error 1
cc1plus: error: -Werror=literal-suffix: No option -Wliteral-suffix
make[2]: *** [bcbar.lo] Error 1
make[2]: Leaving the directory `/home/user/Downloads/CNR/sborky/cvo/guicast'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving the directory `/home/user/Downloads/CNR/sborky/cvo'
make: *** [all] Error 2
:~/Downloads/CNR/sborky/cvo$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cinelerra-cv.org/pipermail/cinelerra/attachments/20170827/2c96941c/attachment.html>


More information about the Cinelerra mailing list