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
Warning with MinGW-W64 GCC-8.1.0 #63
Comments
|
With numa=yes: gcc -Wall -std=c11 -fprofile-use -fno-peel-loops -fno-tracer -pedantic -Wextra -Wshadow -Wno-pedantic-ms-format -m64 -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DNUMA -flto -c -o polybook.o polybook.c |
This should fix another warning reported in #63
|
All warnings are now fixed. Thank you. |
gcc -Wall -std=c11 -fprofile-generate -pedantic -Wextra -Wshadow -Wno-pedantic-ms-format -m64 -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -flto -c -o ucioption.o ucioption.c
thread.c: In function 'thread_create':
thread.c:146:42: warning: cast between incompatible function types from 'void * (*)(void )' to 'DWORD ()(void )' {aka 'long unsigned int ()(void *)'} [-Wcast-function-type]
HANDLE *thread = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)thread_init, (void *)(intptr_t)idx, 0 , NULL);
^
gcc -Wall -std=c11 -fprofile-generate -pedantic -Wextra -Wshadow -Wno-pedantic-ms-format -m64 -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -flto -c -o numa.o numa.c
The text was updated successfully, but these errors were encountered: