20,741
edits
Line 1: | Line 1: | ||
Using Visual Studio / msbuild: | Using Visual Studio / msbuild: | ||
== Status == | |||
{{FGCquote | |||
|1= code changes were to work around snprintf / _snprint / snprintf_s issues with the MSVC C library - I suspect the better solution would be to set some compile flags (DCRT_NO_WARNINGS etc) but these seem to keep getting stricter and stricter with each new MSVC version. They latest one is that snprintf cannot be a macro which defeats the snrpintf -> _snprintf macro we use several places in FlightGear and Simgear. For now I locally hacked it but not nice. The other issue is some template ambiguities around TiedProperty, I suspect this is a compiler weakness, when I explicitly specialised the functions the issues went way. I will commit those fixes (with a comment explaining why I had to manually specialise the templates) just as soon as I get my Windows machine back from the dead. | |||
|2= {{cite web | |||
| url = http://sourceforge.net/p/flightgear/mailman/message/35020034/ | |||
| title = <nowiki>Re: [Flightgear-devel] MSVC 2012 or 2013 support?</nowiki> | |||
| author = <nowiki>James Turner</nowiki> | |||
| date = Apr 17th, 2016 | |||
| added = Apr 17th, 2016 | |||
| script_version = 0.26 | |||
}} | |||
}} | |||
== Requirements == | == Requirements == |