mirror of
https://github.com/Relintai/osxcross.git
synced 2025-04-11 17:32:38 +02:00
there is an issue in the OSX SDK stdarg.h header file which causes va_copy not to be defined with -std=c++11, so use clang's fixed intrinsic header instead
diff: -#if __STDC_VERSION__ >= 199900L || !defined(__STRICT_ANSI__) +#if __STDC_VERSION__ >= 199900L || __cplusplus >= 201103L || !defined(__STRICT_ANSI__) #define va_copy(dest, src) __builtin_va_copy(dest, src) #endif
This commit is contained in:
parent
65944f3394
commit
e7160ea10a
@ -24,6 +24,7 @@ test -f "$CLANG_INTRIN_DIR/xmmintrin.h" || { echo "xmmintrin.h does not exist in
|
||||
echo "found clang intrinsic headers: $CLANG_INTRIN_DIR"
|
||||
|
||||
ln -sf $CLANG_INTRIN_DIR/float.h $SDK_DIR/usr/include
|
||||
ln -sf $CLANG_INTRIN_DIR/stdarg.h $SDK_DIR/usr/include
|
||||
ln -sf $CLANG_INTRIN_DIR/*intrin*.h $SDK_DIR/usr/include
|
||||
ln -sf $CLANG_INTRIN_DIR/mm*.h $SDK_DIR/usr/include
|
||||
ln -sf $CLANG_INTRIN_DIR/*va*.h $SDK_DIR/usr/include
|
||||
|
Loading…
Reference in New Issue
Block a user