pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: gcc5 and Darwin
On Sun, Jul 26, 2015 at 06:26:37PM +0200, Andreas Kusalananda Kähäri wrote:
> Hi,
>
> I managed to get GCC 5.2.0 compiled on my OS X 10.10.4 system (had to
> disable ccache and use MAKE_JOBS=1), but I'm unable to use it as the
> main PKGSRC_COMPILER because it chokes on system headers in /usr/include
> that some packages (gettext) seems to include indirectly.
>
> It is one particular header, "/usr/include/dispatch/object.h", that is
> causing the problem. It has the following line in it:
>
> typedef void (^dispatch_block_t)(void);
>
> ... which I think is either ObjC or something Apple specific.
Blocks extension. Frankly, for anything ObjC related, you really want to
use either normal Clang or Xcode.
Joerg
Home |
Main Index |
Thread Index |
Old Index