bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems building 1.0.3 on win32


From: Scott Stanton
Subject: Problems building 1.0.3 on win32
Date: Sun, 3 Nov 2002 22:25:03 -0800

I've just downloaded the 1.0.3 tarball, and I'm trying to build it with
gcc3.2 under cygwin with little success.  I'm just trying to do a simple
configure/build and I get errors like the following:

thread.cpp:357: invalid use of undefined type `struct ost::PosixThread'
../include/cc++/thread.h:1055: forward declaration of `struct
ost::PosixThread'
thread.cpp:357: assignment (not initialization) in declaration
thread.cpp:358: invalid use of undefined type `struct ost::PosixThread'
../include/cc++/thread.h:1055: forward declaration of `struct
ost::PosixThread'
thread.cpp: In static member function `static void
   ost::ThreadImpl::PosixThreadSigHandler(int)':
thread.cpp:1202: cannot dynamic_cast `t' (of type `class ost::Thread*')
to type
   `struct ost::PosixThread*' (target is not pointer or reference to
complete type)

In looking at the header files, there seems to be a mess of #ifdefs
around cygwin/mingw32 and win32 that leave things in a confused state.  

Has anyone been able to make this work?   What configure flags have
people used successfully under cygwin?

--Scott






reply via email to

[Prev in Thread] Current Thread [Next in Thread]