From: Thiago Macieira Date: Fri, 23 Mar 2012 22:16:23 +0000 (-0300) Subject: Remove old code that was for the MIPSpro compiler X-Git-Tag: qt-v5.0.0-alpha1~44 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aad02f130cd73e8ce8f6e3b80be44524ba0fe406;p=profile%2Fivi%2Fqtbase.git Remove old code that was for the MIPSpro compiler That compiler is no longer supported Change-Id: I6ff9003a8b986478850ad2e6e6662a44264236d7 Reviewed-by: Oswald Buddenhagen --- diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index cc0e6a1..0efcdf8 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -1309,20 +1309,7 @@ template inline const QForeachContainer *qForeachContainer(const QForeachContainerBase *base, const T *) { return static_cast *>(base); } -#if defined(Q_CC_MIPS) -/* - Proper for-scoping in MIPSpro CC -*/ -# define Q_FOREACH(variable,container) \ - if(0){}else \ - for (const QForeachContainerBase &_container_ = qForeachContainerNew(container); \ - qForeachContainer(&_container_, true ? 0 : qForeachPointer(container))->condition(); \ - ++qForeachContainer(&_container_, true ? 0 : qForeachPointer(container))->i) \ - for (variable = *qForeachContainer(&_container_, true ? 0 : qForeachPointer(container))->i; \ - qForeachContainer(&_container_, true ? 0 : qForeachPointer(container))->brk; \ - --qForeachContainer(&_container_, true ? 0 : qForeachPointer(container))->brk) - -#elif defined(Q_CC_DIAB) +#if defined(Q_CC_DIAB) // VxWorks DIAB generates unresolvable symbols, if container is a function call # define Q_FOREACH(variable,container) \ if(0){}else \