Coder Social home page Coder Social logo

Bogus MSVC14.0 C4702 warning about iostreams HOT 4 OPEN

boostorg avatar boostorg commented on June 11, 2024
Bogus MSVC14.0 C4702 warning

from iostreams.

Comments (4)

mclow avatar mclow commented on June 11, 2024

Can I have more information (boost version, etc)?
Because here's the code I see:

screen shot 2019-02-28 at 5 12 39 pm

from iostreams.

Kojoley avatar Kojoley commented on June 11, 2024

boost version

develop branch

etc

I do not know what other information I can provide. It is exactly on those lines, it has to be a compiler bug because 14.1 does not produce those warnings, but I am not sure so posted as issue. If it ok I can open a PR with suppressing them otherwise I will just suppress the warning from the whole include on my side.

from iostreams.

jeking3 avatar jeking3 commented on June 11, 2024

Look at the AppVeyor CI builds where MSVC 14.0 (2015) is tested:
https://ci.appveyor.com/project/eldiener/iostreams/builds/22626745
I only see:

c:\projects\boost-root\boost\test\impl\execution_monitor.ipp(1296) : warning C4702: unreachable code

Look at the regression test matrix for iostreams, for MSVC 14.0:
https://www.boost.org/development/tests/develop/developer/iostreams.html
I do not see it there (but I see what looks like 4 possibly bogus failure detections for MSVC 14.0.

It does not show up in our test environments. Please post a test and/or the git commit where you saw the issue so we can be looking at the correct code.

from iostreams.

Kojoley avatar Kojoley commented on June 11, 2024

b2 variant=release address-model=64 cxxflags=/w14702 warnings-as-errors=on toolset=msvc-14.0 libs/spirit/classic/test//tree_to_xml

from iostreams.

Related Issues (20)

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.