Commit 60d942d
authored
[win32] Suppress win32 swiftshader warnings (#562)
Suppresses several Windows-specific warnings emitted during swiftshader
builds:
* On swiftshader builds against Win32 C++ headers, warnings are emitted
about subclassing std::iterator, which was deprecated in C++17. This
affects a header file in swiftshader's third-party directory:
third_party/swiftshader/third_party/llvm-subzero/include/llvm/ADT/iterator.h
* Three functions in libVulkan.cpp are re-declared with a difference in
dllexport attribute only.
* Silence implicit string conversion warnings in two places in
swiftshader where asserts of the form assert(!"Error msg") are used.
Issue: #591991 parent 83a4451 commit 60d942d
1 file changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
30 | 46 | | |
31 | 47 | | |
32 | 48 | | |
| |||
0 commit comments