Croteam-official/Serious-Engine

'yyval' is used before being initialized ERROR on logo

Opened this issue · 3 comments

Everything built without an error. When starting SeriousSam.exe, the logo shows up then this window appears:
image

I've searched and found four "yyval" variables in the whole source, two of them being type of a struct and the other two of an union. I've tried initializing them with the usual cpp initializer style eg. <type-here> yyval{ {} } but I still can't run the exe. Also, after building again, after the changes, the code changes back to its default.

image
One year later, I guess no one still has an answer for this? I encountered the same thing today.

image One year later, I guess no one still has an answer for this? I encountered the same thing today.

It's not a bug within the repository. You just need to use older development tools, like Visual Studio 2013 and 2015 I think.

I confirm not having this issue after building it with MSVS2013. It did bring it up when I did it with MSVS2017.