bug-ncurses
[Top][All Lists]
Advanced

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

Re: ncurses 5.9 fails to build with clang++ because of illegal C++ code


From: Richard Yao
Subject: Re: ncurses 5.9 fails to build with clang++ because of illegal C++ code
Date: Sat, 02 Jun 2012 20:43:16 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120430 Thunderbird/10.0.4

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks for your reply. I have replied with an analysis of your response.

https://bugs.gentoo.org/show_bug.cgi?id=417763#c12

In summary, I suspect that Debian is applying a patch to ncurses that
causes the build failure you observed with my patch. I believe that my
patch is the correct way to address this. The Debian solution appears to
be to use & inside a member initializer list, which could be an
undefined behavior. If it is defined, it should provide a stack pointer,
which is incorrect. My solution is to change the type of the constructor
prototype, which resolves the build issue and should provide a correct
behavior.

On 06/02/12 19:52, Thomas Dickey wrote:
> On Sun, May 27, 2012 at 09:33:35AM -0400, Richard Yao wrote:
>> I have attached the build log, as well as a patch to I have attached a
>> patch to fix it.
>
>> * Package: sys-libs/ncurses-5.9-r2
>
> I replied to this on the gentoo bug reporting system.
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPyrMkAAoJECDuEZm+6ExkX4IQAI5/kckKNceqifNkmh4qTv5F
y/g140yXEzBm4vcbO4eTqvLru1lXhYR0Sy3M1STOoAMrMUlId5e8o1QtPZRDdLYp
jTqS/UpJs2XIl0Emcl/6iL98bXqA6pZrGmn9f2MwwN9zeBDqKOWF1OgI0r3Fiy3Z
akPsl0xCtFYJmKlbSHRpAgkYZWZxHEO2L0Eadur3Od/2kyng9aUBiPokoiHgMMKD
2uXT99NhL/LwLMGZX7HDjEtD3x1JmtFPld58ba6cV3P1QwuLXAYkRNXUKK+TFRz3
nU0Izsgx6j92Gy9IeT9nBIRRkAl9VvUtl1MAE1Myi4aP1ho2JoXROqPv4foFvhKj
ZcUIiLroMa+TcmdFbqeEZT5vGzrC8fizpxcCv2rOz/ftjCQrqwqd+m2DhLHUpHUU
fS1TRyAMYa4jQAuFr1KC1oRan7ypMlEU7BTm4GlXFkhvrLjo0hcU2+U0OrbU9FIZ
5CqWFLUoPFmiJ5T2NObtcPWJT3rUmT2lRdMwuCvCAQ7kT3zZCf/81wyBq70zUCAy
nHkZJvf7Zua7kT/xytPL03BU++Vhae8TZoEy44kfpSldSwVtGC/FFMzpFoqFq1bm
YFdsmM1lkrj5eR91gcd8Cmb3exnhWkevGJguCNHCbeVOmNahvBMpVm7ncem4hw6i
z9YBw0UKM/sO/j8cTNkc
=HVUA
-----END PGP SIGNATURE-----




reply via email to

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