-
Notifications
You must be signed in to change notification settings - Fork 49
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
make ege compatible with clang #122
base: master
Are you sure you want to change the base?
Conversation
@@ -76,14 +76,18 @@ static int g_initoption = INIT_DEFAULT; | |||
static HWND g_attach_hwnd = 0; | |||
static WNDPROC DefWindowProcFunc = NULL; | |||
|
|||
#ifndef __clang__ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这段为啥要改,应该没问题啊。
也可以把判断 __cplusplus
的部分去掉。
@@ -78,11 +81,13 @@ | |||
|
|||
// MSVC 从 10.0(VS2010)开始有 stdint.h | |||
// GCC 从 4.5 开始有 stdint.h | |||
#ifndef __clang__ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里改成在第 85 行加上 || defined(__clang__)
吧
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
改改然后合入了?
So, 合吗, 各位 |
冲突了诶... |
@royqh1979 还在不, 解决一下冲突呢? |
@yixy-only 看看呢, 这个跟现在的cmake冲突挺大的, 要手动解决一下然后合入吗 |
这个等我先测一下 |
No description provided.