Code Monkey home page Code Monkey logo

Comments (11)

mclow avatar mclow commented on May 18, 2024 1

And the warning for concept_check

1>H:\Svn\ThirdParty-2019\boost_1_75_0\boost\concept_check.hpp(355,12): warning C4834: discarding return value of function with 'nodiscard' attribute

has been fixed, and the fix will appear in the 1.76.0 release (which is imminent)

from bimap.

JonCavesMSFT avatar JonCavesMSFT commented on May 18, 2024

Hi: some questions: which 2019 compiler? Using the latest build, the just about to be released 16.10 toolset, the most recent 16.9 and 16.8 toolsets I am not seeing any crash. Also the exact command-line would also be helpful.

Thanks

from bimap.

dgplayer avatar dgplayer commented on May 18, 2024

from bimap.

dgplayer avatar dgplayer commented on May 18, 2024

from bimap.

dgplayer avatar dgplayer commented on May 18, 2024

from bimap.

dgplayer avatar dgplayer commented on May 18, 2024

from bimap.

JonCavesMSFT avatar JonCavesMSFT commented on May 18, 2024

Hi: thanks for the information but it is not quite what I need. Try adding /Bd /Bv to the command line (and remove /showIncludes) and append that output. I just tried the exact build you reference above, 19.28.29910.0, with a pretty vanilla command line and it built without a crash. Note: I also don't have access to the header files you #include before <boost\bimap.hpp>

Thanks
JonCaves

from bimap.

dgplayer avatar dgplayer commented on May 18, 2024

from bimap.

JonCavesMSFT avatar JonCavesMSFT commented on May 18, 2024

Perfect! That allows me to see exactly what the problem is: it is the use of '/Gm' (AKA Minimal Rebuild). The use of the switch already gives a driver warning:

cl : Command line warning D9035 : option 'Gm' has been deprecated and will be removed in a future release

And just last week I disabled it in the 'live' compiler. If you remove this switch your code should compile.

Thanks
JonCaves

from bimap.

dgplayer avatar dgplayer commented on May 18, 2024

from bimap.

JonCavesMSFT avatar JonCavesMSFT commented on May 18, 2024

That isn't an error it is a single warning (with several continuation messages showing the template instantiation stack) and, as warnings are not being treated as errors, the compile succeeds.

I don't know what VCTIP is (or why the call to CreateFile failed) but it doesn't appear to have caused the build to fail.

Thanks
JonCaves

from bimap.

Related Issues (17)

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.