Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
e1f1f318
Commit
e1f1f318
authored
Dec 03, 2010
by
Oswald Buddenhagen
Browse files
workaround apple gcc breakage
parent
b34889e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qmakestep.cpp
View file @
e1f1f318
...
...
@@ -316,7 +316,8 @@ QStringList QMakeStep::parserArguments()
result
<<
arg
;
}
else
{
for
(
int
i
=
0
;
i
<
ProFileOption
::
modeMapSize
;
++
i
)
{
if
(
QLatin1String
(
ProFileOption
::
modeMap
[
i
].
qmakeOption
)
==
arg
)
{
// Workaround: Apple GCC does not like ProFileOption::modeMap[i], because the array's bounds are not known
if
(
QLatin1String
((
&
ProFileOption
::
modeMap
[
0
]
+
i
)
->
qmakeOption
)
==
arg
)
{
result
<<
arg
;
break
;
}
...
...
Write
Preview
Supports
Markdown
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