#968: create a GUI resource editor ----------------------------+--------------------------- Reporter: wkornewald | Owner: Type: enhancement | Status: new Priority: low | Milestone: Unscheduled Component: Applications | Version: R1/pre-alpha1 Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 1 | Platform: All ----------------------------+--------------------------- Comment (by mmadia): Applied these patches locally (with minor tweaks to get them to apply). It compiles fine with gcc2, but gcc4 gives this error: {{{ C++ /generated/x86gcc4/objects/haiku/x86/release/apps/resourceedit/SettingsFile.o /use-the-source/haiku/src/apps/resourceedit/MainWindow.cpp: In member function 'void MainWindow::_Load()': /use-the-source/haiku/src/apps/resourceedit/MainWindow.cpp:762:39: error: array subscript has type 'char' [-Werror=char-subscripts] /use-the-source/haiku/src/apps/resourceedit/MainWindow.cpp:763:29: error: array subscript has type 'char' [-Werror=char-subscripts] cc1plus: all warnings being treated as errors /boot/develop/abi/x86/gcc4/tools/current/bin/gcc -c "/use-the- source/haiku/src/apps/resourceedit/MainWindow.cpp" -O2 -Wall -Wno- trigraphs -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wpointer-arith -Wcast-align -Wsign-compare -Wno-multichar -pipe -fno-strict-aliasing -nostdinc -Wno-deprecated -march=pentium -D_ZETA_USING_DEPRECATED_API_=1 -D_ZETA_TS_FIND_DIR_=1 -Werror -Wno-error=uninitialized -Wno-unused-but- set-variable -D__HAIKU__ -DHAIKU_DISTRO_COMPATIBILITY_DEFAULT -D__INTEL__ -DARCH_x86 -DBOOT_ARCHIVE_IMAGE_OFFSET=300 -DB_USE_BUILTIN_ATOMIC_FUNCTIONS -DHAIKU_INCLUDE_PATENTED_CODE=0 -DHAIKU_TARGET_PLATFORM_HAIKU -iquote /use-the- source/haiku/build/user_config_headers -iquote /use-the- source/haiku/build/config_headers -iquote /use-the- source/haiku/src/apps/resourceedit -iquote /generated/x86gcc4/objects/common/apps/resourceedit -iquote /generated/x86gcc4/objects/haiku_host/x86/common/apps/resourceedit -iquote /generated/x86gcc4/objects/haiku/x86/common/apps/resourceedit -iquote /use-the-source/haiku/src/apps/resourceedit/edits -iquote /use-the- source/haiku/src/apps/resourceedit/interface -iquote /use-the- source/haiku/src/apps/resourceedit/settings -iquote /use-the- source/haiku/src/apps/resourceedit/support -I /use-the- source/haiku/headers/private/interface -I /use-the- source/haiku/headers/private/shared -I /boot/develop/abi/x86/gcc4/tools/gcc-4.6.3-haiku-121101/lib/gcc/i586-pc- haiku/4.6.3/../../../../include/c++/4.6.3 -I /boot/develop/abi/x86/gcc4/tools/gcc-4.6.3-haiku-121101/lib/gcc/i586-pc- haiku/4.6.3/../../../../include/c++/4.6.3/i586-pc-haiku -I /boot/develop/abi/x86/gcc4/tools/gcc-4.6.3-haiku-121101/lib/gcc/i586-pc- haiku/4.6.3/../../../../include/c++/4.6.3/backward -I /boot/develop/abi/x86/gcc4/tools/gcc-4.6.3-haiku-121101/lib/gcc/i586-pc- haiku/4.6.3/../../../../include/c++/4.6.3/ext -I /boot/develop/abi/x86/gcc4/tools/gcc-4.6.3-haiku-121101/lib/gcc/i586-pc- haiku/4.6.3/include -I /boot/develop/abi/x86/gcc4/tools/gcc-4.6.3-haiku-121101/lib/gcc/i586-pc- haiku/4.6.3/include-fixed -I /use-the-source/haiku/headers -I /use-the- source/haiku/headers/posix -I /use-the-source/haiku/headers/glibc -I /use- the-source/haiku/headers/os -I /use-the-source/haiku/headers/os/add-ons -I /use-the-source/haiku/headers/os/add-ons/file_system -I /use-the- source/haiku/headers/os/add-ons/graphics -I /use-the- source/haiku/headers/os/add-ons/input_server -I /use-the- source/haiku/headers/os/add-ons/registrar -I /use-the- source/haiku/headers/os/add-ons/screen_saver -I /use-the- source/haiku/headers/os/add-ons/tracker -I /use-the- source/haiku/headers/os/app -I /use-the-source/haiku/headers/os/device -I /use-the-source/haiku/headers/os/drivers -I /use-the- source/haiku/headers/os/game -I /use-the-source/haiku/headers/os/interface -I /use-the-source/haiku/headers/os/kernel -I /use-the- source/haiku/headers/os/locale -I /use-the-source/haiku/headers/os/media -I /use-the-source/haiku/headers/os/mail -I /use-the- source/haiku/headers/os/midi -I /use-the-source/haiku/headers/os/midi2 -I /use-the-source/haiku/headers/os/net -I /use-the- source/haiku/headers/os/opengl -I /use-the-source/haiku/headers/os/storage -I /use-the-source/haiku/headers/os/support -I /use-the- source/haiku/headers/os/translation -I /use-the- source/haiku/headers/private/. -o "/generated/x86gcc4/objects/haiku/x86/release/apps/resourceedit/MainWindow.o" ; ...failed C++ /generated/x86gcc4/objects/haiku/x86/release/apps/resourceedit/MainWindow.o ... }}} -- Ticket URL: <http://dev.haiku-os.org/ticket/968#comment:13> Haiku <http://dev.haiku-os.org> Haiku - the operating system.