bug-commoncpp
[Top][All Lists]
Advanced

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

Re: Problem with commonc++-??? and gcc-3.0.3


From: Daniel E Baumann
Subject: Re: Problem with commonc++-??? and gcc-3.0.3
Date: Sun, 3 Feb 2002 19:56:09 -0600
User-agent: Mutt/1.3.27i

On Sun, Feb 03, 2002 at 02:08:13PM +0200, Vladimir Ciobanu wrote:
> 
>    I just installed gcc-3.0.3 and I've got some errors with commomc++-1.9.5
> presented at the end of the email. I am wondering whether I am doing
> something wrong or is it a known problem with that current commomc++
> package. Are they any patches which would make it compile with gcc-3.0.3 or
> is it going to be supported in later packages ? Any answer will be
> apreciated.
> 
> /bin/sh ../libtool --mode=compile
> -DHAVE_CONFIG_H -I. -I. -I. -I../src     -
> I../src  -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c exception.cpp
> rm -f .libs/exception.lo
> c++ -DHAVE_CONFIG_H -I. -I. -I. -I../src -I../src -g -O2 -D_GNU_SOURCE -D_RE
> ENTR
> ANT -D_THREAD_SAFE -c exception.cpp  -fPIC -DPIC -o
> .libs/exception.lo
> exception.cpp:50: syntax error before `::' token
> exception.cpp:54: syntax error before `::' token
> exception.cpp:57: syntax error before `::' token
> exception.cpp:64: syntax error before `::' token
> exception.cpp:68: syntax error before `::' token
> make[1]: *** [exception.lo] Error 1
> make[1]: Leaving directory `/var/ftp/pub/linux/libs/CommonC++-1.9.5/src'
> make: *** [all-recursive] Error 1
> 
> Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/specs
> Configured with:
> ../gcc-3.0.3/configure --enable-languages=c,c++ --enable-threads
> Thread model: posix
> gcc version 3.0.3

If you read earlier messages this error is due to a typo in
exception.h. You basically have to change the part that goes:

#if defined(HAVE_EXCEPTION) to

#if defined(HAVE_EXCEPTION_HANDLING)

Cheers,
Dan
-- 
Daniel E Baumann      address@hidden 

***Free Dmitry Sklyarov! Boycott Adobe! Repeal DMCA!***

And if cynics ridicule freedom, ridicule community...if ``hard nosed 
realists'' say that profit is the only ideal...just ignore them, and use 
copyleft all the same.
      -- RMS



reply via email to

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