warnings



Hello,

When I compile code generated by orbitcpp using g++ with warnings turned on
(-Wall -W -Wunused -Wpointer-arith -Wcast-align -Wwrite-strings -Wlong-long
-Wshadow -Wconversion), I get many warnings like these:

/usr/include/orbitcpp-2.0
/orbitcpp/orb-cpp/smartpointers/objectptr_out.h:41: warning: declaration of
'ptr' shadows a member of 'this

/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_exception.h:198: warning:
deprecated conversion from string constant to `char*'

/usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_poa.h:88: warning: base
class `class PortableServer::ServantBase' should be explicitly initialized
in the copy constructor

Is there a workaround for this?

Thanks,

Wagner

PS: I'm using orbitcpp-devel-1.3.9-1_rhel3.90 and gcc-3.4.4-2.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]