[omniORB] omniidl c++ mapping

Shawn Bisgrove shawn_bisgrove@yahoo.com
Wed, 22 Mar 2000 04:19:04 -0800 (PST)


David,

   Its seems as though it needs the NEED_DUMMY_RETURN
set on a Solaris 2.6 machine with gcc2.95.2.

s.

--- David Riddoch <djr@uk.research.att.com> wrote:
> 
> Hi Shawn,
> 
> 
> Okay I've fixed the signed/unsigned comparison.
> 
> As for the 'control reaches end of non-void
> function', there is a macro
> NEED_DUMMY_RETURN which ought to deal with that. 
> What platform and
> compiler are you using?
> 
> 
> Cheers,
> David
> 
> 
> 
> 
> 
> On Mon, 20 Mar 2000, Shawn Bisgrove wrote:
> 
> > Hello,
> > 
> >    I am getting a compilation warning when
> compiling
> > the March 20 cvs image of OmniORB 3.0.  Just FYI. 
> 
> > 
> > typecode.cc: In method `class CORBA::Any *
> > TypeCode_union::NP_member_label(long
> > unsigned int) const':
> > typecode.cc:3215: warning: comparison between
> signed
> > and unsigned
> > typecode.cc: In function `static class
> TypeCode_base *
> > TypeCode_marshaller::unma
> > rshal(NetBufferedStream &, TypeCode_offsetTable
> *)':
> > typecode.cc:3930: warning: control reaches end of
> > non-void function `TypeCode_ma
> > rshaller::unmarshal(NetBufferedStream &,
> > TypeCode_offsetTable *)'
> > typecode.cc: In function `static class
> TypeCode_base *
> > TypeCode_marshaller::unma
> > rshal(MemBufferedStream &, TypeCode_offsetTable
> *)':
> > typecode.cc:4234: warning: control reaches end of
> > non-void function `TypeCode_ma
> > rshaller::unmarshal(MemBufferedStream &,
> > TypeCode_offsetTable *)'
> > typecode.cc: In function `static enum
> > TypeCode_paramListType TypeCode_marshaller
> > ::paramListType(long unsigned int)':
> > typecode.cc:4342: warning: control reaches end of
> > non-void function `TypeCode_ma
> > rshaller::paramListType(long unsigned int)'
> > 
> > 
> > 
> > 
> > =====
> > ________________________________________
> > |shawn_bisgrove@partech.com
> > |http://www.geocities.com/shawn_bisgrove 
> > |
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Talk to your friends online with Yahoo! Messenger.
> > http://im.yahoo.com
> > 
> > 
> 
> 

=====
________________________________________
|shawn_bisgrove@partech.com
|http://www.geocities.com/shawn_bisgrove 
|

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com