This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] <stdbool.h> should not define bool, true or false as macros for C++
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: Jonathan Wakely <jwakely dot gcc at gmail dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>, "Joseph S. Myers" <joseph at codesourcery dot com>
- Date: Mon, 27 Oct 2014 22:45:20 +0100 (CET)
- Subject: Re: [patch] <stdbool.h> should not define bool, true or false as macros for C++
- Authentication-results: sourceware.org; auth=none
- References: <CAH6eHdQ4xWLYJEfYJ2ha-uebqGYZtWEsQkuFWQbp=eYFqDXQaA at mail dot gmail dot com> <CAH6eHdSnckL_knfkP0Bbb8q-jNq8VQBTVULXT2zXo_iq4ytQag at mail dot gmail dot com> <alpine dot LNX dot 2 dot 00 dot 1202050031300 dot 6572 at gerinyyl dot fvgr> <CAH6eHdR03TKR2aq9eA3MwnkT+ONVA7_x63_ZDMp_ub9JGV1S-w at mail dot gmail dot com> <CAH6eHdRJTZ-afUJqa8-V7SZPRH493WLopTjoHDMaL-agBsdC1w at mail dot gmail dot com> <544ABB68 dot 20408 at redhat dot com>
On Friday 2014-10-24 16:49, Jason Merrill wrote:
> OK. Gerald, were you thinking of specific software that would be
> affected by this change?
I do not recall which pieces I had in mind back then.
In general I did make the experience (updating the GCC ports for
FreeBSD) that there is a lot of "interesting" software out there
and that with every major release of GCC we are breaking a number
of them, mostly via GCC frontend changes (code using templates
being the primary case) and especially libstdc++.
Let's go ahead, brace for impact, and just fix whatever pops up.
To be fair my impression is that over the last couple of GCC
releases moving from one to the next has (again) become smoother
than in the past.
Gerald