Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++ - Progresses...still a little problem (1 easy question)
I think i have solved the config.h configuration, patching the configure script to run with dmc (problem with cpp, the gnu preprocessor) and editing by hand obvious mistakes. The inline problem is that dmc can't take extern inline but inline and static inline are ok. Just to be sure, inline and __inline has the same meaning for dmc? And what is the difference between static inline and inline for dmc? I'm going to debug the rng (random number generator) problem, maybe you could help me with the smaller one: I still have the problem of _atanh: symbol undefind in libgsl.lib That is: libgsl.lib have the _gsl_atanh symbol, and if i specify that i don't have atanh in the math.h library, than: #if !HAVE_DECL_ATANH #define atanh gsl_atanh #endif So obviously no problem. Instead if i specify that i have this function in dm\include\math.h (and it's true), when i link testcomplex.obj and libgsl.lib to create the test executable (for gsl complex functions) it gives the error (as now atanh is not inside libgsl.lib). Why is it searching for this symbol and is not just using the function atanh? Maybe i'm doing something wrong when creating the libgsl.lib library? (I just linked the various .obj files with lib -c -p256 libgsl.lib ...). If i run libunres on libgsl.lib i get the _atanh symbol with _fopen _fprintf and the other system function (still, defined in the various dm\include headers). I know this is probably a stupid mistake, but i'm a newbie :) Thank you in advance Stefano Mar 07 2006
"Stefano" <Stefano_member pathlink.com> wrote in message news:dujrue$13qu$1 digitaldaemon.com...I think i have solved the config.h configuration, patching the configure script to run with dmc (problem with cpp, the gnu preprocessor) and editing by hand obvious mistakes. The inline problem is that dmc can't take extern inline Mar 09 2006
The inline problem is that dmc can't take extern inline Mar 10 2006
I'll add the inline thing in to the queue of bugs to be fixed. In the meantime, you can make it work out of the box now by using the -D compiler switch to rename the static inlines to unique names for each source file. Bit of a pain, but doable. Mar 11 2006
|