GNOME Bugzilla – Bug 111620
version 0.13.96 - MacOS X compile problems
Last modified: 2004-12-22 21:47:04 UTC
Using MacOS X 10.2.5 with Fink 0.5.2 (or close). Basically, in 0.13.96, pan/filters/source.c doesn't like /usr/include/regex.h in its current position in the include order, and the compile errors out. I moved "#include <regex.h>" from just before the <glib.h> to after all of the rest of the includes, and the compile proceeded apace, resulting in a minty fresh binary. Some further warnings I saw: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"pan\" -DGNOMELOCALEDIR=\""/usr/local/share/locale"\" -DLOCALEDIR=\"/usr/local/share/locale\" -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/pango-1.0 -I/usr/X11R6/include -I/sw/include/freetype2 -I/sw/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -D_REENTRANT -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/libxml2 -I/sw/include -I/sw/include/glib-1.2 -I/sw/lib/glib/include -D_REENTRANT -I/usr/local/include/gnet -I/usr/local/lib/gnet/include -I/usr/local/include -g -O2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -D_REENTRANT -I/usr/local/include/gnet -I/usr/local/lib/gnet/include -I/usr/local/include -I. -c `test -f 'gui.c' || echo './'`gui.c gui.c: In function `menu_translate': gui.c:1132: warning: return discards qualifiers from pointer target type HTH. --Jubal
Fixed in CVS: http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/pan/filters&command=DIFF_FRAMESET&file=score.c&rev1=1.11&rev2=1.12&root=/cvs/gnome http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/pan&command=DIFF_FRAMESET&file=gui.c&rev1=1.574&rev2=1.575&root=/cvs/gnome http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan&command=DIFF_FRAMESET&file=ANNOUNCE.html&rev1=1.143&rev2=1.144&root=/cvs/gnome