Re: [classad-users] Problems compiling with xlC


Date: Mon, 10 Jan 2005 15:50:48 +0100
From: Raül Sirvent <rsirvent@ac.upc.edu>
Subject: Re: [classad-users] Problems compiling with xlC
I have downloaded the STLPort distribution 4.6.2 and I have done some little tests trying to compile classads with it, but I haven't succeeded. Maybe the error looks more familiar to you:

xlC -fno-implicit-templates -I/scratch_tmp/rsirvent/STLport-4.6.2/stlport -g -DCLASSAD_DISTRIBUTION -c attrrefs.C
"attrrefs.C", line 42.50: 1540-0040 (S) The text "&" is unexpected. "string" may be undeclared or ambiguous.
"attrrefs.C", line 148.33: 1540-0600 (S) The reference to "string" is ambiguous.
"/usr/vacpp/include/xstring", line 537.9: 1540-0425 (I) "std::string" is defined on line 537 of "/usr/vacpp/include/xstring".
"/scratch_tmp/rsirvent/STLport-4.6.2/stlport/stl/_string_fwd.h", line 40.65: 1540-0425 (I) "_STL::string" is defined on line 40 of "/scratch_tmp/rsirvent/STLport-4.6.2/stlport/stl/_string_fwd.h".
"attrrefs.C", line 456.53: 1540-0040 (S) The text "&" is unexpected. "string" may be undeclared or ambiguous.
"attrrefs.C", line 410.17: 1540-0600 (S) The reference to "vector" is ambiguous.
"/usr/vacpp/include/../include/vector", line 81.15: 1540-0425 (I) "std::vector" is defined on line 81 of "/usr/vacpp/include/../include/vector".
"/scratch_tmp/rsirvent/STLport-4.6.2/stlport/stl/_vector.h", line 95.7: 1540-0425 (I) "_STL::vector" is defined on line 95 of "/scratch_tmp/rsirvent/STLport-4.6.2/stlport/stl/_vector.h".
make: 1254-004 The error code from the last command is 1.



Is there any date planned for you to deal with other compilers? I mean, you will face these kind of problems in some weeks? maybe months? :) It's just to have an idea.


Thank you. Best regards.

Raül Sirvent.

Alain Roy escribió:
We haven't yet been worried about compilers other than gcc or Visual C++.

We believe it should be easy to get it to work with xlc using STLPort, but we haven't tried it yet.

-alain

At 12:20 PM 12/24/2004 +0100, Raül Sirvent wrote:

Hi. I have been trying to compile classads library in an IBM machine with AIX, and the xlC compiler and I have a problem with the hash_map type. It seems not to be supported by the compiler.

I checked also SGI page and it is said:

"This class is an SGI extension; it is not part of the C++ standard"

Are you planning to support also xlC compiler? Or only gcc?

Many thanks in advance. Merry Christmas and happy new year!

Raül.
Condor Classads Info:
http://www.cs.wisc.edu/condor/classad/




Condor Classads Info:
http://www.cs.wisc.edu/condor/classad/
[← Prev in Thread] Current Thread [Next in Thread→]
  • Re: [classad-users] Problems compiling with xlC, Raül Sirvent <=