forked from qt-creator/qt-creator
Skip __complex__, __imag__ and __real__
This commit is contained in:
@@ -140,6 +140,10 @@ static const char pp_configuration[] =
|
|||||||
"#define restrict\n"
|
"#define restrict\n"
|
||||||
"#define __restrict\n"
|
"#define __restrict\n"
|
||||||
|
|
||||||
|
"#define __complex__\n"
|
||||||
|
"#define __imag__\n"
|
||||||
|
"#define __real__\n"
|
||||||
|
|
||||||
// ### add macros for win32
|
// ### add macros for win32
|
||||||
"#define __cdecl\n"
|
"#define __cdecl\n"
|
||||||
"#define QT_WA(x) x\n"
|
"#define QT_WA(x) x\n"
|
||||||
|
@@ -5,4 +5,3 @@ echo "Generating $t"
|
|||||||
${CPP-gcc} -xc++ -E -include $me/conf.c++ $* > $t
|
${CPP-gcc} -xc++ -E -include $me/conf.c++ $* > $t
|
||||||
echo "Parsing $t"
|
echo "Parsing $t"
|
||||||
$me/cplusplus0 $t
|
$me/cplusplus0 $t
|
||||||
|
|
||||||
|
@@ -6,3 +6,6 @@
|
|||||||
#define restrict
|
#define restrict
|
||||||
#define __restrict
|
#define __restrict
|
||||||
#define __weak
|
#define __weak
|
||||||
|
#define __complex__
|
||||||
|
#define __imag__
|
||||||
|
#define __real__
|
||||||
|
Reference in New Issue
Block a user