Open Blad3forc3 opened 2 years ago
Never met yet this compilation problem, but will be nice to investigate. Could you also check with the original VJ source code?
The problem occurs in the riscdasmbrowser.cpp file and, probably, in the RefreshContents() function. It may worth to change 'char string[1024]' with a greater value than 2062 (reported by gcc), but the dasmjag(...) function should never return a buffer filled with more than 1024 characters.
In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6496, from /usr/include/c++/9/string:55, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:52, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:50, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QtWidgetsDepends:3, from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QtWidgets:3, from src/gui/debug/riscdasmbrowser.h:11, from src/gui/debug/riscdasmbrowser.cpp:17: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘builtin___sprintf_chk’ output between 13 and 2062 bytes into a destination of size 1024 36 | return builtin_sprintf_chk (s, USE_FORTIFY_LEVEL - 1, |
~~~~~~^~~~~~~~ 37 | bos (s), fmt, __va_arg_pack ()); |~~~~~~~~~ make[1]: Leaving directory '/media//Temp/Virtual-Jaguar-Rx-2.1.3-R5a-hotfix.1' make: [Makefile:75: virtualjaguar] Error 2Think ive got all dependencies installed. Tried using gcc9 and gcc10