You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.\klog_main.cpp: In function 'int Save(int)':
.\klog_main.cpp:142:46: warning: unknown conversion type character 'F' in format [-Wformat=]
142 | strftime(s, sizeof(s), "%FT%X%z", &tm_info);
| ^
.\klog_main.cpp: In function 'bool IsSystemBooting()':
.\klog_main.cpp:204:33: error: 'SM_SYSTEMDOCKED' was not declared in this scope
204 | return GetSystemMetrics(SM_SYSTEMDOCKED) != 0;
Desktop (please complete the following information):
OS: Windows 10 22H2 build 19045.4651
Additional context
Latest source from master => windows/klog_main.cpp
The text was updated successfully, but these errors were encountered:
Describe the bug
Tried to compile on Windows 10 with MinGW64 but got this win32 api related error:
g++.exe -Wall -Wextra -Wpedantic -mwindows -o main.exe .\klog_main.cpp
.\klog_main.cpp: In function 'int Save(int)':
.\klog_main.cpp:142:46: warning: unknown conversion type character 'F' in format [-Wformat=]
142 | strftime(s, sizeof(s), "%FT%X%z", &tm_info);
| ^
.\klog_main.cpp: In function 'bool IsSystemBooting()':
.\klog_main.cpp:204:33: error: 'SM_SYSTEMDOCKED' was not declared in this scope
204 | return GetSystemMetrics(SM_SYSTEMDOCKED) != 0;
Desktop (please complete the following information):
Additional context
Latest source from master => windows/klog_main.cpp
The text was updated successfully, but these errors were encountered: