Doesn't compile with Clang 7.0.0
Open
- Dominant language
- C
- Stars
- 10.9k
- Forks
- 612
- PR merge metrics
- No merged PRs in 30d
Description
Hey, I'm trying to compile libui on Clang 7.0.0 on MSYS2 MinGW 64-bit. However, I get this error.
```
H:/Github/libui/windows/areadraw.cpp:81:7: error: case value evaluates to 2291728396, which cannot be narrowed to type 'HRESULT' (aka 'long') [-Wc++11-narrowing]
case D2DERR_RECREATE_TARGET:
^
C:\msys64\mingw64\x86_64-w64-mingw32\include\d2derr.h:30:33: note: expanded from macro 'D2DERR_RECREATE_TARGET'
#define D2DERR_RECREATE_TARGET 0x8899000C
```
It compiles fine with GCC 8.2.0.
Contributor guide
Assessment
This issue has not been assessed yet.