Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

I could not compile with M2 #8

@etherealbyron

Description

@etherealbyron

it appeared this error

gcc -pthread -o csgo_osx64 csgo_run.c
csgo_run.c:115:32: error: incompatible function pointer types passing 'void ()(InjectConfig )' to parameter of type 'void * _Nullable ( _Nonnull)(void * _Nullable)' [-Wincompatible-function-pointer-types]
115 | pthread_create(&tid, NULL, &inject, inj_cfg);
| ^~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:340:31: note: passing argument to parameter here
340 | void * _Nullable (* _Nonnull)(void * _Nullable),
| ^
1 error generated.
make: *** [osx] Error 1
meowyan@bogon csgo-run-m

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions