bug-commoncpp
[Top][All Lists]
Advanced

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

Re: Using CommonC++-1.9.2 library


From: Federico Montesino Pouzols
Subject: Re: Using CommonC++-1.9.2 library
Date: Wed, 19 Dec 2001 11:11:38 +0100
User-agent: Mutt/1.2.5i

On Wed, Dec 19, 2001 at 11:00:01AM +0100, Pavel Tsekov wrote:
> There was post on the mailing list concerning this problem yesterday - a
> patch was supplied also.
> 

        I think Hieu Thao has an additional problem...

> > Hieu Thao wrote:
> > 
> > Dear sir,
> > I want to develop a small application using CommonC++-1.9.2 under
> > redhat linux 7.1
> > By Kdevelop Project, I install CommonC++-1.9.2 without error. But
> > using CommonC+++ library in the application then:
> > 
> > 
> > Project Options - KDevelop
> > Linker Options
> >     Library flags:
> >         -L/usr/local/lib -D_REENTRANT -D_THREAD_SAFE  -g -O2
> > -D_GNU_SOURCE
> >     Library
> >         Additional libraries:
> >             -lpthread /usr/local/lib/libccext.a
> > /usr/local/lib/libccgnu.a
> > 
> > When I complier then following error
> > 
> > g++ -DHAVE_CONFIG_H -I. -I. -I..     -O0 -g3 -Wall    -c main.cpp
> > In file included from /usr/local/include/cc++/file.h:49,
> >                  from main.cpp:27:


        The post Pavel refers to solves the warning about
ccxx_sigsuspend, but there is also a syntax error in line 334, where
the type `pthread_rwlock_t' is used. 

> > /usr/local/include/cc++/thread.h:334: syntax error before `;'
> > /usr/local/include/cc++/thread.h:1010: warning: `void
> > ost::ccxx_sigsuspend (int)' declared `static' but

        Did you use the `ccgnu-config' script output to get the
compiler/linker flags?

        I am sure cc++ 1.9.2 compiles and works in RH 7.1.



reply via email to

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