Hi Markus,

I have fixed a couple of the more obvious problems and ones where the
fix isn't likely to break anything.  Several of the "may be
uninitialized wanings" look a bit odd, it wasn't obvious what the
problem was, these I haven't touched.

Robert.

On 7/19/06, Markus Trenkwalder <[EMAIL PROTECTED]> wrote:
Robert Osfield wrote:
> Hi All,
>
> [...]
>
> Testing on other platforms and compiler combinations would also be
> very welcome, and if we fix and any problems for tomorrow release then
> this is great, but if I don't get any feedback then I'll assume "no
> news is good news" :-)

Compiling in mingw spit out the following warnings:

----8<----
make[4]: Entering directory
`/c/OSG-1.1-rc3/OpenSceneGraph/src/osgPlugins/ac3d/MINGW.Opt'
[...]
c++ -mthreads   -O2 -DWIN32 -Wall -I../../../../include
-I/c/OSG-1.1-rc3/OpenThreads/include -I/c/OSG-1.1-rc3/Producer/include
-c ../ac3d.cpp
../ac3d.cpp: In function `osg::Group* ac_load_object(std::istream&,
const ACObject*, const osgDB::ReaderWriter::Options*)
':
../ac3d.cpp:724: warning: 'i2' might be used uninitialized in this function
../ac3d.cpp:725: warning: 'i3' might be used uninitialized in this function
[...]
make[4]: Entering directory
`/c/OSG-1.1-rc3/OpenSceneGraph/src/osgPlugins/OpenFlight/MINGW.Opt'
[...]
c++ -mthreads   -O2 -DWIN32 -Wall -I../../../../include
-I/c/OSG-1.1-rc3/OpenThreads/include -I/c/OSG-1.1-rc3/Producer/include
-I../. -c ../ReaderWriterATTR.cpp
../ReaderWriterATTR.cpp: In member function `virtual
osgDB::ReaderWriter::ReadResult ReaderWriterATTR::readObject(const s
td::string&, const osgDB::ReaderWriter::Options*) const':
../ReaderWriterATTR.cpp:59: warning: 'attr' might be used uninitialized
in this function
[...]
make[4]: Entering directory
`/c/OSG-1.1-rc3/OpenSceneGraph/src/osgPlugins/net/MINGW.Opt'
[...]
c++ -mthreads   -O2 -DWIN32 -Wall -I../../../../include
-I/c/OSG-1.1-rc3/OpenThreads/include -I/d/projects/d
ev/OSG-1.1-rc3/Producer/include  -c ../sockstream.cpp
../sockstream.cpp: In constructor `sockbuf::sockbuf(int, sockbuf::type,
int)':
../sockstream.cpp:281: warning: comparison between signed and unsigned
integer expressions
[...]
make[4]: Entering directory
`/c/OSG-1.1-rc3/OpenSceneGraph/src/osgPlugins/txp/MINGW.Opt'
[...]
c++ -mthreads   -O2 -DWIN32 -Wall -I../../../../include
-I/c/OSG-1.1-rc3/OpenThreads/include -I/c/OSG-1.1-rc3/Producer/include
-I../. -c ../trpage_pparse.cpp
../trpage_pparse.cpp: In member function `virtual void*
trpgPrintGraphParser::ReadHelper::Parse(trpgToken, trpgReadBuffer&)':
../trpage_pparse.cpp:241: warning: 'imageHelp' might be used
uninitialized in this function
../trpage_pparse.cpp:250: warning: 'pixels' might be used uninitialized
in this function
../trpage_pparse.cpp:267: warning: 'numMipmap' might be used
uninitialized in this function
../trpage_pparse.cpp:275: warning: 'pixels' might be used uninitialized
in this function
----8<----

If these are already known issues, please excuse the noise.

Markus
--
Dipl.-Ing. Markus Trenkwalder
Software Architecture & Development
  _________
(___  ____)        www.s-p.cc
  ___) S&P Simmulationstechnik
   Phone:  +43 (0)512 393255
   Fax: +43 (0)512 393255 33
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to