vysheng / tg

telegram-cli
GNU General Public License v2.0
6.51k stars 1.54k forks source link

Compile Error OSX High Sierra #1516

Open dhalucario opened 6 years ago

dhalucario commented 6 years ago

Hey, Im using OSX High Sierra (Version 10.13.4) and while trying to compile I get following errors:

lua-tg.c:664:27: error: unused function 'get_peer' [-Werror,-Wunused-function]
static inline tgl_peer_t *get_peer (const char *s) {
                          ^
1 error generated.
make: *** [objs/lua-tg.o] Error 1
patillacode commented 6 years ago

Take a look here, it helped me.

dhalucario commented 6 years ago

Thank you. Gonna take a look at later.