=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for rfstool-0.14nb1 --- rfstool.o --- --- reiserfs.o --- --- physicaldrive.o --- --- rfstool.o --- g++ -O1 -c rfstool.cpp --- reiserfs.o --- g++ -O1 -c reiserfs.cpp --- physicaldrive.o --- g++ -O1 -c physicaldrive.cpp --- rfstool.o --- rfstool.cpp:332:3: warning: delete called on 'IPhysicalDrive' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor] delete drive; --- reiserfs.o --- reiserfs.cpp:151:2: warning: delete called on 'IPhysicalDrive' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor] --- rfstool.o --- ^ --- reiserfs.o --- delete m_pDrive; ^ --- rfstool.o --- rfstool.cpp:380:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] dirname = "/"; --- reiserfs.o --- reiserfs.cpp:250:92: warning: format specifies type 'int' but the argument has type 'DWORD' (aka 'unsigned long') [-Wformat] --- rfstool.o --- ^ --- reiserfs.o --- printf( "Drive %d, Partition %d is a ReiserFS -> using that\n",iDrive, iPartition ); ~~ ^~~~~~~~~~ %lu --- rfstool.o --- 2 warnings generated. --- gtools.o --- --- physicaldrive.o --- physicaldrive.cpp:121:43: warning: format specifies type 'short' but the argument has type 'DWORD' (aka 'unsigned long') [-Wformat] printf(" TracksPerCylinder = %hd\n", dg.TracksPerCylinder ); ~~~ ^~~~~~~~~~~~~~~~~~~~ %lu physicaldrive.cpp:122:41: warning: format specifies type 'short' but the argument has type 'DWORD' (aka 'unsigned long') [-Wformat] printf(" SectorsPerTrack = %hd\n", dg.SectorsPerTrack ); ~~~ ^~~~~~~~~~~~~~~~~~ %lu physicaldrive.cpp:123:40: warning: format specifies type 'short' but the argument has type 'DWORD' (aka 'unsigned long') [-Wformat] printf(" BytesPerSector = %hd\n", dg.BytesPerSector ); ~~~ ^~~~~~~~~~~~~~~~~ %lu --- reiserfs.o --- reiserfs.cpp:342:82: warning: format specifies type 'int' but the argument has type 'DWORD' (aka 'unsigned long') [-Wformat] printf( "Drive %d, Partition %d is a ReiserFS\n",iDrive, iPartition ); ~~ ^~~~~~~~~~ %lu reiserfs.cpp:362:9: warning: delete called on 'IPhysicalDrive' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor] delete m_pDrive; ^ reiserfs.cpp:414:66: warning: format specifies type 'int' but the argument has type 'DWORD' (aka 'unsigned long') [-Wformat] printf("ERROR, drive only has partitions [0..%d]\n", pLI->PartitionCount ); ~~ ^~~~~~~~~~~~~~~~~~~ %lu --- physicaldrive.o --- physicaldrive.cpp:238:39: warning: format specifies type 'int' but the argument has type 'DWORD' (aka 'unsigned long') [-Wformat] printf(" PartitionCount = %d\n", pLI->PartitionCount ); ~~ ^~~~~~~~~~~~~~~~~~~ %lu physicaldrive.cpp:248:45: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf("\n --- PARTITION %d ---\n\n", ulPartition ); ~~ ^~~~~~~~~~~ %lu physicaldrive.cpp:257:111: warning: format specifies type 'int' but the argument has type 'DWORD' (aka 'unsigned long') [-Wformat] printf("Warning %s, unable to read %d bytes from offset %" FMT_QWORD "\n", (LPCSTR) GetLastErrorString(), BytesPerSector, diskoffset ); --- reiserfs.o --- reiserfs.cpp:661:5: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete bMemory; ^ [] reiserfs.cpp:610:22: note: allocated with 'new[]' here LPBYTE bMemory = new BYTE[dwBlockSize]; ^ --- physicaldrive.o --- ~~ ^~~~~~~~~~~~~~ %lu physicaldrive.cpp:263:60: warning: format specifies type 'int' but the argument has type 'DWORD' (aka 'unsigned long') [-Wformat] printf(" Read %d bytes at offset %" FMT_QWORD "\n", (DWORD) BytesPerSector, diskoffset ); ~~ ^~~~~~~~~~~~~~~~~~~~~~ %lu --- gtools.o --- g++ -O1 -c gtools.cpp --- physicaldrive.o --- 7 warnings generated. --- pdriveposix.o --- --- reiserfs.o --- reiserfs.cpp:770:23: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] printf("File %s (%"FMT_QWORD" Bytes)\n", (const char*) strLocalPath, pFile->m_stat.sd_size ); ^ reiserfs.cpp:902:60: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] printf("found\nRetrieving a total of %"FMT_QWORD" bytes\n", pFile->m_stat.sd_size ); ^ reiserfs.cpp:1220:55: warning: format specifies type 'int' but the argument has type 'DWORD' (aka 'unsigned long') [-Wformat] printf("*** FATAL ERROR, unable to read block %d\n", BlockNumber ); ~~ ^~~~~~~~~~~ %lu --- pdriveposix.o --- g++ -O1 -c pdriveposix.cpp --- reiserfs.o --- reiserfs.cpp:1352:27: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] printf("%s(%d,%d,%"FMT_QWORD",%d) DIRECTORY:\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type ); --- gtools.o --- gtools.cpp:241:9: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] --- reiserfs.o --- ^ --- pdrivefile.o --- --- gtools.o --- delete lpszData; ^ [] gtools.cpp:234:26: note: allocated with 'new[]' here char* lpszData = new char[ dwCombinedLength + 2 ]; ^ --- reiserfs.o --- --- pdrivefile.o --- g++ -O1 -c pdrivefile.cpp --- gtools.o --- 1 warning generated. --- reiserfs.o --- reiserfs.cpp:1352:67: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d) DIRECTORY:\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type ); ~~ ^~~~~~~~~~~~~~~ %lu reiserfs.cpp:1352:84: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d) DIRECTORY:\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type ); ~~ ^~~~~~~~~~~~~~~~~ %lu reiserfs.cpp:1352:120: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d) DIRECTORY:\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type ); ~~ ^~~~~~~~~~~~~ %lu reiserfs.cpp:1372:25: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] pDH->deh_offset, ^~~~~~~~~~~~~~~ reiserfs.cpp:1373:25: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] pDH->deh_dir_id, ^~~~~~~~~~~~~~~ reiserfs.cpp:1374:25: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] pDH->deh_objectid, ^~~~~~~~~~~~~~~~~ reiserfs.cpp:1390:31: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] printf("%s(%d,%d,%"FMT_QWORD",%d) STAT2 (%d)\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type, m_stat.sd_size ); ^ reiserfs.cpp:1390:71: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d) STAT2 (%d)\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type, m_stat.sd_size ); ~~ ^~~~~~~~~~~~~~~ %lu reiserfs.cpp:1390:88: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d) STAT2 (%d)\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type, m_stat.sd_size ); ~~ ^~~~~~~~~~~~~~~~~ %lu reiserfs.cpp:1390:124: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d) STAT2 (%d)\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type, m_stat.sd_size ); ~~ ^~~~~~~~~~~~~ %lu reiserfs.cpp:1390:139: warning: format specifies type 'int' but the argument has type 'U64' (aka 'unsigned long long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d) STAT2 (%d)\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type, m_stat.sd_size ); ~~ ^~~~~~~~~~~~~~ %llu reiserfs.cpp:1395:31: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] printf("%s(%d,%d,%"FMT_QWORD",%d) STAT1 (%d)\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type, m_stat.sd_size ); ^ reiserfs.cpp:1395:71: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d) STAT1 (%d)\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type, m_stat.sd_size ); ~~ ^~~~~~~~~~~~~~~ %lu reiserfs.cpp:1395:88: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d) STAT1 (%d)\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type, m_stat.sd_size ); ~~ ^~~~~~~~~~~~~~~~~ %lu reiserfs.cpp:1395:124: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d) STAT1 (%d)\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type, m_stat.sd_size ); ~~ ^~~~~~~~~~~~~ %lu reiserfs.cpp:1395:139: warning: format specifies type 'int' but the argument has type 'U64' (aka 'unsigned long long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d) STAT1 (%d)\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type, m_stat.sd_size ); ~~ ^~~~~~~~~~~~~~ %llu reiserfs.cpp:1409:31: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] printf("%s(%d,%d,%"FMT_QWORD",%d) UNKNOWN ???\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type ); ^ reiserfs.cpp:1409:72: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d) UNKNOWN ???\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type ); ~~ ^~~~~~~~~~~~~~~ %lu reiserfs.cpp:1409:89: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d) UNKNOWN ???\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type ); ~~ ^~~~~~~~~~~~~~~~~ %lu reiserfs.cpp:1409:125: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d) UNKNOWN ???\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type ); ~~ ^~~~~~~~~~~~~ %lu reiserfs.cpp:1415:27: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] printf("%s(%d,%d,%"FMT_QWORD",%d) DIRECT\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type ); ^ reiserfs.cpp:1415:63: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d) DIRECT\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type ); ~~ ^~~~~~~~~~~~~~~ %lu reiserfs.cpp:1415:80: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d) DIRECT\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type ); ~~ ^~~~~~~~~~~~~~~~~ %lu reiserfs.cpp:1415:116: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d) DIRECT\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type ); ~~ ^~~~~~~~~~~~~ %lu reiserfs.cpp:1419:27: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] printf("%s(%d,%d,%"FMT_QWORD",%d) INDIRECT\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type ); ^ reiserfs.cpp:1419:65: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d) INDIRECT\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type ); ~~ ^~~~~~~~~~~~~~~ %lu reiserfs.cpp:1419:82: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d) INDIRECT\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type ); ~~ ^~~~~~~~~~~~~~~~~ %lu reiserfs.cpp:1419:118: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d) INDIRECT\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type ); ~~ ^~~~~~~~~~~~~ %lu reiserfs.cpp:1423:27: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] printf("%s(%d,%d,%"FMT_QWORD",%d) UNKNOWN ???\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type ); ^ reiserfs.cpp:1423:68: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d) UNKNOWN ???\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type ); ~~ ^~~~~~~~~~~~~~~ %lu reiserfs.cpp:1423:85: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d) UNKNOWN ???\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type ); ~~ ^~~~~~~~~~~~~~~~~ %lu reiserfs.cpp:1423:121: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d) UNKNOWN ???\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type ); ~~ ^~~~~~~~~~~~~ %lu reiserfs.cpp:1447:23: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] printf("%s(%d,%d,%"FMT_QWORD",%d)->%d\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type, pointer->dc_block_number ); ^ reiserfs.cpp:1447:56: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d)->%d\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type, pointer->dc_block_number ); ~~ ^~~~~~~~~~~~~~~ %lu reiserfs.cpp:1447:73: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d)->%d\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type, pointer->dc_block_number ); ~~ ^~~~~~~~~~~~~~~~~ %lu reiserfs.cpp:1447:109: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d)->%d\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type, pointer->dc_block_number ); ~~ ^~~~~~~~~~~~~ %lu reiserfs.cpp:1447:124: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] printf("%s(%d,%d,%"FMT_QWORD",%d)->%d\n", szIndent, cpukey.k_dir_id, cpukey.k_objectid, cpukey.k_offset, cpukey.k_type, pointer->dc_block_number ); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~ %lu reiserfs.cpp:1452:39: warning: format specifies type 'int' but the argument has type 'U32' (aka 'unsigned long') [-Wformat] printf("%s(right)->%d\n", szIndent, pointer->dc_block_number ); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~ %lu reiserfs.cpp:1674:84: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("ERROR, not enough memory to allocate %d bytes for indices, aborting\n", indexsize ); ~~ ^~~~~~~~~ %ld reiserfs.cpp:1701:53: warning: format specifies type 'int' but the argument has type 'DWORD' (aka 'unsigned long') [-Wformat] printf("ERROR, expected block size %d, got %d\n", m_dwBlocksize, dwSize ); ~~ ^~~~~~~~~~~~~ %lu reiserfs.cpp:1701:68: warning: format specifies type 'int' but the argument has type 'DWORD' (aka 'unsigned long') [-Wformat] printf("ERROR, expected block size %d, got %d\n", m_dwBlocksize, dwSize ); ~~ ^~~~~~ %lu 41 warnings and 10 errors generated. *** [reiserfs.o] Error code 1 bmake: stopped in /var/pkgsrc/work/sysutils/rfstool/work/rfstool-0.14/RFSTOOL 1 error bmake: stopped in /var/pkgsrc/work/sysutils/rfstool/work/rfstool-0.14/RFSTOOL *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/sysutils/rfstool *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/sysutils/rfstool