Hello, Since recent commit 4cf86b87928c6653612238c1240bf8cb1a697e7e ("crt/libsrc: Enable scrnsave code") gcc started throwing new compile warnings during compilation of mingw-w64:
libsrc/scrnsave.c: In function ‘WinMain’: libsrc/scrnsave.c:130:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hParent = (HWND) (unsigned long long)_toul(p); ^ libsrc/scrnsave.c:148:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hParent = (HWND) (unsigned long long) _toul(p); ^ libsrc/scrnsave.c:77:49: warning: unused parameter ‘hPrevInst’ [-Wunused-parameter] int APIENTRY WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, ~~~~~~~~~~^~~~~~~~~ libsrc/scrnsave.c:78:41: warning: unused parameter ‘nCmdShow’ [-Wunused-parameter] LPSTR CmdLine, int nCmdShow) ~~~~^~~~~~~~ libsrc/scrnsave.c: In function ‘DefScreenSaverProc’: libsrc/scrnsave.c:321:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if (wParam != FALSE) ^ libsrc/scrnsave.c:323:5: note: here case WM_MOUSEMOVE: ^~~~ libsrc/scrnsave.c:324:7: warning: this statement may fall through [-Wimplicit-fallthrough=] { ^ libsrc/scrnsave.c:330:5: note: here case WM_LBUTTONDOWN: ^~~~ Could you look at them? Probably there are some issues with this scrnsave code and maybe that was the reason why it was disabled. _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public