Originally Posted By: techtom
Code:
   for ( set_t::const_iterator i = children.begin();

Any ideas?

I hate futzing with template typedef crap in C++. Change all of those const_iterator definitions to auto:
Code:
    for ( auto i = children.begin();

and, in Make.rules.gcc, around line 184, add the -std=c++0x flag (and remove the -fno-rtti):
Code:
TARGET_COMPILEFLAGS=-c -pipe -Wall -Wundef -W -Wpointer-arith -Wconversion -Wstrict-prototypes -Wwrite-strings $(TARGET_CPUFLAGS) $(TARGET_INCLUDEPATH) $(TARGET_DEFINES) $(TARGET_DBG2) -D_GNU_SOURCE
TARGET_CFLAGS=$(TARGET_COMPILEFLAGS)
ifeq ($(ARCH), arm)
TARGET_CXXFLAGS=-fno-exceptions $(TARGET_COMPILEFLAGS)
else
TARGET_CXXFLAGS=-std=c++0x -m32 $(TARGET_COMPILEFLAGS)
endif


Edited by canuckInOR (15/11/2013 18:16)
Edit Reason: pedanticness...