Undefined symbol EOF #2755
Labels
kind: bug
release item: 🔨 further change
solution: proposed fix
a fix for the issue has been proposed and waits for confirmation
Milestone
What is the issue you have?
I am getting compilation error like "Undefined symbol EOF" with gcc9 on Ubuntu 18.04
Please describe the steps to reproduce the issue.
Include single header file json.hpp and try to compile code that uses it.
Can you provide a small but working code example?
What is the expected behavior?
I can see EOF still used in the one place in the single header. Did not check multiple headers.
After replacing with
std::char_traits<char>::eof()
it has started to work.Please incorporate this small change.
And what is the actual behavior instead?
Which compiler and operating system are you using?
Which version of the library did you use?
develop
branchIf you experience a compilation error: can you compile and run the unit tests?
The text was updated successfully, but these errors were encountered: