Jean-Marc Lasgouttes writes:
> >>>>> "Svante" == Svante Signell <[EMAIL PROTECTED]> writes:
>
> Svante> OK, new complier gcc-2.96-64, new glibc-2.2-5, new
> Svante> XFree86-4.0.1-1.3 (and new binutils 2.10.1.0.2-1) from
> Svante> rawhide, same problem (todays CVS): Xforms-0.88-15 from
> Svante> powertools.
>
> Svante> ./autogen.sh;./configure;make
>
> Svante> make[3]: Entering directory `/mnt/sdc3/lyx-devel/src/mathed'
> Svante> /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I.
> Svante> -I. -I../../src -I../../images -I./../ -I../.. -I../..
> Svante> -I../../boost -isystem /usr/X11R6/include -g -O
> Svante> -fno-exceptions -W -Wall -c formula.C g++ -DHAVE_CONFIG_H -I.
> Svante> -I. -I../../src -I../../images -I./../ -I../.. -I../..
> Svante> -I../../boost -isystem /usr/X11R6/include -g -O
> Svante> -fno-exceptions -W -Wall -Wp,-MD,.deps/formula.pp -c formula.C
> Svante> -o formula.o In file included from formula.C:30:
> Svante> ../../src/minibuffer.h: At top level:
> Svante> ../../src/minibuffer.h:17: using directive `Object' introduced
> Svante> ambiguous type `_ObjectRec *'
>
> Do you know where this _ObjectRec is coming from?
>
> JMarc
Yes, it's from XFree86-devel-4.0.1.3 in a redhat/rawhide system:
#cat /usr/X11R6/include/X11/ObjectP.h:
...
#include <X11/Object.h>
/**********************************************************
* Object Instance Data Structures
*
**********************************************************/
/* these fields match CorePart and can not be changed */
typedef struct _ObjectPart {
Widget self; /* pointer to widget itself */
WidgetClass widget_class; /* pointer to Widget's ClassRec */
Widget parent; /* parent widget */
XrmName xrm_name; /* widget resource name quarkified */
Boolean being_destroyed; /* marked for destroy */
XtCallbackList destroy_callbacks; /* who to call when widget destroyed */
XtPointer constraints; /* constraint record */
} ObjectPart;
typedef struct _ObjectRec {
ObjectPart object;
} ObjectRec;
...
# rpm -qf /usr/X11R6/include/X11/ObjectP.h
XFree86-devel-4.0.1-1.3