bug-ncurses
[Top][All Lists]
Advanced

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

Re: Issues while building ncurses 6.2 using Visual Studio


From: Thomas Dickey
Subject: Re: Issues while building ncurses 6.2 using Visual Studio
Date: Thu, 2 Apr 2020 20:21:15 -0400
User-agent: NeoMutt/20170113 (1.7.2)

On Thu, Apr 02, 2020 at 06:17:23PM +0200, Anonymous Maarten wrote:
> Hello again!
> 
> For lib_gen.c, I think that can only be solved by providing an alternate
> > means of generating the file which interprets the header files directly
> > without using the C preprocessor output (not simple).
> >
> 
> Can you tell me what the output should look like?
> 
> Currently, the functions in lib_gen.c look like:
> 
> NCURSES_EXPORT(int) addch (const chtype z)
> {
>    T((T_CALLED("addch(%s)"), _tracechtype2(0,z)));
>    returnCode(waddch(stdscr,(z)));
> }
> 
> Visual C, using current master, transform these functions into:
> (with #undef NCURSES_NOMACROS)

hmm - I missed a change (when I first reviewed it, defining no-macros
broke the build).  In a quick check, the ncursesw library and lib_gen.o
compile to the same binary with/without the current patch (attached).

The other libraries aren't the same.  I'll have to investigate those.

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

Attachment: ncurses-6.2-20200314-patched.patch.gz
Description: application/gzip

Attachment: signature.asc
Description: PGP signature


reply via email to

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