Compiler construction 编译Clementine时Mac OS X上的编译器错误

Compiler construction 编译Clementine时Mac OS X上的编译器错误,compiler-construction,clang,homebrew,macports,Compiler Construction,Clang,Homebrew,Macports,我尝试在Mac OS X Mountain Lion上构建 具体来说,它的gstreamer依赖项中有许多错误。 克莱门廷的错误看起来像 /usr/lib/clang/4.2/include/stddef.h:31: syntax error, unexpected '(' in 'typedef __typeof__(((int*)0)-((int*)0)) ptrdiff_t;' at '(' /usr/lib/clang/4.2/include/stddef.h:35: syntax

我尝试在Mac OS X Mountain Lion上构建

具体来说,它的gstreamer依赖项中有许多错误。 克莱门廷的错误看起来像

 /usr/lib/clang/4.2/include/stddef.h:31: syntax error, unexpected '(' in 'typedef __typeof__(((int*)0)-((int*)0)) ptrdiff_t;' at '('
 /usr/lib/clang/4.2/include/stddef.h:35: syntax error, unexpected SIZEOF in 'typedef __typeof__(sizeof(int)) size_t;' at 'sizeof'
/usr/include/time.h:131: syntax error, unexpected identifier in 'size_t strftime(char * restrict, size_t, const char * restrict, const struct tm * restrict) __asm("_" "strftime" );' at 'size_t'
/usr/include/time.h:131: syntax error, unexpected ',', expecting identifier or '(' in 'size_t strftime(char * restrict, size_t, const char * restrict, const struct tm * restrict) __asm("_" "strftime" );' at ','
/usr/include/time.h:131: syntax error, unexpected ',', expecting identifier or '(' in 'size_t strftime(char * restrict, size_t, const char * restrict, const struct tm * restrict) __asm("_" "strftime" );' at ','
/usr/include/time.h:131: syntax error, unexpected ')', expecting identifier or '(' in 'size_t strftime(char * restrict, size_t, const char * restrict, const struct tm * restrict) __asm("_" "strftime" );' at ')'
/usr/include/pthread.h:256: syntax error, unexpected identifier in '                                      size_t * restrict);' at 'size_t'
/usr/include/pthread.h:265: syntax error, unexpected identifier in '                                      void ** restrict, size_t * restrict);' at 'size_t'
/usr/include/pthread.h:269: syntax error, unexpected identifier in '                                      size_t * restrict);' at 'size_t'
/usr/include/pthread.h:273: syntax error, unexpected identifier in 'int pthread_attr_setguardsize(pthread_attr_t *, size_t );' at 'size_t'
/usr/include/pthread.h:282: syntax error, unexpected identifier in '                                      void *, size_t );' at 'size_t'
/usr/include/pthread.h:285: syntax error, unexpected identifier in 'int pthread_attr_setstacksize(pthread_attr_t *, size_t );' at 'size_t'
/usr/include/pthread.h:377: syntax error, unexpected identifier in 'int pthread_getname_np(pthread_t,char*,size_t) __attribute__((availability(macosx,introduced=10.6)));' at 'size_t'
/usr/include/pthread.h:384: syntax error, unexpected identifier in 'size_t pthread_get_stacksize_np(pthread_t);' at 'size_t'
/usr/include/stdio.h:255: syntax error, unexpected identifier in 'size_t fread(void * restrict, size_t, size_t, FILE * restrict);' at 'size_t'
/usr/include/stdio.h:255: syntax error, unexpected ',', expecting identifier or '(' in 'size_t fread(void * restrict, size_t, size_t, FILE * restrict);' at ','
在我的系统上,我安装了带有命令行工具的Xcode4.6,还有MacPorts和HomeBrew。这是否三种制度之间存在冲突的问题呢?我试图向项目makefile添加更多-I,但它们似乎无法修复错误