I mentioned in my previous post that you don't need the STLport for newer
versions of Workshop -- it contains its own version.

That syntax is standard C++ and something that the compiler doesn't
understand in backwards-compatibility mode.  Please re-read my previous
response that describes the first steps you'll need to take.  You'll also
need to undefine the STLPORTROOT environment variable, or at least define
it to point to a non-existent directory.

Dave



                                                                                
                                              
                      "Sham, Peter"                                             
                                              
                      <[EMAIL PROTECTED]         To:      
"'[email protected]'" <[email protected]>       
                      ware.com>                cc:      (bcc: David N 
Bertoni/CAM/Lotus)                                      
                                               Subject: RE: STLPort version     
                                              
                      10/03/2001 06:28                                          
                                              
                      PM                                                        
                                              
                                                                                
                                              
                                                                                
                                              



Well.  I'm compiling using Workshop 6 with a backward compatibility flag
set
( -compat=4 ).  By the menu, the compiler should be using 4.2 syntax.

By the way, is that
namespace std {
  extern "C" double hypot(double x, double y);
}
4.2 specific syntax?

Peter.

-----Original Message-----
From: David N Bertoni/CAM/Lotus [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 03, 2001 6:16 PM
To: '[email protected]'
Cc: [email protected]
Subject: RE: STLPort version



I don't know what could ge wrong.  As long as you're using the correct
version of the Sun compiler (Workshop 4.2), everything should be fine.

Dave





                      "Sham, Peter"

                      <[EMAIL PROTECTED]         To:
"'[email protected]'" <[email protected]>
                      ware.com>                cc:      (bcc: David N
Bertoni/CAM/Lotus)
                                               Subject: RE: STLPort version

                      10/03/2001 05:20

                      PM








Thanks.

But I'm getting compilation error on those STL header files.  Especially on
this syntax ...

namespace std {
  extern "C" double hypot(double x, double y);
}

Why?

Peter.

-----Original Message-----
From: David N Bertoni/CAM/Lotus [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 03, 2001 4:55 PM
To: '[email protected]'
Subject: Re: STLPort version



You'll need STLport version 4.0.

Dave





                      "Sham, Peter"

                      <[EMAIL PROTECTED]         To:
"'[email protected]'" <[email protected]>
                      ware.com>                cc:      (bcc: David N
Bertoni/CAM/Lotus)
                                               Subject: STLPort version

                      10/03/2001 04:53

                      PM








Hi,

Can anyone point me the version of STLPort that I should use to build Xalan
1.2 on Solaris 8?

Peter.









Reply via email to