Closed Bug 184 Opened 26 years ago Closed 26 years ago

Unable to compile with Motif 2.0

Categories

(MozillaClassic Graveyard :: XFE, defect, P3)

1998-03-31
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: kevin, Assigned: ramiro)

Details

Created by Kevin Brannen (kevin@inetspace.com) on Monday, April 13, 1998 12:07:35 PM PDT
Additional Details :
Unable to compile ns/cmd/xfe/XfeWidgets/Xfe/ because
StringDefs.h has XmNlist inside:
	#if XmVersion < 2000
when it should be outside.  There is no XmNlist define in
any of the Motif headers.

Platform: Linux (Slakware 3.4)
Kernel:   2.0.30
X:        XFree 3.3.1 (X11R6)
Motif:    2.0.0 (from Metrolink)
compiler: gcc 2.7.2.1

diff -c:

*** StringDefs.h        Wed Apr  1 21:26:38 1998
--- StringDefs.h.orig   Wed Apr  1 21:27:56 1998
***************
*** 498,507 ****

/*----------------------------------------------------------------------*/
  #if XmVersion < 2000
  #define XmNdragStartCallback
"dragStartCallback"
  #define
XmNcomboBoxType
"comboBoxType"
  #define
XmCComboBoxType
"ComboBoxType"
  #define
XmRComboBoxType
"ComboBoxType"
  #endif
- #define
XmNlist
"list"


#endif
                /* end StringDefs.h             */
--- 498,507 ----

/*----------------------------------------------------------------------*/
  #if XmVersion < 2000
  #define XmNdragStartCallback
"dragStartCallback"
+ #define
XmNlist
"list"
  #define
XmNcomboBoxType
"comboBoxType"
  #define
XmCComboBoxType
"ComboBoxType"
  #define
XmRComboBoxType
"ComboBoxType"
  #endif


#endif
                /* end StringDefs.h             */
Assignee: nobody → ramiro
Component: XFE
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
This problem was fixed a long time ago.  Try the latest source.
verifying fix no longer reproducible on 2000-07-20-08-M17
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.