[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Success: kde 3.1 cvs running on sgi IRIX!
From:       Dominique Devriese <fritmebufstek () pandora ! be>
Date:       2002-08-12 10:03:21
[Download RAW message or body]

Marc Mutz <mutz@kde.org> writes:

> > > hm... seems like a bug in your STL...
> >
> > I guess SGI simply doesn't support "c<name>" style header files
> > yet.

(that's what i meant...)

> 
> Um? The company who wrote the most famous STL doesn't support cmath and 
> namespace std???
> 
> Sigh. One braindead compiler doesn't understand static const 
> initalizations in the class declaration, the other doesn't support 
> cmath. When will we end up using C again?
> 
> > I see no reason to use them. (Fixed)
> 
> The reason is that you can import single identifiers from namespace std. 
> That way, you can see what you actually need from the #includes

you can achieve the same effect by doing
namespace std {
extern "C" {
#include "math.h"
}
}

cheers
domi

-- 
Microsoft should abandon the funny looking Windows logo and just hoist the
Jolly Roger.

   -- LinuxToday
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic