Re: Cleaning up compilation warnings, question
Duncan Grisby <[email protected]> Sun, 23 Mar 2003 21:02:27 +0000
| Newsgroups | gmane.comp.corba.omniorb.devel |
|---|---|
| Message-ID | <[email protected]> |
On Friday 14 March, Harri Pasanen wrote: > Pretty much everything seems to compile (after my earlier vprintf > autoconf fix), but I'm getting tons of compilation warnings, things > like: > > ../../../../../src/tool/omniidl/cxx/idlast.cc:1807: warning: `IDL_Long > label' > might be used uninitialized in this function This is an example where to get rid of the warning would make the code really ugly. > ../../../../../include/omniORB4/dynAny.h:205: warning: cast to pointer > from > integer of different size I think this is gcc being dumb. It's casting a literal integer zero (or sometimes 1) to a pointer type. The fact that it's a literal ought to suppress the warning, I would say. If you can come up with a clean way to suppress the warning, that would be good. > I decided to clean these up as much as I can. My question is should I > sent the patches to this list, omniorb-list, or directly to someone? Send the patches to the omniORB-dev list, unless they are huge, in which case send them just to me. Cheers, Duncan. -- -- Duncan Grisby -- -- [email protected] -- -- http://www.grisby.org --