Skip to content
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

Fix the missing of CancelIoEx #229

Merged
merged 1 commit into from
Aug 31, 2023
Merged

Conversation

da-liii
Copy link
Contributor

@da-liii da-liii commented Aug 30, 2023

Fix #228, here is the error:

error: @programdir\modules\private\async\runjobs.lua:256: @programdir\modules\private\action\build\object.lua:91: @programdir\modules\core\tools\gcc.lua:805: In file included from src\tbox\platform\fwatcher.c:37:
src\tbox\platform\windows/fwatcher_iocp.c: In function 'tb_fwatcher_item_free':
src\tbox\platform\windows/fwatcher_iocp.c:81:9: error: implicit declaration of function 'CancelIoEx'; did you mean 'CancelIo'? [-Werror=implicit-function-declaration]
         CancelIoEx(watchitem->handle, &watchitem->overlapped);
         ^~~~~~~~~~
         CancelIo

@da-liii
Copy link
Contributor Author

da-liii commented Aug 30, 2023

The dev branch works fine. And it might be a good idea to include "prefix.h" explicitly.

@waruqi waruqi merged commit 6a64670 into tboox:dev Aug 31, 2023
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants