04-24-2023, 02:05 PM
(04-24-2023, 09:20 AM)BDS107 Wrote:(04-24-2023, 12:33 AM)eoredson Wrote: I have upgraded the Hexeditor project with:
Code: (Select All)v8.0a rE.0a updates 04/20/2023:
Adds BreakBox for Ctrl-Break trap.
Updates dialogx.inc for correct title.
Includes more old hexeditor in oldsrc.zip
I've got an error => C++ Compilation failed
=> compilelog.txt:
Code: (Select All)internal\c\c_compiler\bin\c++.exe -w -std=gnu++11 -DGLEW_STATIC -DFREEGLUT_STATIC -Iinternal\c\libqb/include -DDEPENDENCY_IMAGE_CODEC -DDEPENDENCY_NO_SOCKETS -DDEPENDENCY_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE internal\c/libqb.cpp -c -o internal\c/libqb_make_01001100000000.o
internal\c\c_compiler\bin\c++.exe -w -std=gnu++11 -DGLEW_STATIC -DFREEGLUT_STATIC -Iinternal\c\libqb/include -DDEPENDENCY_IMAGE_CODEC -DDEPENDENCY_NO_SOCKETS -DDEPENDENCY_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE internal\c/qbx.cpp -c -o internal\c/qbx.o
internal\c\c_compiler\bin\objcopy.exe -Ibinary -Oelf64-x86-64 -Bi386:x86-64 internal\temp/data.bin internal\temp/data.o
In file included from internal\c/qbx.cpp:2545:
internal\c/..\\temp\\main.txt: In function 'void SUB_WRITECONFIG()':
internal\c/..\\temp\\main.txt:58540:32: error: cast from 'HANDLE' {aka 'void*'} to 'int32_t' {aka 'int'} loses precision [-fpermissive]
58540 | *_SUB_WRITECONFIG_OFFSET_HFIND=( int32 )CreateFile((char*)(_SUB_WRITECONFIG_STRING_F)->chr, 384 ,NULL,NULL, 2 ,NULL,NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mingw32-make: *** [Makefile:412: internal\c/qbx.o] Error 1
mingw32-make: *** Waiting for unfinished jobs....
Yes me too!
Quote:internal\c\c_compiler\bin\c++.exe -w -std=gnu++11 -DGLEW_STATIC -DFREEGLUT_STATIC -Iinternal\c\libqb/include -Iinternal\c/parts/core/src/ -Iinternal\c/parts/core/glew/include/ -DDEPENDENCY_IMAGE_CODEC -DDEPENDENCY_NO_SOCKETS -DDEPENDENCY_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE internal\c/libqb.cpp -c -o internal\c/libqb_make_01001100000000.o
internal\c\c_compiler\bin\c++.exe -w -std=gnu++11 -DGLEW_STATIC -DFREEGLUT_STATIC -Iinternal\c\libqb/include -Iinternal\c/parts/core/src/ -Iinternal\c/parts/core/glew/include/ -DDEPENDENCY_IMAGE_CODEC -DDEPENDENCY_NO_SOCKETS -DDEPENDENCY_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE internal\c/qbx.cpp -c -o internal\c/qbx.o
internal\c\c_compiler\bin\objcopy.exe -Ibinary -Oelf64-x86-64 -Bi386:x86-64 internal\temp/data.bin internal\temp/data.o
In file included from internal\c/qbx.cpp:2349:
internal\c/../temp/main.txt: In function 'void SUB_WRITECONFIG()':
internal\c/../temp/main.txt:58540:32: error: cast from 'HANDLE' {aka 'void*'} to 'int32_t' {aka 'int'} loses precision [-fpermissive]
58540 | *_SUB_WRITECONFIG_OFFSET_HFIND=( int32 )CreateFile((char*)(_SUB_WRITECONFIG_STRING_F)->chr, 384 ,NULL,NULL, 2 ,NULL,NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mingw32-make: *** [Makefile:417: internal\c/qbx.o] Error 1
mingw32-make: *** Waiting for unfinished jobs....
b = b + ...