Dear all, I just upgraded my OS to Mountain Lion (10.8.2). I was installing w3m as a dependency for a different package, and I got the following compilation error:
gcc -I. -I. -g -O2 -I./libwc -I/sw/lib/system-openssl/include -I/sw/lib/system-openssl/include -I/sw/include/gc -I/sw/include -DHAVE_CONFIG_H -DAUXBIN_DIR=\"/sw/lib/w3m\" -DCGIBIN_DIR=\"/sw/lib/w3m/cgi-bin\" -DHELP_DIR=\"/sw/share/w3m\" -DETC_DIR=\"/sw/etc\" -DCONF_DIR=\"/sw/etc/w3m\" -DRC_DIR=\"~/.w3m\" -DLOCALEDIR=\"/sw/share/locale\" -I/sw/lib/system-openssl/include -I/sw/include/gc -I/sw/include -c -o file.o file.c main.c:836:23: error: assigning to 'GC_warn_proc' (aka 'void (*)(char *, GC_word)') from incompatible type 'void' orig_GC_warn_proc = GC_set_warn_proc(wrap_GC_warn_proc); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:2264:37: warning: incompatible pointer types passing 'char **' to parameter of type 'wc_uchar **' (aka 'unsigned char **') [-Wincompatible-pointer-types] return wc_any_to_ucs(wtf_parse1(&p)); ^~ ./libwc/wtf.h:71:41: note: passing argument to parameter 'p' here extern wc_wchar_t wtf_parse1(wc_uchar **p); ^ 1 warning and 1 error generated. make: *** [main.o] Error 1 Information on my system follows $ gcc --version i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Package manager version: 0.34.3 Distribution version: selfupdate-rsync Tue Sep 25 14:56:41 2012, 10.8, x86_64 Trees: local/main stable/main unstable/main unstable/crypto Xcode.app: 4.5 Xcode command-line tools: 4.5.0.0.1.1249367152 Max. Fink build jobs: 1 Thank you for your help, Tiziano ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users