Re: [Dev-C++] problem using dll: is c++ error??!?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Axel B. <th...@th...> - 2004-04-22 08:17:30
|
OROSZI Balázs wrote: > No, sadly that will never be possible in the foreseeable future. > > To complicate things even more, GCC itself changes it's own name > mangling-scheme from time-to-time. That means for example, C++ libraries > (not just DLLs, but static ones also) that are compiled with GCC 3.2.3 > cannot be used with GCC 3.3.3, because of the name mangling changed > between these versions too. > I just added this as a side note, because it caused quite a lot of > headache for me until I figured this out... :) oh yeah, thanks, this fact is just sooooooo well documented. if I had known this I hadnt even tried ... . does anyone actually mention this in its documentation or is this just a fact "one knows"?? :-) one wonders whether this should be standardized so that ALL libs from ALL compilers could be used together. well. but anyhow - i managed to re-compile berkeley db with dev-c++, using the "import msvc project" function (GREEAAAAATTT!!!! - I did not realize I had such a thing until it bit me ;-) and modifying some #defines. now it should work just fine :-)) thanks and greetings, axel. |