Hi, On Tue, 2006-08-29 at 09:01 -0500, Dirk Reiners wrote: > Hi All, > > On Mon, 2006-08-28 at 12:01 +0200, Patric Schmitz wrote: > > > > Okay, I ivestigated it a bit further myself, and found out that the > > macro is normally defined in stdcomp.h of the Cstd standard library. > > STLport seems not to define this macro at all. So I provisionally > > changed the relevant lines in Source/Base/Field/OSGMFieldVector.h (ll. > > 65-83) to: > > > > #if defined(__linux) || defined(__hpux) || defined(darwin) || defined(__sun) > > # if __GNUC__ >= 3 > > # define OSG_STL_DEFAULT_ALLOCATOR(TP) = std::allocator<TP> > > # elif defined (__ICL) > > # define OSG_STL_DEFAULT_ALLOCATOR(TP) = std::allocator<TP> > > # elif defined (OSG_HPUX_ACC) > > # define OSG_STL_DEFAULT_ALLOCATOR(TP) > > _RWSTD_COMPLEX_DEFAULT(std::allocator<TP>) > > # elif defined(OSG_SUN_CC) > > # if defined(STLPORT) > > # define OSG_STL_DEFAULT_ALLOCATOR(TP) = std::allocator<TP> > > # else > > # define OSG_STL_DEFAULT_ALLOCATOR(TP) > > _RWSTD_COMPLEX_DEFAULT(std::allocator<TP>) > > # endif > > # else > > # define OSG_STL_DEFAULT_ALLOCATOR(TP) = std::__STL_DEFAULT_ALLOCATOR(TP) > > # endif > > #else > > # define OSG_STL_DEFAULT_ALLOCATOR(TP) = std::__STL_DEFAULT_ALLOCATOR(TP) > > #endif > > > > and the Base lib compiles (and links) cleanly. Maybe you want to > > incorporate the changes into the cvs, or tell me how this would be done > > properly, and put those changes in the cvs :) > > Gerrit can, you comment on that? I don't want to check it in without > your ok.
I'll have a look, it's already somewhere on my todo list ;-) gerrit ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users