[Insight-users] Wrapping warnings on .NET
Miller, James V (Research)
millerjv at crd . ge . com
Fri, 25 Jul 2003 09:17:17 -0400
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C352AF.12585B5A
Content-Type: text/plain;
charset="iso-8859-1"
I think the recent changes to CableSwig.cxx are causing an enormous number
of warnings on Visual Studio .NET (not 2003). The warnings are of the type
wrap_vnl_vectorPython.cxx(1301) : warning C4297:
'_wrap_vnl_vector_uchar_data_block__SWIG_1' : function assumed not to throw
an exception but does
The function is extern "C" and /EHc was specified
wrap_vnl_vectorPython.cxx(1294) : warning C4101: '_e' : unreferenced local
variable
There are so many of these warnings (I killed the build at 6000 warnings)
that I need to turn wrapping off in order to build in a reasonable time. I
am guessing this has to do with passing exceptions from the C++ layer to the
Swig layer. Could the wrapping guys take a look at this and deteremine how
we should address these warnings (either turn off the particular warning,
lower the warning level globally, or best yet fix the code so the warning
does not occur).
Jim Miller
_____________________________________
Visualization & Computer Vision
GE Research
Bldg. KW, Room C218B
P.O. Box 8, Schenectady NY 12301
millerjv at research . ge . com <mailto:millerjv at research . ge . com>
james . miller at research . ge . com
(518) 387-4005, Dial Comm: 8*833-4005,
Cell: (518) 505-7065, Fax: (518) 387-6981
------_=_NextPart_001_01C352AF.12585B5A
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1141" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=976531013-25072003><FONT size=2>I think the recent changes to
CableSwig.cxx are causing an enormous number of warnings on Visual Studio .NET
(not 2003). The warnings are of the type</FONT></SPAN></DIV>
<DIV><SPAN class=976531013-25072003><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=976531013-25072003><FONT size=1>
<P>wrap_vnl_vectorPython.cxx(1301) : warning C4297:
'_wrap_vnl_vector_uchar_data_block__SWIG_1' : function assumed not to throw an
exception but does</P>
<P>The function is extern "C" and /EHc was specified</P>
<P>wrap_vnl_vectorPython.cxx(1294) : warning C4101: '_e' : unreferenced local
variable</P></FONT></SPAN></DIV>
<DIV><SPAN class=976531013-25072003><FONT size=2>There are so many of these
warnings (I killed the build at 6000 warnings) that I need to turn wrapping off
in order to build in a reasonable time. I am guessing this has to do with
passing exceptions from the C++ layer to the Swig layer. Could the
wrapping guys take a look at this and deteremine how we should address these
warnings (either turn off the particular warning, lower the warning level
globally, or best yet fix the code so the warning does not
occur).</FONT></SPAN></DIV>
<DIV><SPAN class=976531013-25072003></SPAN> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV> </DIV>
<DIV>
<P style="MARGIN: 0in 0in 0pt"><B><SPAN
style="COLOR: navy; FONT-FAMILY: 'Comic Sans MS'">Jim Miller</SPAN></B>
<BR><B><I><SPAN
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: Arial">_____________________________________</SPAN></I></B><BR><EM><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">Visualization &
Computer Vision</SPAN></EM><I><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial"><BR><EM>GE
Research</EM><BR><EM>Bldg. KW, Room C218B</EM><BR><EM>P.O. Box 8, Schenectady NY
12301</EM><BR><BR></SPAN></I><EM><U><SPAN
style="FONT-SIZE: 7.5pt; COLOR: blue"><A
href="mailto:millerjv at research . ge . com">millerjv at research . ge . com</A></SPAN></U></EM></P>
<P style="MARGIN: 0in 0in 0pt"><EM><U><SPAN
style="FONT-SIZE: 7.5pt; COLOR: blue">james . miller at research . ge . com</SPAN></U></EM><BR><I><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">(518) 387-4005, Dial
Comm: 8*833-4005, </SPAN></I><BR><I><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">Cell: (518) 505-7065,
Fax: (518) 387-6981</SPAN></I> </P></DIV>
<DIV> </DIV></BODY></HTML>
------_=_NextPart_001_01C352AF.12585B5A--