Windows 8.1 Build error

Monkey Targets Forums/Windows 8/Windows 8.1 Build error

Difference(Posted 2014) [#1]
I get this when trying to compile:


I can compile a simle app (clock.monkey) and deploy to my device but not my current project.

PS : I just found out that you need Windows Pro to run the simulators, so I have to compile to device for now.


Difference(Posted 2014) [#2]
UPDATE:

I have made the error go away by adding the suggested /Gy flag to compiler options, or rather by "Enable Function Level linking" in the property sheet. Heres how to do that:

In Visual Studio Express 2012 for Windows Phone:
Right click on "MonkeyGame.PhoneComponent" and choose "Properties"

In Configuration Properties -> C/C++ -> Code Generation
Click "Enaable Function Level Linking" to Yes(/Gy)

I don't know if this has a negative impact on exe size or similar, so if anybody has some feedback, it is appreciated.

@Mark: Should this option potentially be set for the default project, or is this just a special case?

I have not found out what part of my code is triggering it.

[EDIT] : from reading http://stackoverflow.com/questions/629894/function-level-linking-gy-switch-in-vc-what-is-it-good-for it seems /Gy is just a good thing?