-
-
Notifications
You must be signed in to change notification settings - Fork 355
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
Compiler warnings and errors #80
Comments
src/display.c: In function ‘OnSurfaceEvent’: LCUI version: [2.661 commits / 13.04.2017] |
src/image/jpeg.c: In function ‘LCUI_ReadJPEGHeader’: LCUI version: [2.661 commits / 13.04.2017] |
The correct content should be: |
Ok, now you can try rebuild in windows agian. |
Ok. src/platform/windows/windows_events.c src/font/charset.c Thanks! |
hm... |
@mrwert You can switch to v140_xp toolset. Universal Windows Platform (UWP) version of the driver support code is not included in the LCUI source code. |
src/platform/windows/windows_events.c LCUI version: [2.671 commits / 17.04.2017] |
@mrwert It seems that the _UNICODE macro does not work in your compiler, |
Hello!
src/platform/windows/windows_display.c
[398]:
wsprintf( str, L"LCUI_CreateWinAppDriver(): error code: %d\n", GetLastError() );
Warning C4133: 'function' : incompatible types - from 'wchar_t *' to 'LPCSTR'.
src/platform/windows/windows_events.c
[172]:
wsprintf( str, L"LCUI_CreateWinAppDriver(): error code: %d\n", GetLastError() );
Warning C4133: 'function' : incompatible types - from 'wchar_t [256]' to 'LPSTR'.
and
Warning C4133: 'function' : incompatible types - from 'unsigned short [43]' to 'LPCSTR'.
src/platform/windows/windows_events.c
[173]:
MessageBox( NULL, str, szAppName, MB_ICONERROR );
Warning C4133: 'function' : incompatible types - from 'wchar_t [256]' to 'LPCSTR'.
src/platform/windows/windows_events.c
[177]:
app->PostTask = WIN_PostTask;
Error C2039: ‘PostTask’ is not a member of ‘LCUI_AppDriverRec_’.
src/platform/windows/windows_events.c
[178]:
app->WaitEvent = WIN_WaitEvent;
Error C2039: ‘WaitEvent’ is not a member of ‘LCUI_AppDriverRec_’.
LCUI version: [2.661 commits / 13.04.2017]
OS and version: [Windows 7]
Build tools: [vcvars32.bat -> cl.exe (VisualStudio 2015)]
Thanks!
The text was updated successfully, but these errors were encountered: