Source: qpxtool
Version: 0.7.2-4
Severity: serious
Tags: stretch sid
From an armhf build:
...
g++ -g -O2 -fdebug-prefix-map=/home/debian/qpxtool-0.7.2=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -fPIC
-DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I./include
-I../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o qpx_mmc.o qpx_mmc.cpp
qpx_mmc.cpp:1807:2: warning: #warning DVD+RW total sectors reading [-Wcpp]
#warning DVD+RW total sectors reading
^~~~~~~
In file included from ./include/qpx_mmc.h:24:0,
from qpx_mmc.cpp:22:
./include/qpx_mmc_defs.h:609:1: error: narrowing conversion of ‘-1’ from ‘int’
to ‘char’ inside { } [-Wnarrowing]
};
^
./include/qpx_mmc_defs.h:609:1: error: narrowing conversion of ‘-1’ from ‘int’
to ‘char’ inside { } [-Wnarrowing]
qpx_mmc.cpp: In function ‘int set_cd_speed(drive_info*)’:
qpx_mmc.cpp:2694:3: warning: this ‘if’ clause does not guard...
[-Wmisleading-indentation]
if (!drive->silent) sperror ("SET_CD_SPEED",drive->err); return (drive->err);
^~
qpx_mmc.cpp:2694:60: note: ...this statement, but the latter is misleadingly
indented as if it is guarded by the ‘if’
if (!drive->silent) sperror ("SET_CD_SPEED",drive->err); return (drive->err);
^~~~~~
qpx_mmc.cpp: In function ‘int plextor_px755_get_auth_code(drive_info*, unsigned
char*)’:
qpx_mmc.cpp:3122:3: warning: this ‘for’ clause does not guard...
[-Wmisleading-indentation]
for (int i=0; i<16; i++) printf("0x%02X ",dev->rd_buf[i]&0xFF); printf("\n");
^~~
qpx_mmc.cpp:3122:67: note: ...this statement, but the latter is misleadingly
indented as if it is guarded by the ‘for’
for (int i=0; i<16; i++) printf("0x%02X ",dev->rd_buf[i]&0xFF); printf("\n");
^~~~~~
<builtin>: recipe for target 'qpx_mmc.o' failed
make[3]: *** [qpx_mmc.o] Error 1