bug-ncurses
[Top][All Lists]
Advanced

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

Re: getenv() and i370-ibm-openedition (also compilation error)


From: Paul Gilmartin
Subject: Re: getenv() and i370-ibm-openedition (also compilation error)
Date: Wed, 23 Jul 2014 19:15:10 -0600
User-agent: Mozilla/5.0 (X11; SunOS i86pc; rv:6.0) Gecko/20110814 Thunderbird/6.0

On 07/23/14 18:31, Thomas Dickey wrote:
address@hidden:180$ ls -l */*.lst
-rw-r--r--   1 SPPG     15       3317319 Jul 23 15:12 ncurses/make_hash.lst
I don't think so - it's not showing me the substitutions which are
made.
They appear in the 3.3 MB full version.  I could send that either to
you personally or to bug-ncurses.  But NCURSES_CONST is not replaced
because it's nowhere #defined.  (The .lst also shows the #includes.)
3.3MB is too long for the list (if you want, you can send it directly to me).
No need, yet.

NCURSES_CONST would be like this in curses.h:  (or "/* nothing */" as a 
default):

/*
  * Expands to 'const' if ncurses is configured using --enable-const.  Note that
  * doing so makes it incompatible with other implementations of X/Open Curses.
  */
#undef  NCURSES_CONST
#define NCURSES_CONST const
Ouch!

cd ncurses && gmake DESTDIR="" all
gmake[1]: Entering directory `/mvsoeecc/tools/test/ncurses/ncurses-5.9/OS390/ncurses' c99 -qlanglvl=ansi -o make_hash -DHAVE_CONFIG_H -I../ncurses -I../../ncurses-5.9/ncurses -I../../ncurses-5.9/ncurses/../include -I../include -DUSE_BUILD_CC -DHAVE_CONFIG_H -I../ncurses -I../../ncurses-5.9/ncurses -D_XOPEN_SOURCE=500 -D_LARGE_FILES -DTRACE -I. -I../include -I../../ncurses-5.9/ncurses/../include -I/mvsoeecc/tools/include/ncurses -I.. -D_ALL_SOURCE -Wa,"ASA,RENT" -Wl,xplink,EDIT=NO -Wc,dll,ascii -qsource= -qshowinc -qexpmac ../../ncurses-5.9/ncurses/tinfo/make_hash.c ERROR CCN3277 ../../ncurses-5.9/ncurses/build.priv.h:93 Syntax error: possible missing ';' or ','?

It's using /usr/include/curses.h, not ncurses/../include/curses.h. Shouldn't
the compiler use directories mentioned in the "-I" options in preference to
/usr/include?

Thanks,
gil




reply via email to

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