jfm wrote:

Right question: personnally, I didn't get this error when first rebuilding my pkgs under
10.3 with Apple's X11, but do get it now when re-doing the same with xfree86-4.3.99.16.
(Didn't have the time to look at it yet.)

From looking at cvs logs, it seems this was introduced into xfree86-4.3.99.3, so it is in 4.3.99.16, but not in Apple's X11. Actually the Xlib.h from 4.3.0 (Apple's X11) uses _Xmblen without defining it. It is defined in the library libX11.dylib, but not in a header.


This is not nice, so they fixed it. It seems vim fixed it in a different way.

mbyte.c: In function `mb_init':
mbyte.c:532: error: conflicting types for `_Xmblen'
/usr/X11R6/include/X11/Xlib.h:99: error: previous declaration of `_Xmblen'
mbyte.c:532: warning: extern declaration of `_Xmblen' doesn't match global one
make: *** [objects/mbyte.o] Error 1
### execution of (cd failed, exit code 2
Failed: compiling vim-6.1-16 failed

I think this has to be considered a bug in the vim package that needs to be fixed by removing or disabling the offensive code.


--
Martin




------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to