Mail Archives: djgpp/1996/04/15/03:29:12
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 :-) !
- Raw text -