Thanks for the pointer Mourad. I've spotted a couple more places in InputStream.cpp and OutputStream.cpp that were appropriate for moving across to use the new writeSize/readSize. These changes are now checked into svn/trunk. Cheers, Robert.
On Wed, Feb 10, 2010 at 8:24 PM, Mourad Boufarguine <[email protected]> wrote: > Hi Robert, > All build ok for me now . You missed just one readSize in > src/osgDB/InputStream.cpp :) . Please find the attached file. > Regards, > Mourad > > > On Wed, Feb 10, 2010 at 8:42 PM, Robert Osfield <[email protected]> > wrote: >> >> Hi Mourand & Wang Rui, >> >> On Wed, Feb 10, 2010 at 4:27 PM, Robert Osfield >> <[email protected]> wrote: >> > I believe we'll need to add static_cast<> to wrappers to avoid this >> > compile issue and ensure that all 32 and 64bit versions of the OSG >> > generate the same ascii + binary files. >> >> To this end I've introduced a new InputStream::readSize() and an >> OutputStream::writeSize() method that make the type explicitly >> unsigned int so avoid potential issues with 32bit vs 64bit builds >> generating different binary formats. >> >> I've gone through the files in src/osgWrappers/serializers/osg that I >> believe have been problematic. If there are any I've missed please >> point them out. >> >> Thanks, >> Robert. >> _______________________________________________ >> osg-submissions mailing list >> [email protected] >> >> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
