[PATCH] Fix compilation with ncurses-devel-6.1

Andre Heinecke aheinecke at gnupg.org
Thu Jan 16 15:16:31 CET 2020


On Tuesday 14 January 2020 06:03:58 CET NIIBE Yutaka wrote:
> I haven't had any experience with Ncurses 6.1, thus, I checked the
> possible cause.
> I realized that when Ncurses is built with --enable-reentrant, the
> symbol "ttytype" will be a macro (to access per thread variable), which
> conflicts the use case of pinentry's "ttytype", as a member in a struct.

thanks NIIBE, what do you think, should we just apply the patch? I was not so 
happy to just have an #undef in a header because depending on where you 
include it it might break other things.

Best Regards,
Andre Heinecke

GnuPG.com - a brand of g10 Code, the GnuPG experts.

g10 Code GmbH, Erkrath/Germany, AG Wuppertal HRB14459
GF Werner Koch, USt-Id DE215605608, www.g10code.com.

GnuPG e.V., Rochusstr. 44, D-40479 Düsseldorf.  VR 11482 Düsseldorf
Vorstand: W.Koch, M.Gollowitzer, A.Heinecke.    Mail: board at gnupg.org
Finanzamt D-Altstadt, St-Nr: 103/5923/1779.   Tel: +49-2104-4938799
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20200116/0eca0f51/attachment.sig>

More information about the Gnupg-devel mailing list