[omniORB] Patch to remove warnings when compiling DynSK files

Duncan Grisby duncan at grisby.org
Fri Jul 22 11:55:55 BST 2005


On Thursday 21 July, Matej Kenda wrote:

> I have compiled an application that uses CORBA::Any. gcc 3.3.4 emitted a
> lot of warnings if an option -Wcast-qual is used (the default for our
> projects).
> 
> .linux.ia32/i_typesDynSK.cc: In function `Boolean operator>>=(const
>    CORBA::Any&, const i_MediumPos_t*&)':
> .linux.ia32/i_typesDynSK.cc:1600: warning: cast from `const i_MediumPos_t*' to
>    `void*' discards qualifiers from pointer target type
> 
> I have made some trivial modification of two header files and the
> dynskel template to remove those warnings. 

Thanks. I've checked your patch in.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list