[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LYNX-DEV Compile problem for 2.7 under SunOS 4.1.2
From: |
Ned Forrester |
Subject: |
LYNX-DEV Compile problem for 2.7 under SunOS 4.1.2 |
Date: |
Tue, 18 Feb 1997 15:52:25 -0500 (EST) |
I just comiled the new Lynx 2.7 under SunOS 4.1.2 using the
/usr/5bin/cc compiler. I encountered the following error during
make:
/usr/5bin/cc -O -DUNIX -DSUN -DSUN4 -DFANCY_CURSES -DLOCALE
-I../WWW/Library/Implementation -I/usr/5include
-DDIRED_SUPPORT -DOK_TAR -DOK_ZIP -DOK_GZIP -DOK_UUDECODE
-DOK_OVERRIDE -DOK_PERMIT -I.. -target sun4 -c HTML.c
"HTML.c", line 2118: illegal types in :
*** Error code 1
make: Fatal error: Command failed for target `HTML.o'
Current working directory /home1/kilowatt/local/lib/lynx2-7/src
*** Error code 1
make: Fatal error: Command failed for target `sun4'
Examination of line 2118 in HTML.c and comparison against the
corresponding line in the version 2.6 HTML.c showed the following
change:
2.7:
(HTLinkType*)HTAtom_for(value[HTML_A_TYPE]) : (void *)0); /* Type */
2.6:
(HTLinkType*)HTAtom_for(value[HTML_A_TYPE]) : 0); /* Type */
Upon removing the (void *) type cast, the compile completed normally.
This type cast appears to be legal, so I don't know why it caused a
problem. I don't need an explanation, but thought you would like to
know about this behavior.
--
Ned Forrester address@hidden
Applied Ocean Physics and Engineering Dept. / Oceanographic Systems Lab
Woods Hole Oceanographic Institution Woods Hole, MA 02543, USA
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;
- LYNX-DEV Compile problem for 2.7 under SunOS 4.1.2,
Ned Forrester <=