Cxbx-reloaded: Compile failure in Visual Studio 2015

Created on 14 May 2018  路  4Comments  路  Source: Cxbx-Reloaded/Cxbx-Reloaded


Cxbx-Reloaded doesn't compile in VS2015.
Need to add XTL:: to this -
https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/blob/e1d87339769a5b3f2a8c2e5c13315289dcdd5053/src/CxbxKrnl/EmuD3D8/VertexShader.cpp#L1920
So it must be XTL::BOOL ....

Most helpful comment

I think the plan is to leave VS2015 behind, and if it breaks, then the community can fix it if they want to.

All 4 comments

Thanks. We should really setup the automated build to check 2015 compatability!

I think the plan is to leave VS2015 behind, and if it breaks, then the community can fix it if they want to.

I agree with @Sarkie: Visual Studio 2015 has not been officially supported for quite some time. The only reason we list the runtime in the Readme is because some 3rd party libraries may still depend on the runtime. This has nothing to do with the actual compilation of the project.

If the community submit PRs to fix Visual Studio 2015, we'll accept them, sure, but we won't spend time and effort making sure all code remains compatible. There's no point sticking with older compiler versions (optimizations get better with newer compilers, and we get to use new functionality introduced in newer C++ standards)

Little off topic for my post.

It's too bad Visual Studio 2017 are still getting a lot of updates to clients. Plus also very bad for VS 2015 and below aren't following C++ standard when should had been doing so, years ago. 馃槩 I will still wait until they finally stop sending bunch of updates for VS 2017 software.

Was this page helpful?
0 / 5 - 0 ratings