On Thu, Jul 2, 2015 at 3:05 PM, Richard Biener
<richard.guent...@gmail.com> wrote:
> On Thu, Jul 2, 2015 at 8:18 AM, Marc Glisse <marc.gli...@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.

And it should only affect the files including isl/val_gmp.h which includes
gmp.h.

> Richard.
>
>> --
>> Marc Glisse

Reply via email to