octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #51344] [octave forge] (video) warning: compar


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #51344] [octave forge] (video) warning: comparison between signed and unsigned integer expressions
Date: Fri, 1 Mar 2019 16:51:50 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299

Follow-up Comment #1, bug #51344 (project octave):

evaluating current state with v5.1.0 on Windows.  Granted 5.1.0 currently has
the latest version. I tried to 'overinstall' the video package and got an
install error.  (neglected to copy the error before closing Octave).  I then
uninstalled video and attempted to reinstall producing the following install
failure:


octave:7> pkg install -forge video
AVHandler.cc: In member function 'int AVHandler::read_frame(unsigned int)':
AVHandler.cc:358:37: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
   if ((uint64_t)vstream->start_time != AV_NOPTS_VALUE)
                                     ^
oct-avifile.cc: In member function 'void Avifile::addframe(const NDArray&)':
oct-avifile.cc:86:38: warning: format '%d' expects argument of type 'int', but
argument 2 has type 'octave_idx_type {aka long long int}' [-Wformat=]
             frame_rows, frame_columns);
             ~~~~~~~~~~               ^
oct-avifile.cc:86:38: warning: format '%d' expects argument of type 'int', but
argument 3 has type 'octave_idx_type {aka long long int}' [-Wformat=]
aviinfo.cc: In function 'std::__cxx11::string get_filedate(const string&)':
aviinfo.cc:42:3: error: 'octave_time' was not declared in this scope
   octave_time file_mod = file_stat (fn).mtime ();
   ^~~~~~~~~~~
aviinfo.cc:42:3: note: suggested alternative: 'octave_int'
   octave_time file_mod = file_stat (fn).mtime ();
   ^~~~~~~~~~~
   octave_int
aviinfo.cc:44:28: error: 'file_mod' was not declared in this scope
   return octave_localtime (file_mod).strftime ("%d-%b-%Y %H:%M:%S");
                            ^~~~~~~~
aviinfo.cc:44:28: note: suggested alternative: 'fileno'
   return octave_localtime (file_mod).strftime ("%d-%b-%Y %H:%M:%S");
                            ^~~~~~~~
                            fileno
aviinfo.cc:44:10: error: 'octave_localtime' was not declared in this scope
   return octave_localtime (file_mod).strftime ("%d-%b-%Y %H:%M:%S");
          ^~~~~~~~~~~~~~~~
aviinfo.cc:44:10: note: suggested alternative: 'octave_oct_time_h'
   return octave_localtime (file_mod).strftime ("%d-%b-%Y %H:%M:%S");
          ^~~~~~~~~~~~~~~~
          octave_oct_time_h
make: *** [Makefile:20: aviinfo.oct] Error 1
make: Entering directory '/c/programs/octave/temp/oct-X2pgyh/video-1.2.4/src'
C:/Programs/Octave/OCTAVE~1.0-W/mingw64/bin/mkoctfile-5.1.0.exe -Wall -v
-Wno-deprecated-declarations -c -DHAVE_CONFIG_H AVHandler.cc -o AVHandler.o
g++ -c -I/release/mxe-octave-w64/usr/x86_64-w64-mingw32/include 
-IC:\Programs\Octave\OCTAVE~1.0-W\mingw64\include\octave-5.1.0\octave\..
-IC:\Programs\Octave\OCTAVE~1.0-W\mingw64\include\octave-5.1.0\octave
-IC:\Programs\Octave\OCTAVE~1.0-W\mingw64\include   -fopenmp -g -O2  -Wall
-Wno-deprecated-declarations   -DHAVE_CONFIG_H AVHandler.cc -o AVHandler.o
C:/Programs/Octave/OCTAVE~1.0-W/mingw64/bin/mkoctfile-5.1.0.exe -Wall -v
-Wno-deprecated-declarations -c -DHAVE_CONFIG_H oct-avifile.cc -o
oct-avifile.o
g++ -c -I/release/mxe-octave-w64/usr/x86_64-w64-mingw32/include 
-IC:\Programs\Octave\OCTAVE~1.0-W\mingw64\include\octave-5.1.0\octave\..
-IC:\Programs\Octave\OCTAVE~1.0-W\mingw64\include\octave-5.1.0\octave
-IC:\Programs\Octave\OCTAVE~1.0-W\mingw64\include   -fopenmp -g -O2  -Wall
-Wno-deprecated-declarations   -DHAVE_CONFIG_H oct-avifile.cc -o
oct-avifile.o
C:/Programs/Octave/OCTAVE~1.0-W/mingw64/bin/mkoctfile-5.1.0.exe -Wall -v
-Wno-deprecated-declarations -DHAVE_CONFIG_H avifile.cc AVHandler.o
oct-avifile.o -lavformat -lavcodec -lswscale -lavutil -lpthread
g++ -c -I/release/mxe-octave-w64/usr/x86_64-w64-mingw32/include 
-IC:\Programs\Octave\OCTAVE~1.0-W\mingw64\include\octave-5.1.0\octave\..
-IC:\Programs\Octave\OCTAVE~1.0-W\mingw64\include\octave-5.1.0\octave
-IC:\Programs\Octave\OCTAVE~1.0-W\mingw64\include   -fopenmp -g -O2  -Wall
-Wno-deprecated-declarations   -DHAVE_CONFIG_H avifile.cc -o
C:\Users\NICHOL~1.JAN\AppData\Local\Temp/oct-wnAJWS.o
g++ -IC:\Programs\Octave\OCTAVE~1.0-W\mingw64\include\octave-5.1.0\octave\..
-IC:\Programs\Octave\OCTAVE~1.0-W\mingw64\include\octave-5.1.0\octave
-IC:\Programs\Octave\OCTAVE~1.0-W\mingw64\include   -fopenmp -g -O2 -shared
-Wl,-rpath-link,/release/mxe-octave-w64/usr/x86_64-w64-mingw32/lib
-L/release/mxe-octave-w64/usr/x86_64-w64-mingw32/lib
-L/release/mxe-octave-w64/usr/x86_64-w64-mingw32/qt5/lib
-Wl,--export-all-symbols  -Wall -Wno-deprecated-declarations -o avifile.oct 
AVHandler.o oct-avifile.o
C:\Users\NICHOL~1.JAN\AppData\Local\Temp/oct-wnAJWS.o   -lavformat -lavcodec
-lswscale -lavutil -lpthread
-LC:\Programs\Octave\OCTAVE~1.0-W\mingw64\lib\octave\5.1.0
-LC:\Programs\Octave\OCTAVE~1.0-W\mingw64\lib
-LC:\Programs\Octave\OCTAVE~1.0-W\mingw64\lib\octave\5.1.0 -loctinterp
-loctave  -Wl,-rpath-link,/release/mxe-octave-w64/usr/x86_64-w64-mingw32/lib
-L/release/mxe-octave-w64/usr/x86_64-w64-mingw32/lib
-L/release/mxe-octave-w64/usr/x86_64-w64-mingw32/qt5/lib
-Wl,--export-all-symbols
C:/Programs/Octave/OCTAVE~1.0-W/mingw64/bin/mkoctfile-5.1.0.exe -Wall -v
-Wno-deprecated-declarations -DHAVE_CONFIG_H aviread.cc AVHandler.o
oct-avifile.o -lavformat -lavcodec -lswscale -lavutil -lpthread
g++ -c -I/release/mxe-octave-w64/usr/x86_64-w64-mingw32/include 
-IC:\Programs\Octave\OCTAVE~1.0-W\mingw64\include\octave-5.1.0\octave\..
-IC:\Programs\Octave\OCTAVE~1.0-W\mingw64\include\octave-5.1.0\octave
-IC:\Programs\Octave\OCTAVE~1.0-W\mingw64\include   -fopenmp -g -O2  -Wall
-Wno-deprecated-declarations   -DHAVE_CONFIG_H aviread.cc -o
C:\Users\NICHOL~1.JAN\AppData\Local\Temp/oct-xtzT7x.o
g++ -IC:\Programs\Octave\OCTAVE~1.0-W\mingw64\include\octave-5.1.0\octave\..
-IC:\Programs\Octave\OCTAVE~1.0-W\mingw64\include\octave-5.1.0\octave
-IC:\Programs\Octave\OCTAVE~1.0-W\mingw64\include   -fopenmp -g -O2 -shared
-Wl,-rpath-link,/release/mxe-octave-w64/usr/x86_64-w64-mingw32/lib
-L/release/mxe-octave-w64/usr/x86_64-w64-mingw32/lib
-L/release/mxe-octave-w64/usr/x86_64-w64-mingw32/qt5/lib
-Wl,--export-all-symbols  -Wall -Wno-deprecated-declarations -o aviread.oct 
AVHandler.o oct-avifile.o
C:\Users\NICHOL~1.JAN\AppData\Local\Temp/oct-xtzT7x.o   -lavformat -lavcodec
-lswscale -lavutil -lpthread
-LC:\Programs\Octave\OCTAVE~1.0-W\mingw64\lib\octave\5.1.0
-LC:\Programs\Octave\OCTAVE~1.0-W\mingw64\lib
-LC:\Programs\Octave\OCTAVE~1.0-W\mingw64\lib\octave\5.1.0 -loctinterp
-loctave  -Wl,-rpath-link,/release/mxe-octave-w64/usr/x86_64-w64-mingw32/lib
-L/release/mxe-octave-w64/usr/x86_64-w64-mingw32/lib
-L/release/mxe-octave-w64/usr/x86_64-w64-mingw32/qt5/lib
-Wl,--export-all-symbols
C:/Programs/Octave/OCTAVE~1.0-W/mingw64/bin/mkoctfile-5.1.0.exe -Wall -v
-Wno-deprecated-declarations -DHAVE_CONFIG_H aviinfo.cc AVHandler.o
oct-avifile.o -lavformat -lavcodec -lswscale -lavutil -lpthread
g++ -c -I/release/mxe-octave-w64/usr/x86_64-w64-mingw32/include 
-IC:\Programs\Octave\OCTAVE~1.0-W\mingw64\include\octave-5.1.0\octave\..
-IC:\Programs\Octave\OCTAVE~1.0-W\mingw64\include\octave-5.1.0\octave
-IC:\Programs\Octave\OCTAVE~1.0-W\mingw64\include   -fopenmp -g -O2  -Wall
-Wno-deprecated-declarations   -DHAVE_CONFIG_H aviinfo.cc -o
C:\Users\NICHOL~1.JAN\AppData\Local\Temp/oct-Xa5crd.o
make: Leaving directory '/c/programs/octave/temp/oct-X2pgyh/video-1.2.4/src'

pkg: error running `make' for the video package.
error: called from
    configure_make at line 99 column 9
    install at line 184 column 7
    pkg at line 441 column 9


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?51344>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]