EionRobb / purple-translate

Automatically exported from code.google.com/p/purple-translate
2 stars 1 forks source link

would like to compile on FreeBSD Unix #15

Open dchmelik opened 4 years ago

dchmelik commented 4 years ago

I'd like to compile on FreeBSD Unix. After some minor necessary changes (comment out other OSes, fix include directory) the following happens.

u@1.workstation:~/purple-translate$ gmake gcc -I/usr/local/include/libpurple -I/usr/local/include/libpurple -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include/ -I/usr/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I. -g -O2 -pipe purple-translate.c -o purple-translate.so -shared -fPIC -DPIC purple-translate.c: In function 'translate_receiving_message_cb': purple-translate.c:277:15: warning: variable 'stored_lang' set but not used [-Wunused-but-set-variable] 277 | const gchar *stored_lang = ""; | ^~~~~~~~~~~ purple-translate.c: In function 'translate_receiving_chat_msg_cb': purple-translate.c:367:15: warning: variable 'stored_lang' set but not used [-Wunused-but-set-variable] 367 | const gchar *stored_lang = ""; | ^~~~~~~~~~~ purple-translate.c: In function 'translate_sending_chat_message_cb': purple-translate.c:529:6: warning: variable 'err' set but not used [-Wunused-but-set-variable] 529 | int err = 0; | ^~~