Hello

I noticed this the other day:

Continuing in src...
../scripts/svn-revision .. revision.h
cc -c -I.. -I. -O2 -pipe -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API 
-DXNO_MTSAFE_PWDAPI -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include 
-I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/cairo 
-I/usr/pkg/include/pango-1.0 -I/usr/pkg/include -I/usr/pkg/include/freetype2 
-I/usr/pkg/xorg/include -I/usr/pkg/include/glib/glib-2.0 
-I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/libpng12   
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include   
-I/usr/pkg/include/libxml2    -I/usr/pkg/include     -DCURDIR=src -O2 -g -W 
-Wall -Wformat=2 -Wshadow -momit-leaf-frame-pointer -pipe  main.c
In file included from ./if/core/downloads.h:35,
                 from ./if/core/fileinfo.h:31,
                 from core/share.h:44,
                 from core/fileinfo.h:39,
                 from core/downloads.h:40,
                 from core/dmesh.h:39,
                 from main.c:48:
./core/rx_link.h:49: warning: 'libintl_printf' is an unrecognized format 
function type
In file included from ./if/core/downloads.h:36,
                 from ./if/core/fileinfo.h:31,
                 from core/share.h:44,
                 from core/fileinfo.h:39,
                 from core/downloads.h:40,
                 from core/dmesh.h:39,
                 from main.c:48:
./core/rx_chunk.h:48: warning: 'libintl_printf' is an unrecognized format 
function type
In file included from ./if/gui_property.h:32,
                 from ui/gtk/settings.h:33,
                 from main.c:130:
./lib/prop.h:51: error: redeclaration of enumerator 'PROP_TYPE_STRING'
/usr/include/prop/prop_object.h:60: error: previous definition of 
'PROP_TYPE_STRING' was here
./lib/prop.h:55: error: conflicting types for 'prop_type_t'
/usr/include/prop/prop_object.h:65: error: previous declaration of 
'prop_type_t' was here
gmake[2]: *** [main.o] Error 1
gmake[2]: Leaving directory 
`/home/lars/netbsd/pkgsrc-current/wip/gtk-gnutella-current/work/gtk-gnutella/src'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory 
`/home/lars/netbsd/pkgsrc-current/wip/gtk-gnutella-current/work/gtk-gnutella'
gmake: *** [all] Error 2
*** Error code 2


NetBSD 4.0 intend to introduce a proplib with corresponding header
files in /usr/include/prop. This clashes with prop.h in gtk-gnutella.
The name 'prop' seems to be popular these days.

I have not yet investigated if /usr/include/prop/prop_object.h is
supposed to be used here, or not. I tried to follow the include chain
to find out how the files are connected, but failed. For all I know
right now, it could be a temporary hickup in NetBSD-current.


Best regards,
        Lars Nordlund

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Gtk-gnutella-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to