lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev 283pre1 on Borland for Win32


From: Webmaster Jim
Subject: lynx-dev 283pre1 on Borland for Win32
Date: Sat, 1 Apr 2000 22:13:38 -0500

I had 2 problems compiling 283pre1 with Borland.

The 1st was in LYLocal.c, where there is a "_creat" call that fails.  I
replaced it with this just to get the compile to work:

BASH.EXE-2.02$ diff LYLocal.cdf LYLocal.c
2361c2361
<       int fd = _creat(argv[1], _S_IREAD | _S_IWRITE);
---
>       int fd = creat(argv[1], 'rw');

The 2nd is in LYStrings where there are a lot of syntax errors.  It
seems to be enabling ncurses_mouse, which is different than the
pdcurses I am using.  Going back to a LYStrings from February allowed
the compile to complete.  I'm attaching the errors for the compile
attempt with the latest code:

MAKE Version 5.2  Copyright (c) 1987, 1999 Inprise Corp.
        Bcc32 +BccW32.cfg -P- -c @MAKE0074.@@@
Borland C++ 5.4 for Win32 Copyright (c) 1993, 1999 Inprise Corporation
src/lystrings.c:
E2141 src/lystrings.c 78: Declaration syntax error
E2451 src/lystrings.c 86: Undefined symbol 'levent' in function 
peek_mouse_levent
E2379 src/lystrings.c 1965: Statement missing ; in function LYgetch_for
E2451 src/lystrings.c 1966: Undefined symbol 'event' in function LYgetch_for
E2227 src/lystrings.c 1966: Extra parameter in call to getmouse in function 
LYgetch_for
E2379 src/lystrings.c 1972: Statement missing ; in function LYgetch_for
E2140 src/lystrings.c 1973: Declaration is not allowed here in function 
LYgetch_for
E2140 src/lystrings.c 1974: Declaration is not allowed here in function 
LYgetch_for
E2227 src/lystrings.c 1978: Extra parameter in call to getmouse in function 
LYgetch_for
E2451 src/lystrings.c 1983: Undefined symbol 'levent' in function LYgetch_for
E2448 src/lystrings.c 2270: Undefined label 're_read' in function LYgetch_for
W8071 src/lystrings.c 2321: Conversion may lose significant digits in function 
LYUpperCase
W8071 src/lystrings.c 3191: Conversion may lose significant digits in function 
LYgetstr
*** 11 errors in Compile ***

** error 1 ** deleting ../obj/LYStrings.obj

I will upload the Win32 binary after some testing and building a ZIP
distribution.

------
<http://www.cs.indiana.edu/picons/db/users/us/md/lib/bcpl/jspath/face.xbm>
<http://www.altavista.com/cgi-bin/query?q=%22web+home+for+jim+spath%22>
Marvin the Paranoid Android says:
The first ten million years, they were the worst.  The second ten
million they were the worst too.  The next ten million I didn't enjoy
at all.  After that I went into a bit of a decline.....

reply via email to

[Prev in Thread] Current Thread [Next in Thread]