-
Notifications
You must be signed in to change notification settings - Fork 538
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
Float parsing fails tests on Windows. #104
Comments
I strongly suspect the problem is that the version of the C++ runtime being used doesn't follow C++11 behaviour for the relevant edge cases for std::istringstream operator>>(float). Maybe the fix is to require VS2015? |
dneto0
added a commit
to dneto0/SPIRV-Tools
that referenced
this issue
Feb 16, 2016
This should address problems on Windows: KhronosGroup#104
Fixed with #108 |
dneto0
pushed a commit
that referenced
this issue
Jun 19, 2019
KhronosGroup/SPIRV-Headers@8b911bd...de99d4d $ git log 8b911bd..de99d4d --date=short --no-merges --format='%ad %ae %s' 2019-06-12 dneto Add Volatile to Memory Semantics, for SPV_KHR_vulkan_memory_model 2019-06-10 ehsannas Add grammar and symbols for UserTypeGOOGLE extension to unified1. 2019-06-07 cepheus Add missing "version" : "None" to a bunch of reserved enumerants. 2019-06-07 cepheus Add more detail about reserving tokens to the README. 2019-06-07 cepheus Restore numerical order in enumerants. 2019-05-18 mchiasson Update CMakeLists.txt 2019-05-16 mchiasson updated as per code review 2019-05-11 mchiasson cmake development configuration package Fixes #104 Created with: roll-dep external/spirv-headers
rjodinchr
pushed a commit
to rjodinchr/SPIRV-Tools
that referenced
this issue
Jun 22, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Somewhat related to #45 . Fixes for that caused me to change the parser (to work around C++ library bugs on Mac). I also added tests to validate expected behaviour when parsing overflow numbers and non-numbers.
But those tests are now failing on Windows.
See AppVeyor results from github from testing github.com/google/shaderc
https://ci.appveyor.com/project/dneto0/shaderc/build/288/job/et8t59ppbyoe74n7
It appears that std::operator>>(float&) is broken on edge cases on that MSVC compiler and runtime.
and
and
and
and
The text was updated successfully, but these errors were encountered: