Frank Mehnert wrote:
Tiago,
On Tuesday 15 March 2005 12:33, Tiago Jorge wrote:
Could somebody tell me if to use C++ custoum templates i must use the stdlibc++?
As far as I know C++ templates do not need any support from the stdlibc++. Just make sure that you compile your C++ code with -fno-rtti and -fno-exceptions.
Frank
l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
thank you again for your prompt answer... I already compile with those flags. My problem is the following:
because i'm using the dielibc i can't use STL, because it launches exceptions. So, i've made my own templates of vector and map without exceptions and i'm trying to use them. the error is the following:
FailureDetector.o(.eh_frame+0x11): In function `map<int, heartbeat>::del(int)': /home/tiago/l4/pkg/failuredetector/server/src/WOO_map.h: undefined reference to `__gxx_personality_v0' main.o(.eh_frame+0x11): In function `main': /home/tiago/l4/pkg/failuredetector/server/src/WOO_vector.h:20: undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status
by the way, line 20 is the constructor and it doesn't throws exceptions. So here i am stuck at this point :(
thanks again
Tiago Jorge