Skip __complex__, __imag__ and __real__

This commit is contained in:
Roberto Raggi
2009-02-23 09:53:26 +01:00
parent fe4a3f354d
commit c8bdd0bee4
3 changed files with 7 additions and 1 deletions

View File

@@ -140,6 +140,10 @@ static const char pp_configuration[] =
"#define restrict\n"
"#define __restrict\n"
"#define __complex__\n"
"#define __imag__\n"
"#define __real__\n"
// ### add macros for win32
"#define __cdecl\n"
"#define QT_WA(x) x\n"

View File

@@ -5,4 +5,3 @@ echo "Generating $t"
${CPP-gcc} -xc++ -E -include $me/conf.c++ $* > $t
echo "Parsing $t"
$me/cplusplus0 $t

View File

@@ -6,3 +6,6 @@
#define restrict
#define __restrict
#define __weak
#define __complex__
#define __imag__
#define __real__