bug-commoncpp
[Top][All Lists]
Advanced

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

Re: Threadlock class causing a compile error; make gripe


From: David Sugar
Subject: Re: Threadlock class causing a compile error; make gripe
Date: Sun, 6 Oct 2002 12:31:39 -0400
User-agent: KMail/1.4.3

You need to use the compile time flags that "ccgnu2-config" reports to 
correctly compile and link Common C++.

On Sunday 29 September 2002 09:54, Ville V Sinkko wrote:
> First:
>
> gcc 2.95.4, commoncpp-1.0.2. Compiling a first test program which includes
> cc++/thread.h. Error:
>
>       /usr/local/include/cc++/thread.h:313: syntax error before `;'
>
> Ie. the first effective line of the declaration of class ThreadLock. My
> system does have pthread_rwlock_t (defined in bits/pthreadtypes.h, it
> seems).
>
>
>
> Second:
>
> 'Make install' puts all the header files in <wherever>/cc++2/cc++/, but
> all the headers look for each other in just <wherever>/cc++/, so you need
> to move the header directory by hand after installing it if you want the
> headers to function.
>
>
>
>
>
>
>
> _______________________________________________
> Bug-commoncpp mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp





reply via email to

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