This is the mail archive of the libstdc++-prs@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: libstdc++/8


The following reply was made to PR libstdc++/8; it has been noted by GNATS.

From: Benjamin Kosnik <bkoz@spitfire.cygnus.com>
To: David Konerding <dek@konerding.com>
Cc: libstdc++-gnats@sourceware.cygnus.com
Subject: Re: libstdc++/8 
Date: Mon, 20 Mar 2000 20:00:25 -0800 (PST)

 > Got a question for ya-  we are trying to compile libstdc++ cvs on our
 > Alpha (Tru64/Digital Unix 5.0).  There is a problem with complex math,
 > since the cygnus libstdc++ does not put complex math headers in the
 > std namespace.  This is interfering with the complex math stuff
 > in math.h.  I never had any problems under Linux, we've only noticed
 > this on the Alpha.  Any ideas on what we woudl need to do (other than making
 > sure complex math went into namespace std?)
 
 David. Have you tried a new snapshot (2.90.8.pre2) and
 --enable-namespaces? Please read the install/configure docs on the web:
 they now explain how to enable namespaces.
 
 (bits/std_complex.h does put complex into std::)
 
 
 namespace std
 {
     // Forward declarations
     template<typename _Tp> class complex;
     template<> class complex<float>;
     template<> class complex<double>;
     template<> class complex<long double>;
 
 
 --benjamin
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]