[Insight-developers] VC7 .NET warning
Miller, James V (Research)
millerjv@crd.ge.com
Tue, 26 Nov 2002 14:28:55 -0500
Could the warning number have changed between revisions of VC?
> -----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
>