[Insight-developers] VC7 .NET warning

Lydia Ng lng@insightful.com
Tue, 26 Nov 2002 11:32:48 -0800


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
>=20
>=20
> I added the disable 4290 a few days ago. Maybe I did it incorrectly.
>=20
> -----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
>=20
>=20
> Done.
>=20
> In itkWin32Header.h I am a bit suspicious of
>=20
> // C++ exception specification ignored except to indicate...
> #pragma warning ( disable : 4267 )
>=20
> since warning number 4267 is non-existent.
>=20
> Should I take it out?
>=20
> - Lydia
>=20
> > -----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
> >=20
> >=20
> >=20
> > Hi Lydia,
> >=20
> > That sounds reasonable.
> > It will get rid of a lot of warnings on .NET.
> >=20
> >=20
> > Would you like to add it to the list of pragmas in
> >=20
> >     Code/Common/itkWin32Header.h
> >=20
> >=20
> >=20
> >=20
> >     Luis
> >=20
> >=20
> > =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >=20
> > Lydia Ng wrote:
> >=20
> > > In order to reduce the number of warnings on VC7 .NET
> > > could we also diable C4290 ?
> > >=20
> > > D:\ibanez\src\InsightNightly\Code\Common\itkImage.h(280) :=20
> > warning C4290: C++ exception specification ignored except to=20
> > indicate a function is not __declspec(nothrow)
> > >=20
> > > -------------------------------------
> > > From:
> > >=20
> http://msdn.microsoft.com/library/default.asp?url=3D/library/en-
us/vccore/html/C4290.asp
>=20
> C++ exception specification ignored except to indicate a function is =
not __declspec(nothrow)
>=20
> 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.
>=20
> --------------------------------------
>=20
> - Lydia
>=20
>        =20
> _______________________________________________
> Insight-developers mailing list
> Insight-developers@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-developers
>=20
>=20




_______________________________________________
Insight-developers mailing list
Insight-developers@public.kitware.com
http://public.kitware.com/mailman/listinfo/insight-developers