Coder Social home page Coder Social logo

Comments (8)

viniciusjl avatar viniciusjl commented on August 23, 2024 1

Well, in the bug tracker header is written that the bug was fixed in g++ v5.1.0, but reading the bug tracker comments I saw that the bug was fixed in g++ v7.2.

So, it seems a compiler bug, what g++ version was used in csv tests?

from csv-parser.

viniciusjl avatar viniciusjl commented on August 23, 2024

BTW, the include/internal/csv_row.hpp file was also modified the same way as single_include_test/csv.hpp file above.

from csv-parser.

vincentlaucsb avatar vincentlaucsb commented on August 23, 2024

What version of g++ are you using? Seems like a compiler bug since the Travis build using g++ succeeds with std=c++11.

https://stackoverflow.com/questions/36489369/constexpr-non-static-member-function-with-non-constexpr-constructor-gcc-clang-d

from csv-parser.

viniciusjl avatar viniciusjl commented on August 23, 2024
$ g++ --version
g++ (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$

The bug reported in the link was fixed in g++ v5.1.0.

from csv-parser.

viniciusjl avatar viniciusjl commented on August 23, 2024

BTW, using std=c++11 the problem still happens.

from csv-parser.

vincentlaucsb avatar vincentlaucsb commented on August 23, 2024

https://travis-ci.org/vincentlaucsb/csv-parser/jobs/646741008

I use g++ 8. I'm thinking about applying a modification similar to yours based on g++ version since it's a simple fix, but I don't want to maintain g++ 5 compatibility forever. I'll think about it.

from csv-parser.

viniciusjl avatar viniciusjl commented on August 23, 2024

I'm thinking to use clang v9 instead g++, but first I have to check the modification cost.

from csv-parser.

vincentlaucsb avatar vincentlaucsb commented on August 23, 2024

Fixed by #179

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.