Arman92 / go-tdlib

Golang Telegram TdLib JSON bindings
GNU General Public License v3.0
435 stars 101 forks source link

Implicit declaration of function #90

Open spaumx opened 3 years ago

spaumx commented 3 years ago

Hi, how can i fix this error?

github.com/Arman92/go-tdlib

cgo-gcc-prolog: In function '_cgo_dc67bd7edafc_Cfunc_td_json_client_create': cgo-gcc-prolog:63:35: warning: implicit declaration of function 'td_json_client_create' [-Wimplicit-function-declaration] cgo-gcc-prolog:63:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cgo-gcc-prolog: In function '_cgo_dc67bd7edafc_Cfunc_td_json_client_destroy': cgo-gcc-prolog:78:2: warning: implicit declaration of function 'td_json_client_destroy' [-Wimplicit-function-declaration] cgo-gcc-prolog: In function '_cgo_dc67bd7edafc_Cfunc_td_json_client_execute': cgo-gcc-prolog:94:35: warning: implicit declaration of function 'td_json_client_execute' [-Wimplicit-function-declaration] cgo-gcc-prolog:94:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cgo-gcc-prolog: In function '_cgo_dc67bd7edafc_Cfunc_td_json_client_receive': cgo-gcc-prolog:113:35: warning: implicit declaration of function 'td_json_client_receive' [-Wimplicit-function-declaration] cgo-gcc-prolog:113:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cgo-gcc-prolog: In function '_cgo_dc67bd7edafc_Cfunc_td_json_client_send': cgo-gcc-prolog:129:2: warning: implicit declaration of function 'td_json_client_send' [-Wimplicit-function-declaration]