Giter Site home page Giter Site logo

Support compiling on MSVC about befunge-93 HOT 5 CLOSED

j4james avatar j4james commented on June 11, 2024
Support compiling on MSVC

from befunge-93.

Comments (5)

cpressey avatar cpressey commented on June 11, 2024

I've applied this patch on a branch off develop-2018-1 here.

I don't have anything to test it with at the moment but I'm sure it's fine.

I kind of prefer separate Makefiles/build scripts when architectures are significantly different anyway.

I'll try to get this into the 2.24 release.

from befunge-93.

j4james avatar j4james commented on June 11, 2024

Thanks for merging this. And FWIW, I can at least confirm that your branch works for me.

from befunge-93.

cpressey avatar cpressey commented on June 11, 2024

PR is here, if you want to review it: #15

Do you know the version of MSVC that it is known to compile with? If so, we can note that too.

from befunge-93.

j4james avatar j4james commented on June 11, 2024

The version numbering issue is kind of complicated. I have two versions of the IDE - Visual Studio 2015 and Visual Studio 2017 - and I had previously tested successfully with both of them. VS 2015 comes with MSVC++ 14.0, which for me has an internal version number of 19.00.24215.1 (that's what I see when calling cl.exe from the command line). VS 2017 has had a range of MSVC++ versions (14.10 to 14.15, with internal versions 19.10 to 19.15), and I'm currently on version 14.15 (internal version 19.15.26726).

The thing is, I've only just upgraded to 14.15 today and I'm not sure what I had before. And while 14.15 still works, it's now producing warnings about spectre mitigation, which I wasn't getting before. If we want those warnings suppressed, so we get a nice clean build, we'd need to add -wd5045 to the WARNS list.

In short, I can confirm for certain that it compiles on MSVC++ 14.0 and 14.15 (internal versions 19.00.24215.1 and 19.15.26726), but quite likely also everything in between. However, the latest version is producing warnings, which I'd probably recommend suppressing.

from befunge-93.

cpressey avatar cpressey commented on June 11, 2024

That's very entertaining reading. Well, I've called it 14.15 and suppressed that warning. Let's get this merged in and get something released.

from befunge-93.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.