FVWM: Re: fvwm 2.0.44, finially

From: Andrew Veliath <veliaa_at_rpi.edu>
Date: Wed, 15 Jan 1997 17:29:21 -0500

    Mark> Has anyone successfully compiled 2.0.44 against the new
    Mark> X11R6.3 library?

    Mark> "/usr/local/x11r6.3/include/X11/Xlib.h", line 71: identifier
    Mark> redeclared: wchar_t current : ulong previous: long :
    Mark> "/usr/include/stdlib.h", line 61 cc: acomp failed for
    Mark> GetFont.c make[1]: *** [GetFont.o] Error 2
    Mark> "/usr/local/x11r6.3/include/X11/Xlib.h", line 71: identifier
    Mark> redeclared: wchar_t current : ulong previous: long :
    Mark> "/usr/include/stdlib.h", line 61 "add_window.c", line 251:

    Mark> I'm not sure if this is a R6.3 mis-installation, or an fvwm
    Mark> problem. [ Note that X11R6.1's Xlib.h is identical to
    Mark> X11R6.3's ]

Mark,

I suspect these error seems to be related to your setup. I am not
running 6.3, but I downloaded Xlib.h from 6.3 to take a peek.

A diff -u produced a 200 line diff between the Xlib.h versions, and I
suspect your problem with with conflicting wchar_t declarations. The
"replace this with #include or typedef appropriate for your system"
comment might be of use here.


Xlib.h:62 from R6.1:

#ifndef X_WCHAR
#ifdef X_NOT_STDC_ENV
#ifndef SCO324
#ifndef ISC
#define X_WCHAR
#endif
#endif
#endif
#endif

#ifndef X_WCHAR
#include <stddef.h>
#else
#ifdef __EMX__
#include <stdlib.h>
#else
/* replace this with #include or typedef appropriate for your system */
typedef unsigned long wchar_t;
#endif
#endif


Xlib.h:61 from R6.3:

#ifndef X_WCHAR
#ifdef X_NOT_STDC_ENV
#define X_WCHAR
#endif
#endif

#ifndef X_WCHAR
#include <stddef.h>
#else
/* replace this with #include or typedef appropriate for your system */
typedef unsigned long wchar_t;
#endif


Regards,
Andrew

--
Andrew Veliath <veliaa_at_rpi.edu>        http://www.rpi.edu/~veliaa
One day, all forms of communication will be superseded by a FAQ.
Finger for PGP Public Key
Key fingerprint =  51 56 5D 3E 51 43 8B 74  7C B2 E4 B6 84 8E 8B 08
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Wed Jan 15 1997 - 19:08:15 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:59 BST