|
From: <se...@in...> - 2006-11-17 07:19:08
|
On Thu, 2006-11-16 at 16:57 -0500, Scott D. Fleming wrote:
> Hi Emilio,
> I've been unable to use OpenC++ with gcc 4.x. OpenC++'s parser barfs
> on some of the standard headers.
see
from: Gilles J. Seguin
subject: "make check" fail on branch rel_2_9 with gcc 4.0.1 in C++
headers
Date:
Thu, 20 Oct 2005 06:03:37 -0400
i am 4.1.1 and working
> I do have it working with gcc 3.x.
> Although, I have hacked the parser a bit to get it to work, and the
> latest OpenC++ cvs snapshot may not have similar patches applied to
> it.
I can add contributed patches to branches rel_2_9
> You may want to install multiple versions of gcc on your system,
> having the latest/greatest as your default and using an older version
> with OpenC++. On Debian-based systems (e.g. Ubuntu), they offer
> different gcc version packages. For the older versions, the commands
> are appended with "-version"; for example, "gcc" becomes "gcc-3.3".
> When you build OpenC++ by hand, you can pass configure options that
> tell it to use the older version of gcc. There is a catch, though.
> OpenC++ hard codes the name of the compiler "g++" into its source as a
> string. Before you compile OpenC++, you will need to find that string
> and replace it with the correct command name for your version. I can't
> recall if there are any other difficulties with getting this sort of
> setup to work, but there may very well be.
>
> Good luck!
> Cheers, Scott
|