http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46591
--- Comment #1 from Masaki MURANAKA <mon...@monami-software.com> 2010-11-21 
13:55:45 UTC ---
At least AC_HEADER_STDC should be checked before AC_CHECK_TYPE(ptrdiff_t, int)
in libcpp/configure.ac.
Because it is defined ptrdiff_t in stddef.h on OSX environment, and stddef.h is
not included unless STDC_HEADERS not defined.

I tried to build with fix based on above and I seems to got correct binaries
with no error.

But... I can't explain why there is no issue under another targets. So I don't
attach patches.

Any comments and patches are appreciated.

Reply via email to