[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] djgpp compile errors
From: |
LarryL |
Subject: |
Re: [Lynx-dev] djgpp compile errors |
Date: |
Thu, 08 Jan 2015 18:38:31 -0600 (CST) |
User-agent: |
Opera Mail/12.17 (Win32) |
On Tue, 30 Dec 2014 07:16:58 -0800, Gisle Vanem <address@hidden> wrote:
While compiling the last Lynx using djgpp 2.04 and gcc 4.8.4,
I'm getting:
LYForms.c: In function 'form_getstr':
LYForms.c:424:36: error: 'FieldEditor' has no member named 'efWide'
if (!(edit->efBufInUse >= edit->efWide &&
^
LYForms.c:425:22: error: 'FieldEditor' has no member named 'efWide'
LastTFPos >= edit->efWide - edit->efPanMargin)) {
^
LYForms.c:427:31: error: 'FieldEditor' has no member named 'efWide'
if (edit->efBufInUse >= edit->efWide)
Presumably 'efWide' should be 'efWidth'?
But there's more:
LYMail.c: In function 'LYSendMailFile':
LYMail.c:537:13: error: conflicting types for 'dj_is_bash'
extern int dj_is_bash;
^
In file included from LYMail.c:6:0:
./LYGlobalDefs.h:649:20: note: previous declaration of 'dj_is_bash' was here
extern BOOLEAN dj_is_bash;
Hence:
--- orig/src/LYMail.c 2013-11-29 01:52:56 +0000
+++ src/LYMail.c 2014-12-30 15:53:56 +0000
@@ -534,7 +534,6 @@
#endif
#ifdef __DJGPP__
if (LYGetEnv("SHELL")) {
- extern int dj_is_bash;
extern char *shell;
const char *c_option;
const char *format = "%s %s %s -t %s -F %s";
-----------
Also a problem WRT. 'USE_DOS_DRIVES' in HomeEnv().
The function w32_get_shell_folder() is for Win32 only:
--- orig/src/LYUtils.c 2014-12-22 02:39:40 +0000
+++ src/LYUtils.c 2014-12-30 16:04:16 +0000
@@ -5183,7 +5183,7 @@
{
char *result = CheckDir(LYGetEnv("HOME"));
-#if defined (USE_DOS_DRIVES)
+#if defined (USE_DOS_DRIVES) && defined(_WIN32)
if (result == 0) {
char *head;
char *leaf;
----------
After these changes, the djgpp/Watt-32 version of Lynx works
fine. I'm amazed!
ATT: DJGPP Lynx support
Re: djgpp compile errors follow-up
Hi,
Makefiles for djgpp lynx w/binary (lynx-dj.exe):
http://www.watt-32.net/misc/lynx-djgpp.zip
lynx-dj.exe bug 1:
What I've noticed is that if I hit the space bar while on the google text entry
bar, ALL the text entered gets cleared.
Can anyone explain this strange problem?
lynx-dj.exe bug 2:
lynx-dj.exe does NOT recognize the win32 lynx -altblat CLI argument,
nor the BLAT_MAIL, ALT_BLAT_MAIL lynx.cfg switches.
http://stackoverflow.com/questions/709635/sending-mail-from-batch-file
Q: Can djgpp lynx include Blat mail support?
thx!
-ll
- Re: [Lynx-dev] djgpp compile errors,
LarryL <=