This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH to change default dialect to C++14
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Jason Merrill <jason at redhat dot com>, Jim Wilson <jim dot wilson at linaro dot org>
- Date: Thu, 2 Jul 2015 15:05:23 +0200
- Subject: Re: C++ PATCH to change default dialect to C++14
- Authentication-results: sourceware.org; auth=none
- References: <559430F3 dot 2040109 at redhat dot com> <5594B99D dot 9060302 at linaro dot org> <5594CA5B dot 4060600 at redhat dot com> <alpine dot DEB dot 2 dot 20 dot 1507020814510 dot 1841 at laptop-mg dot saclay dot inria dot fr>
On Thu, Jul 2, 2015 at 8:18 AM, Marc Glisse <marc.glisse@inria.fr> wrote:
> On Thu, 2 Jul 2015, Jason Merrill wrote:
>
>> On 07/02/2015 12:10 AM, Jim Wilson wrote:
>>>
>>> This is a known gmp problem, documented in PR56019 and in
>>> https://gcc.gnu.org/gcc-4.9/porting_to.html
>>> near the bottom where it discusses cstddef.h changes.
>>
>>
>> This document also says that "A workaround until libraries get updated is
>> to include <cstddef> or <stddef.h> before any headers from that library."
>>
>> Can you try modifying the graphite* files accordingly?
>
>
> See also
>
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65988#c1
>
> system.h looks like the right way to include gmp.h in gcc, currently.
Yeah, I _think_ the fix is to move the isl includes below the system.h
include.
Richard.
> --
> Marc Glisse