This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ PATCH to change default dialect to C++14


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]