When I build a project (with VS2012) I get folowing output several times:

```
 warning C4995: 'DwmEnableComposition': name was marked as #pragma deprecated

```

When I copy the projects sourcefiles into another project (and different solution) I get errors instead of warnings (and the build does not succeed): 

```
error C4995: 'DwmEnableComposition': name was marked as #pragma deprecated

```

Is there anything I can do that I get warnings instead of errors?

That is the project I am running (it's not my own code): <http://federico-mammano.github.io/Oculus-SDK-0.4.4-beta-OpenGL-Demo/> (the OpenGL example)