[orbitcpp-list] orbit-1.0/orb/env.h:51: warning: non-static const member in class without a constru
Status: Beta
Brought to you by:
philipd
|
From: Dan K. <dk...@ix...> - 2002-04-18 15:39:35
|
I just tried out orbitcpp for the first time.
I'm using up to date sources, I think
(orbitcpp-0.30.4, ORBit-0.5.15). /usr/local/bin/orbit-idl --libIDL-version
reports libIDL 0.6.8 (CORBA 2.2).
I'm running Red Hat 7.2.
I get a number of warnings if I compile IDL output with my customary
-Wall -W -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
-Wwrite-strings.
One warning seems to happen with g++2.96, but not with g++3:
/usr/local/include/orbit-1.0/orb/env.h:51: warning: non-static const member
`CORBA_TypeCode_struct
*const {anonymous struct}::tc' in class without a constructor
/usr/local/include/orbit-1.0/orb/env.h:56: warning: non-static const member
`CORBA_TypeCode_struct
*const {anonymous struct}::tc' in class without a constructor
What's the story on those -- are they spurious warnings?
- Dan
|