lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev pre.1 LYCurses.h broken on OS390


From: pg
Subject: lynx-dev pre.1 LYCurses.h broken on OS390
Date: Sat, 1 Apr 2000 09:56:41 -0700 (MST)

Hello, Lyncei,

On OS/390, I get:

    c89  -DHAVE_CONFIG_H  -DLOCALEDIR=\"/pub/unsup/test/share/locale\" -I. -I.. 
-Ichrtrans -I../../lynx2-8-3/src/chrtrans -I../../lynx2-8-3 
-I../../lynx2-8-3/src -I../../lynx2-8-3/WWW/Library/Implementation   
-D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE -Wl,EDIT=NO  -c 
../../lynx2-8-3/src/LYOptions.c
    ERROR CBC3280 ./../../lynx2-8-3/src/LYOptions.c:2372  Function argument 
assignment between types "unsigned long" and "struct {...}" is not allowed.
    ERROR CBC3280 ./../../lynx2-8-3/src/LYOptions.c:2373  Function argument 
assignment between types "unsigned long" and "struct {...}" is not allowed.
    CBC1793(I) Compilation failed for file ./../../lynx2-8-3/src/LYOptions.c.  
Object file not created.
    FSUM3065 The COMPILE step ended with return code 12.
    FSUM3017 Could not compile ../../lynx2-8-3/src/LYOptions.c. Correct the 
errors and try again.
    gmake[1]: *** [LYOptions.o] Error 3

Apparently because of new code in LCurses.h:

    +#ifndef getbkgd
    +#define getbkgd(win) ((win)->_bkgd)
    +#endif

OS/390's curses.h defines getbkgd as a function, not a macro, so the ifndef 
passes,
then defines (win)->_bkgd as a struct, not unsigned long, causing the error.

-- gil
-- 
StorageTek
INFORMATION made POWERFUL

reply via email to

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