Sorry ,
This was my mis-understanding
The assumption is that you are either using xpm or you are using Xm/Manager
I finally figured out
In either case (XPMATTRIBUTES_TYPE XpmAttributes) should always be set
Thanks for responding and tolerating my foolish questions
The Xm/Manager setting got a false hit in the detection code because of
(duplicate definition's )
The Xm/Notebook got an incorrect positive hit because there are different
versions of the notebook.h floating
Around and certain Notebook api's are not supported (or maybe they are
located in a different header file ?)
In December I was able to successfully build , but now I am getting some
syntax errors
I am building with X11R6
Does 7.3 still support X11R6 ??
Xm.h looks like this >>
/* @(#)78 1.8 src/gos/2d/MOTIF/lib/Xm/Xm.h, libxm, gos41J \
2/14/95 14:52:40 */
/*
* COMPONENT_NAME: LIBXM Motif Toolkit
*
* FUNCTIONS:
*
* ORIGINS: 92, 118
*
*/
/*
* (c) Copyright 1989, 1990, 1991, 1992, 1993, 1994 OPEN SOFTWARE \
FOUNDATION, INC.
* ALL RIGHTS RESERVED
*/
/*
ifndef OSF_v1_2_4
* Motif Release 1.2.3
else
* Motif Release 1.2.4
endif
*/
/* $RCSfile: Xm.h,v $ $Revision: 1.99 $ $Date: 94/06/20 15:55:07 $ */
/*
* (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD \
COMPANY */
#ifndef _Xm_h
#define _Xm_h
/* Manager widger class and record definitions */
#ifndef MANAGER
externalref WidgetClass xmManagerWidgetClass;
#endif
typedef struct _XmManagerClassRec * XmManagerWidgetClass;
typedef struct _XmManagerRec * XmManagerWidget;
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
I have two versions >>
X11R6
X11R66
>> X11R66 >> is the default >> If I use this I get a boat-load of errors
If I use X11R6 everything pretty much works ( At least it did in December )
So my include path is X11R6:X11R66
There is some overlap between the two ( but nothing that should cause a serious
problem )
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Saturday, April 28, 2012 4:33 AM
To: Bovy, Stephen
Cc: [email protected]
Subject: Re: FW: configure script "detection" logic for ( #define
XPMATTRIBUTES_TYPE ) is NOT correct
Stephen Bovy wrote:
> The xpm attribute type should not be declared if the xpm header or
> xmp linker detection fails >>
>
> /* #undef HAVE_X11_XPM_H */
>
> The following should NOT have been set
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
> /* Define to the type of the XpmAttributes type. */ #define
> XPMATTRIBUTES_TYPE XpmAttributes
>
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>
> cc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MOTIF -O -D_ALL_SOURCE
> -Wc,float\(IEEE\),HALTONMSG\(3296\) -W c,dll -o objects/gui_xmebw.o
> gui_xmebw.c
> WARNING CCN3296 ./gui_xmebw.c:38 #include file <X11/xpm.h> not found.
> ERROR CCN3275 ./gui_xmebw.c:291 Unexpected text attr encountered.
> ERROR CCN3045 ./gui_xmebw.c:291 Undeclared identifier XpmAttributes.
So what #ifdef needs to change then?
--
ROBIN: (warily) And if you get a question wrong?
ARTHUR: You are cast into the Gorge of Eternal Peril.
ROBIN: Oh ... wacho!
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php