-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Visual Studio 2017 Update 9 (15.9) Support #522
Comments
Assigning to @pixelflinger for the @shartte The casts look correct but this would require maintaining a patch on top of |
@romainguy Yeah I'll look into that. My gut says that the underlying type for that enum should be uint32_t to begin with, but I haven't looked into it yet. edit, Done: KhronosGroup/glslang#1596 |
@romainguy So I checked with the upstream master, and that compiles without issues. |
Now that #526 is merged, this issue is fixed. |
Describe the bug
Compilation fails when updating to the latest VS update (2017.9).
Visual Studio now requires Clang 7.
I am compiling for Windows x64.
To Reproduce
Install the latest update to Visual Studio and try to compile.
First you'll note that the MS STL now requires Clang 7.
After updating to Clang 7, the following errors occur.
Additional context
SPIRV
Three identical compile errors occurs in SPIRV:
The error can be fixed by inserting the cast, but I am unsure it's correct.
Allocator
I "fix" this one by explicitly calling template alloc with <uint8_t> in the void* case like this:
When I tried
alloc<void>
, clang cited that void is not trivially destructible.This relates to #516 and #358
The text was updated successfully, but these errors were encountered: