[CLN-list] CLN compile errors on GCC4.2

Alexei Sheplyakov alexei.sheplyakov at gmail.com
Tue May 25 20:38:10 CEST 2010


Hello,

On Fri, May 21, 2010 at 03:10:21PM +0200, Vipin Varma wrote:
> I've been using CLN 1.3.1 successfully with the GCC4.3 compiler. Now
> I am running my code using the GCC4.2 on another machine (in which I
> dont have the option of updating to the newer GCC):
> 
> <SNIP>
> In file included from /users/varma/cln-1.3.1/include/cln/string.h:7,
>                  from /usr/include/c++/4.2/cstring:52,

Oops... For some reason GCC decided to include cln/string.h instead of
/usr/include/string.h

That's a bit strage (I've been using GCC 4.2.{1,2,4} to compile CLN and
GiNaC, and didn't hit any similar errors). Could you please post
a) the OS you use and its version
b) the exact version of GCC you use (the output of gcc -v)
c) the graph.cpp file (or at least  #include part)

Best regards,
	Alexei




More information about the CLN-list mailing list