[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV devel -76 build on VMS
From: |
Klaus Weide |
Subject: |
Re: LYNX-DEV devel -76 build on VMS |
Date: |
Tue, 7 Oct 1997 20:57:54 -0500 (CDT) |
On Tue, 7 Oct 1997, Foteos Macrides wrote:
> Klaus:
> To build -76 on VMS without warnings, in LYOptions.c,
> at line 273 change:
>
> addstr((UCLYhndl_for_unspec >= 0) ?
> LYCharSet_UC[UCLYhndl_for_unspec].MIMEname : "NONE");
>
> to:
>
> addstr((UCLYhndl_for_unspec >= 0) ?
> (char *)LYCharSet_UC[UCLYhndl_for_unspec].MIMEname
> : "NONE");
>
>
> and at line 816 change:
>
> if (UCLYhndl_for_unspec >= 0)
> addstr(LYCharSet_UC[UCLYhndl_for_unspec].MIMEname);
>
> to:
>
> if (UCLYhndl_for_unspec >= 0)
> addstr((char *)
> LYCharSet_UC[UCLYhndl_for_unspec].MIMEname);
>
I did that, but the price is that I get one *more* warning when compiling
(solaris) with ncurses and gcc -Wcast-qual. You just can't win with this
stuff... (I'll leave it as you suggest. Someone said once that VMS users
are conditioned to take all compiler warnings very seriously...)
Klaus
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;