Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Tobias Hunger
qt-creator
Commits
c8bdd0be
Commit
c8bdd0be
authored
Feb 23, 2009
by
Roberto Raggi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip __complex__, __imag__ and __real__
parent
fe4a3f35
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
src/plugins/cpptools/cppmodelmanager.cpp
src/plugins/cpptools/cppmodelmanager.cpp
+4
-0
tests/manual/binding/c++
tests/manual/binding/c++
+0
-1
tests/manual/binding/conf.c++
tests/manual/binding/conf.c++
+3
-0
No files found.
src/plugins/cpptools/cppmodelmanager.cpp
View file @
c8bdd0be
...
...
@@ -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
"
...
...
tests/manual/binding/c++
View file @
c8bdd0be
...
...
@@ -5,4 +5,3 @@ echo "Generating $t"
${
CPP
-gcc
}
-xc
++
-E
-include
$me
/conf.c++
$*
>
$t
echo
"Parsing
$t
"
$me
/cplusplus0
$t
tests/manual/binding/conf.c++
View file @
c8bdd0be
...
...
@@ -6,3 +6,6 @@
#define restrict
#define __restrict
#define __weak
#define __complex__
#define __imag__
#define __real__
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment