Message-Id: <199604150721.AA01971@sun17.thp.Uni-Koeln.DE> From: brenig AT thp DOT Uni-Koeln DOT DE (Wolfram Brenig) Date: Mon, 15 Apr 1996 09:21:50 +0200 To: djgpp AT delorie DOT com Subject: v2.x and class-complex Here is yet another Q to those friendly DJGPP gurus: trying to use class-complex numbers with V2.x I cannot link without unresolved externals if I compile with the -g3 switch on. Consulting the faq-list I only found this: ______________________________________________________________ 8.10 C++ functions still not found ================================== **Q*: I put all the libraries in the above order, but the linker still can't find some C++ functions from `complex.h' and `iostream.h'.* *A* : These functions are declared `inline' and defined on these header files. However, GCC won't inline them unless you compile with optimizations enabled, so it tries to find the compiled version of the functions in the library. Workaround: compile with `-O'. --------------------------------------------------------------- Does this *really* imply that I cannot write GDB-debuggable programs containing complex numbers using DJGPP V2.x ? Any help is most appreciated. I am *not* subscribing to the djgpp mailing list so please mail your comments to: brenig AT thp DOT uni-koeln DOT de Thanks :-) !