Re: [SH, committed] Fix PR 61026 sh-*-* Fails to Compile on FreeBSD

2014-05-07 Thread Joseph S. Myers
On Sat, 3 May 2014, Oleg Endo wrote: > +#include > +#include > +#include > + > #include "config.h" It's never OK to include any system headers (C or C++) before "config.h". config.h may define feature test macros such as _FILE_OFFSET_BITS that affect system headers in various ways and are

[SH, committed] Fix PR 61026 sh-*-* Fails to Compile on FreeBSD

2014-05-03 Thread Oleg Endo
On Thu, 2014-05-01 at 23:39 +0200, Oleg Endo wrote: > > On May 1, 2014, at 11:17 PM, Joel Sherrill wrote: > > > > > On 5/1/2014 3:29 PM, Oleg Endo wrote: > >> On 01 May 2014, at 22:08, Joel Sherrill wrote: > >> > >>> Hi > >>> > >>> gcc-4.8.2 targeting sh-*-* fails to compile on > >>> FreeBSD