Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Here is a patch file to support gcc 4.8. Only the example needs to be modified, by adding a missing include. --- irrxml-1.2/example/Makefile 2005-05-14 12:21:18.000000000 +0200 +++ irrxml-1.2-gcc-4.8.2/example/Makefile 2014-11-24 10:25:39.548157130 +0100 @@ -4,7 +4,7 @@ CPP = g++ OBJ = ../src/irrXML.o test.o LINKOBJ = ../src/irrXML.o test.o -LIBS = --no-export-all-symbols --add-stdcall-alias +LIBS = --no-export-all-symbols --add-stdcall-alias CXXINCS = -I"../src" BIN = example CXXFLAGS = $(CXXINCS) diff -ur irrxml-1.2/example/test.cpp irrxml-1.2-gcc-4.8.2/example/test.cpp --- irrxml-1.2/example/test.cpp 2005-07-02 09:00:56.000000000 +0200 +++ irrxml-1.2-gcc-4.8.2/example/test.cpp 2014-11-24 10:24:24.276156287 +0100 @@ -1,3 +1,4 @@ +include <string.h> include <irrXML.h> using namespace irr; using namespace io; |
||||
|
The forum has removed a hash character. The LIBS line should be commented out, as none of the options are recognized anymore by gcc 4.8.2 |
||||
|
The missing include is also required in gcc version 4.3.4 |
|