-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Few tests failed on Visual C++ 2015 #257
Comments
I'll have a look into this. Just to make sure:
I'm asking because AppVeyor could execute all tests successfully (https://ci.appveyor.com/project/nlohmann/json) with MSVC 19.0.23918.0. |
Short answers: yes and same as AppVeyor.
I'm not sure what more should I check. |
From the log, it the following files fail to parse:
I added the output of the Just as a test - could you please check whether these files are unchanged on your system?
|
I've checked MD5 of test files. I had automatic line ending int Git set to true. (core.autocrlf true), what indeed made few MD5 checksums to not match yours. After disabling it and redownloading MD5 sums do match, but tests outcome is exactly same as previously - 6 tests, 15 assertions failed. Here are MD5 sums in both cases: |
This is strange... |
Well, sorry for bothering you... I've debbugged it down to lexer constructor (line 7309). That's interesting though that ifstream does not report any bug ealier. |
Thanks for reporting back! |
Hey,
I want to report that 6 out of 32 tests failed once I compiled it with VC++ 2015.
Fortunatelly there are only 15 assertion fails, mainly with error message "parse error - unexpected end of input".
Tested on x86 and x64 debug and release builds.
I can debug it later if needed.
Log attached:
log.txt
And build log:
build.txt
The text was updated successfully, but these errors were encountered: