<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>We are using OmniORB 4.1.5 for Visual Studio 2008 and have recently changed our compiler warning level to 4 (highest). Unfortunately the compiler is reporting a lot of C4127 and C4512 warnings for OmniORB. We appreciate these are not important but it would be nice to compile against OmniORB warning free.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>The following warnings are because of the do { } while(0); loops in the marshalling methods. Most are because of the CdrMarshal and CdrUnMarshal macros (line 236 and 256). <o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;C:\Program Files (x86)\omniORB-4.1.5\include\omniORB4/cdrStream.h(331) : warning C4127: conditional expression is constant<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;C:\Program Files (x86)\omniORB-4.1.5\include\omniORB4/cdrStream.h(346) : warning C4127: conditional expression is constant<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;C:\Program Files (x86)\omniORB-4.1.5\include\omniORB4/cdrStream.h(352) : warning C4127: conditional expression is constant<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;C:\Program Files (x86)\omniORB-4.1.5\include\omniORB4/cdrStream.h(357) : warning C4127: conditional expression is constant<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;C:\Program Files (x86)\omniORB-4.1.5\include\omniORB4/cdrStream.h(589) : warning C4127: conditional expression is constant<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;C:\Program Files (x86)\omniORB-4.1.5\include\omniORB4/cdrStream.h(606) : warning C4127: conditional expression is constant<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;C:\Program Files (x86)\omniORB-4.1.5\include\omniORB4/cdrStream.h(975) : warning C4127: conditional expression is constant<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;C:\Program Files (x86)\omniORB-4.1.5\include\omniORB4/cdrStream.h(979) : warning C4127: conditional expression is constant<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;C:\Program Files (x86)\omniORB-4.1.5\include\omniORB4/cdrStream.h(991) : warning C4127: conditional expression is constant<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;C:\Program Files (x86)\omniORB-4.1.5\include\omniORB4/cdrStream.h(995) : warning C4127: conditional expression is constant<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;C:\Program Files (x86)\omniORB-4.1.5\include\omniORB4/cdrStream.h(1007) : warning C4127: conditional expression is constant<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;C:\Program Files (x86)\omniORB-4.1.5\include\omniORB4/cdrStream.h(1011) : warning C4127: conditional expression is constant<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;C:\Program Files (x86)\omniORB-4.1.5\include\omniORB4/cdrStream.h(1023) : warning C4127: conditional expression is constant<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;C:\Program Files (x86)\omniORB-4.1.5\include\omniORB4/cdrStream.h(1027) : warning C4127: conditional expression is constant<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;C:\Program Files (x86)\omniORB-4.1.5\include\omniORB4/cdrStream.h(1040) : warning C4127: conditional expression is constant<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;C:\Program Files (x86)\omniORB-4.1.5\include\omniORB4/cdrStream.h(1044) : warning C4127: conditional expression is constant<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;C:\Program Files (x86)\omniORB-4.1.5\include\omniORB4/cdrStream.h(1056) : warning C4127: conditional expression is constant<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;C:\Program Files (x86)\omniORB-4.1.5\include\omniORB4/cdrStream.h(1060) : warning C4127: conditional expression is constant<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;C:\Program Files (x86)\omniORB-4.1.5\include\omniORB4/cdrStream.h(1075) : warning C4127: conditional expression is constant<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;C:\Program Files (x86)\omniORB-4.1.5\include\omniORB4/cdrStream.h(1080) : warning C4127: conditional expression is constant<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;C:\Program Files (x86)\omniORB-4.1.5\include\omniORB4/cdrStream.h(1103) : warning C4127: conditional expression is constant<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;C:\Program Files (x86)\omniORB-4.1.5\include\omniORB4/cdrStream.h(1108) : warning C4127: conditional expression is constant<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal>These warnings are because of the reference member variable within each of the classes/structs.<o:p></o:p></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;C:\Program Files (x86)\omniORB-4.1.5\include\omniORB4/cdrStream.h(1404) : warning C4512: 'cdrStreamAdapter' : assignment operator could not be generated<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\Program Files (x86)\omniORB-4.1.5\include\omniORB4/cdrStream.h(1328) : see declaration of 'cdrStreamAdapter'<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;C:\Program Files (x86)\omniORB-4.1.5\include\omniORB4/cdrStream.h(1562) : warning C4512: 'cdrValueChunkStream' : assignment operator could not be generated<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\Program Files (x86)\omniORB-4.1.5\include\omniORB4/cdrStream.h(1416) : see declaration of 'cdrValueChunkStream'<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_Object_vartypes.h(313) : warning C4512: 'CORBA::Object_INOUT_arg' : assignment operator could not be generated<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_Object_vartypes.h(290) : see declaration of 'CORBA::Object_INOUT_arg'<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_LocalObject_vartypes.h(295) : warning C4512: 'CORBA::LocalObject_INOUT_arg' : assignment operator could not be generated<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_LocalObject_vartypes.h(272) : see declaration of 'CORBA::LocalObject_INOUT_arg'<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_Any.h(152) : warning C4512: 'CORBA::Any::from_fixed' : assignment operator could not be generated<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_Any.h(145) : see declaration of 'CORBA::Any::from_fixed'<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_Any.h(189) : warning C4512: 'CORBA::Any::to_boolean' : assignment operator could not be generated<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_Any.h(186) : see declaration of 'CORBA::Any::to_boolean'<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_Any.h(193) : warning C4512: 'CORBA::Any::to_char' : assignment operator could not be generated<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_Any.h(190) : see declaration of 'CORBA::Any::to_char'<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_Any.h(197) : warning C4512: 'CORBA::Any::to_wchar' : assignment operator could not be generated<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_Any.h(194) : see declaration of 'CORBA::Any::to_wchar'<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_Any.h(201) : warning C4512: 'CORBA::Any::to_octet' : assignment operator could not be generated<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_Any.h(198) : see declaration of 'CORBA::Any::to_octet'<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_Any.h(210) : warning C4512: 'CORBA::Any::to_string' : assignment operator could not be generated<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_Any.h(202) : see declaration of 'CORBA::Any::to_string'<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_Any.h(219) : warning C4512: 'CORBA::Any::to_wstring' : assignment operator could not be generated<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_Any.h(211) : see declaration of 'CORBA::Any::to_wstring'<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_Any.h(227) : warning C4512: 'CORBA::Any::to_fixed' : assignment operator could not be generated<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_Any.h(220) : see declaration of 'CORBA::Any::to_fixed'<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_Any.h(231) : warning C4512: 'CORBA::Any::to_object' : assignment operator could not be generated<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_Any.h(228) : see declaration of 'CORBA::Any::to_object'<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_Any.h(235) : warning C4512: 'CORBA::Any::to_abstract_base' : assignment operator could not be generated<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_Any.h(232) : see declaration of 'CORBA::Any::to_abstract_base'<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_Any.h(239) : warning C4512: 'CORBA::Any::to_value' : assignment operator could not be generated<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_Any.h(236) : see declaration of 'CORBA::Any::to_value'<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_ValueBase_vartypes.h(314) : warning C4512: 'CORBA::ValueBase_INOUT_arg' : assignment operator could not be generated<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_ValueBase_vartypes.h(290) : see declaration of 'CORBA::ValueBase_INOUT_arg'<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_vartypes.h(148) : warning C4512: 'CORBA::TypeCode_INOUT_arg' : assignment operator could not be generated<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_vartypes.h(135) : see declaration of 'CORBA::TypeCode_INOUT_arg'<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_vartypes.h(182) : warning C4512: 'CORBA::TypeCode_OUT_arg' : assignment operator could not be generated<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>3&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c:\program files (x86)\omniorb-4.1.5\include\omniorb4\CORBA_vartypes.h(154) : see declaration of 'CORBA::TypeCode_OUT_arg'<o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>Kind Regards<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>Richard Pitts<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>Windows Developer<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>CDL</span><span style='font-size:10.0pt;mso-fareast-language:EN-GB'><o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><pre></PRE>
<p style="font-family:'Arial';font-size:8pt">
**********************************************************************<br>
Please consider the environment - do you really need to print this email?<br>
<br>
This email is intended only for the person(s) named above and may contain private and confidential information. If it has come to you in error, please destroy and permanently delete any copy in your possession and contact us on +44 (0) 161 480 4420. The information in this email is copyright &copy; CDL Group Holdings Limited. We cannot accept any liability for any loss or damage sustained as a result of software viruses. It is your responsibility to carry out such virus checking as is necessary before opening any attachment.<br>
Cheshire Datasystems Limited uses software which automatically screens incoming emails for inappropriate content and attachments. If the software identifies such content or attachment, the email will be forwarded to our Technology Department for checking. You should be aware that any email which you send to Cheshire Datasystems Limited is subject to this procedure. <br>
Cheshire Datasystems Limited, Strata House, Kings Reach Road, Stockport SK4 2HD<br>
Registered in England and Wales with Company Number 3991057<br>
VAT registration: 727 1188 33</p>
<PRE> 
</pre></body></html>