bug-commoncpp
[Top][All Lists]
Advanced

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

Threadlock class causing a compile error; make gripe


From: Ville V Sinkko
Subject: Threadlock class causing a compile error; make gripe
Date: Sun, 29 Sep 2002 16:54:37 +0300 (EET DST)

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.









reply via email to

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