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: Thomas Dickey
Subject: Re: getenv() and i370-ibm-openedition (also compilation error)
Date: Wed, 23 Jul 2014 21:37:17 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

On Wed, Jul 23, 2014 at 07:15:10PM -0600, Paul Gilmartin wrote:
> 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
   ^^^^^^^^^^ (this should be where curses.h is - I don't see potential 
conflict)

> -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
> 
> 
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-ncurses

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

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