[Insight-developers] VC7 .NET warning
Lorensen, William E (Research)
lorensen@crd.ge.com
Tue, 26 Nov 2002 14:33:52 -0500
Thanks.
-----Original Message-----
From: Lydia Ng [mailto:lng@insightful.com]
Sent: Tuesday, November 26, 2002 2:33 PM
To: Lorensen, William E (Research); Luis Ibanez
Cc: insight-developers@public.kitware.com
Subject: RE: [Insight-developers] VC7 .NET warning
ok looks like it 4267 was a typo - I will clean it out then
- Lydia
> -----Original Message-----
> From: Lorensen, William E (Research) [mailto:lorensen@crd.ge.com]
> Sent: Tuesday, November 26, 2002 11:30 AM
> To: Lydia Ng; Luis Ibanez
> Cc: insight-developers@public.kitware.com
> Subject: RE: [Insight-developers] VC7 .NET warning
>
>
> I added the disable 4290 a few days ago. Maybe I did it incorrectly.
>
> -----Original Message-----
> From: Lydia Ng [mailto:lng@insightful.com]
> Sent: Tuesday, November 26, 2002 2:17 PM
> To: Luis Ibanez
> Cc: insight-developers@public.kitware.com
> Subject: RE: [Insight-developers] VC7 .NET warning
>
>
> Done.
>
> In itkWin32Header.h I am a bit suspicious of
>
> // C++ exception specification ignored except to indicate...
> #pragma warning ( disable : 4267 )
>
> since warning number 4267 is non-existent.
>
> Should I take it out?
>
> - Lydia
>
> > -----Original Message-----
> > From: Luis Ibanez [mailto:luis.ibanez@kitware.com]
> > Sent: Tuesday, November 26, 2002 9:54 AM
> > To: Lydia Ng
> > Cc: insight-developers@public.kitware.com
> > Subject: Re: [Insight-developers] VC7 .NET warning
> >
> >
> >
> > Hi Lydia,
> >
> > That sounds reasonable.
> > It will get rid of a lot of warnings on .NET.
> >
> >
> > Would you like to add it to the list of pragmas in
> >
> > Code/Common/itkWin32Header.h
> >
> >
> >
> >
> > Luis
> >
> >
> > ========================================
> >
> > Lydia Ng wrote:
> >
> > > In order to reduce the number of warnings on VC7 .NET
> > > could we also diable C4290 ?
> > >
> > > D:\ibanez\src\InsightNightly\Code\Common\itkImage.h(280) :
> > warning C4290: C++ exception specification ignored except to
> > indicate a function is not __declspec(nothrow)
> > >
> > > -------------------------------------
> > > From:
> > >
> http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/vccore/html/C4290.asp
>
> C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
>
> A function is declared using exception specification, which Visual C++ accepts but does not
implement. Code with exception specifications that are ignored during compilation may need to be
recompiled and linked to be reused in future versions supporting exception specifications.
>
> --------------------------------------
>
> - Lydia
>
>
> _______________________________________________
> Insight-developers mailing list
> Insight-developers@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-developers
>
>
_______________________________________________
Insight-developers mailing list
Insight-developers@public.kitware.com
http://public.kitware.com/mailman/listinfo/insight-developers