[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compiling gui with clang/libobjc2 failure
From: |
David Chisnall |
Subject: |
Re: compiling gui with clang/libobjc2 failure |
Date: |
Fri, 1 Feb 2013 08:34:03 +0000 |
On 1 Feb 2013, at 07:36, Sebastian Reitenbach wrote:
> # ifdef __BLOCKS__
> # include <dispatch/dispatch.h>
> # endif /* __BLOCKS__ */
This is definitely a cups problem. They are assuming that blocks support (a
compiler feature) implies the presence of libdispatch (a library). I don't
know if libdispatch has been ported to OpenBSD.
I think the -base configure checks for the presence of libdispatch because we
use it for parallel array operations, so the best thing to do is use that macro
to conditionally #undef __BLOCKS__ before including cups.h
David
-- Sent from my STANTEC-ZEBRA