andlabs / andlabs/libui

Doesn't compile with Clang 7.0.0

未关闭
#439 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C
星标
10.9k
派生
612
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。