Re: Compiler Errorīs and Warnings

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Steph Sharp (sm_sharp_at_lycos.co.uk)
Date: 07/06/04


Date: 6 Jul 2004 06:01:22 -0700


> You can also set your project to not terminate the build on a warning, although this is
> usually a bad idea. A project should compile without any warnings.
>

I mean no disrespect, but is this realistically possible? My projects
are routinely released having been built with warnings such as:

warning C4290: C++ exception specification ignored except to indicate
a function is not __declspec(nothrow)

and

warning LNK4089: all references to 'MSVCP70.dll' discarded by /OPT:REF

If anyone knows how to remove these without the #pragma
warning(disable:xxxx) command then I'd be very grateful.

Cheers,
Steph



Relevant Pages