Coder Social home page Coder Social logo

Comments (3)

7starsea avatar 7starsea commented on August 23, 2024

There is another compiling problem for vs2013 when constructing std::string from string_view in
csv_row.hpp:Line 204 and csv_row.cpp:Line 96 and csv_reader.cpp:Line 346.

We could fix this by using constructor std::string( sv.data(), sv.size() ) where sv is an instance of string_view.

Thanks.

from csv-parser.

vincentlaucsb avatar vincentlaucsb commented on August 23, 2024

Can you confirm that these changes work? I'm using Visual Studio 2017 and would prefer not to have to install 2013 as well.

from csv-parser.

7starsea avatar 7starsea commented on August 23, 2024

Yes, I confirm that using constructor std::string( sv.data(), sv.size() ) works on vs2013.

However, there is another error on vs2013: "concrt.h(1224): error c2061: syntax error : identifier 'hresult',
stackoverflow suggested checking "circular dependency of header files", and I cleaned some non-necessary include's. It worked for me now.

Thanks.

from csv-parser.

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.