Commit 3104e4c1 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

fix gcc 3.3. build

the templated friend just doesn't have any effect.
so simply skip the typeinfo. will be slower, but you deserve that if you
use that compiler.
parent 259197a5
......@@ -248,8 +248,10 @@ public:
bool m_parsePreAndPostFiles;
};
#if !defined(__GNUC__) || __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 3)
Q_DECLARE_TYPEINFO(ProFileEvaluator::Private::State, Q_PRIMITIVE_TYPE);
Q_DECLARE_TYPEINFO(ProFileEvaluator::Private::ProLoop, Q_MOVABLE_TYPE);
#endif
ProFileEvaluator::Private::Private(ProFileEvaluator *q_)
: q(q_)
......
......@@ -88,6 +88,7 @@ private:
class Private;
Private *d;
// This doesn't help gcc 3.3 ...
template<typename T> friend class QTypeInfo;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment