[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Threadlock class causing a compile error; make gripe
From: |
Federico Montesino Pouzols |
Subject: |
Re: Threadlock class causing a compile error; make gripe |
Date: |
Sun, 6 Oct 2002 21:42:06 +0200 |
User-agent: |
Mutt/1.4i |
Yes, the usage of ccgnu2-config is described in the chapter
"Compiler Options" in the manual distributed with later versions of
commoncpp2.
On Sun, Oct 06, 2002 at 12:31:39PM -0400, David Sugar wrote:
> 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
>
>
>
> _______________________________________________
> Bug-commoncpp mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp