On Mon, 12 Apr 2004, Martin Costabel wrote:

> Martin Costabel wrote:
>
>
> After some more investigations, I have to take this back. I think now
> that this is indeed a serious problem between xaw3d and xfree86-4.4.0.
>
> I had previously tried to build xaw3d only on Apple's X11 and on
> xfree86-4.3.99-16, where it works. Now I have built Fink's xfree86-4.4.0
> and get the same error as you.
>
> The difference between these versions is that the file
> /usr/X11R6/lib/X11/config/darwin.cf
> in the newer version has a line
>
> # define XawI18nDefines -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H
>
> which it did not have before.
>
> The problem is that xaw3d in its file XawI18n.h understands the flag
> -DHAS_WCTYPE_H, but it doesn't honor the -DNO_WIDEC_H flag that seems to
> be there exactly for excluding the non-existing #include <widec.h>.
> Therefore xaw3d needs to be fixed (maintainer CCed). Either the file
> XawI18n.h has to be patched, or there may be a newer version around that
> doesn't have this problem (not sure).
>
> If I make a diff between the XawI18n.h in the xaw3d sources and the one
> in the xfree86-4.4.0 sources, I see exactly this difference (among others)
>
>   #ifdef HAS_WCTYPE_H
>   #include <wctype.h>
> +#ifndef NO_WIDEC_H
>   #include <widec.h>
>   #define wcslen(c) wslen(c)
> [...]
> +#endif
>   #endif
>
>

This is now fixed in 10.3 unstable.  Thanks Martin.

-Jeff

-- 
Jeffrey S. Whitaker         Phone  : (303)497-6313
Meteorologist               FAX    : (303)497-6449
NOAA/OAR/CDC  R/CDC1        Email  : [EMAIL PROTECTED]
325 Broadway                Web    : www.cdc.noaa.gov/~jsw
Boulder, CO, USA 80303-3328 Office : Skaggs Research Cntr 1D-124


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to