[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compiling gui with clang/libobjc2 failure

From: Sebastian Reitenbach
Subject: compiling gui with clang/libobjc2 failure
Date: Fri, 01 Feb 2013 08:36:34 +0100
User-agent: SOGoMail 2.0.4a


on OpenBSD, I fail to compile gui from svn using libobjc2 and clang:

clang GSCUPSPrintInfo.m -c \
      -MMD -MP -I/usr/local/include/gnustep -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 
-fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS 
-fobjc-nonfragile-abi -D_NONFRAGILE_ABI -pthread -fPIC -DDEBUG 
-fno-omit-frame-pointer -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -g 
-fgnu-runtime -Wall -fconstant-string-class=NSConstantString 
-I/usr/local/include/libpng -I/usr/local/include/libpng 
-I../../Headers/Additions -I../../Headers -I../../Source/. -I. 
-I/usr/local/include \
       -o obj/GSCUPS.obj/GSCUPSPrintInfo.m.o
In file included from GSCUPSPrintInfo.m:35:
/usr/local/include/cups/cups.h:34:14: fatal error: 'dispatch/dispatch.h' file 
not found
#    include <dispatch/dispatch.h>
1 error generated.

here is where it comes from cups.h:
#  ifdef __BLOCKS__
#    include <dispatch/dispatch.h>
#  endif /* __BLOCKS__ */

commenting out this block in the cups.h file, it just compiles fine.
so I'm unsure, if this is a problem of cups, or GNUstep?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]