-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
single_include compilation error #75
Comments
BTW, the include/internal/csv_row.hpp file was also modified the same way as single_include_test/csv.hpp file above. |
What version of g++ are you using? Seems like a compiler bug since the Travis build using g++ succeeds with std=c++11. |
The bug reported in the link was fixed in g++ v5.1.0. |
BTW, using std=c++11 the problem still happens. |
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? |
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. |
I'm thinking to use clang v9 instead g++, but first I have to check the modification cost. |
Fixed by #179 |
First of all, thanks for doing this library.
When compiling files in single_include_test directory, the following compilation errors occurred:
To fix the errors above I've just modified the following lines:
(the lines commented are the original ones)
csv.hpp
file1.hpp
The file2.hpp is ok.
The text was updated successfully, but these errors were encountered: