The International Simutrans Forum

Simutrans Extended => Simutrans-Extended bug reports => Simutrans-Extended development => Simutrans-Extended closed bug reports => Topic started by: Ves on October 31, 2016, 10:31:52 PM

Title: [devel-new-2] a91b933 - forbidden macro
Post by: Ves on October 31, 2016, 10:31:52 PM
Using a91b93393758113ba5929cfbf59b4a2e880e4abc:
Severity Code Description Project File Line Suppression State
Error C1189 #error:  The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro. (compiling source file obj\gebaeude.cc) Simutrans-Experimental C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xkeycheck.h 250
Error C1189 #error:  The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro. (compiling source file obj\leitung2.cc) Simutrans-Experimental C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xkeycheck.h 250
Title: Re: [devel-new-2] a91b933 - forbidden macro
Post by: jamespetts on October 31, 2016, 10:35:47 PM
I think that this has been fixed in a later commit - can you re-test?

Incidentally, what are you using to compile?
Title: Re: [devel-new-2] a91b933 - forbidden macro
Post by: Ves on October 31, 2016, 10:43:58 PM
I use msvs2015 on windows 10

801c403aec914bf894350b8130183bf2e65e50ba is working! :thumbsup:
Title: Re: [devel-new-2] a91b933 - forbidden macro
Post by: jamespetts on October 31, 2016, 10:45:04 PM
Excellent, thank you.