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.
--
Marc Glisse