|
From: Matthias S. <op...@vr...> - 2006-02-22 14:33:59
|
Hi Dirk,
seems to work now, thanx
Matthias
On Tuesday 21 February 2006 17:43, Dirk Reiners wrote:
> Hi Matthias,
>
> On Tue, 2006-02-21 at 10:26 +0100, Matthias Stiller wrote:
> > osgHello,
> >
> > I tried to compile todays CVS with the MSVC2003 compiler and got
> > problems in OSGRefPtr as well as OSGFieldContainerImpl. When I
> > comment out the unspecified_bool_type operator it seems to compile
> > again.
>
> Hm, crap. Every other compiler seems to have accepted it.
>
> > Can somebody shed some light onto it ? What is it needed for, never
> > heard of that thing :)
>
> It's a way to allow things like
>
> GroupPtr ptr;
>
> if(ptr)
> {
> }
>
> without the danger of going along weird type conversion paths. It
> works fine for the normal FCPtrs, so I'm a little confused why it
> doesn't work for the RefPtrs, but VS7 and templates is a difficult
> story anyway.
>
> I've submitted a version that makes the types more specific, which
> works fine on my gcc3 system. Can you try that, please?
--
+---------------------+----------------------------+
| VREC GmbH | |
| Matthias Stiller | |
| Robert-Bosch-Str. 7 | tel: +49 6151 4921034 |
| 64293 Darmstadt | web: http://www.vrec.de |
| Germany | mail: ms...@vr... |
+---------------------+----------------------------+
|