views:

120

answers:

2

Hi

i am getting the following error while building a project.Even though i am seeting the

property as treat warning as errors to "NO" i am getting this one.

errorc2220 : warning treated as error no object file is created.

Can any one Help me Resolving This One.

Thanks in Advance.

A: 

Probably you forgot to add an header. Just where you get the first warning and see in what header file is defined.

Regards

Sacx
A: 

The documentation for C2220 suggests compiling at a lower warning level. It also shows that the warning treated as error option is implemented as a compiler flag: /WX. So you could search your .vcproj file for that text and manually remove it from the file.

sean e