From: <dan...@ya...> - 2001-06-21 21:35:44
|
--- Mumit Khan <khan@NanoTech.Wisc.EDU> wrote: > On Thu, 21 Jun 2001, Danny Smith wrote: > > > > > Two problems: > > 1: C++ binary dist missing g++-v3 headers > > Should've just left the one big package instead of breaking it up > after a > very long day. Thanks. I'll fix this in update 1, perhaps tomorrow. > > > 2. ICE when using mthreads. > > > > In file included from ../stlport/stl/debug/_debug.c:166, > > from ../stlport/stl/debug/_debug.h:418, > > from ../stlport/utility:36, > > from dll_main.cpp:36: > > ../stlport/stl/_threads.h:301: Internal compiler error in > tree_low_cst, > > at > > cygwin/gcc-3.0/gcc/tree.c:3462 > > Please submit a full bug report, > > with preprocessed source if appropriate. > > See <URL:http://www.gnu.org/software/gcc/bugs.html> for > instructions. > > make: *** [../lib/obj/MINGW32/ReleaseD/dll_main.o] Error 1 > > Please send me the preprocessed file (-save-temps --> .ii) and I'll > take a > look. > Not mthreads-specific testing dllhelpers with native build. Same problem as with your build. Danny D:\develop\dllhelpers-0.2.5\c++>c++ -save-temps -DBUILDING_DLL=1 -I. dllclass.o dllclass.cc In file included from dllclass.cc:1: dllclass.h:20: Internal compiler error in tree_low_cst, at gcc-3.0/gcc/tree.c: 3462 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. dllclass.ii ===================================================================== # 1 "dllclass.cc" # 1 "dllclass.h" 1 # 14 "dllclass.h" struct __attribute__((dllexport)) DllClassBase { virtual int virtual_method () const; }; class __attribute__((dllexport)) DllClass : public DllClassBase { public: DllClass (int i = 0); ~DllClass (); int non_virtual_method () const; virtual int virtual_method () const; int inline_method() {return i_;} __attribute__((dllexport)) static int instances; private: int i_; }; inline int DllClassBase::virtual_method () const { return -1; } inline int DllClass::non_virtual_method () const { return i_ * i_; } # 2 "dllclass.cc" 2 DllClass::DllClass (int i) : i_(i) { ++instances; } DllClass::~DllClass () { --instances; } int DllClass::virtual_method () const { return i_ * i_ * i_; } int DllClass::instances; ====================================================================== _____________________________________________________________________________ http://messenger.yahoo.com.au - Yahoo! Messenger - Voice chat, mail alerts, stock quotes and favourite news and lots more! |