
Originally Posted by
rohandhruva
gcc 4.1 is that it doesnt allow
foo :: foo (args)
foo :: foo (args)
To copy to clipboard, switch view to plain text mode
you need to type
foo (args)
foo (args)
To copy to clipboard, switch view to plain text mode
Well... that's really weird. A new kind of C++?
Q3DnsAnswer::Q3DnsAnswer() looks like any other constructor --- there's nothing special about it:
Q3DnsAnswer::Q3DnsAnswer( Q3DnsQuery * query_ )
{
ok = true;
answer = 0;
size = 0;
query = query_;
pp = 0;
rrs = new Q3PtrList<Q3DnsRR>;
rrs->setAutoDelete( false );
next = size;
ttl = 0;
label.clear();
rr = 0;
Q3DnsRR * newrr = new Q3DnsRR( query->l );
newrr->t = query->t;
newrr->deleteTime = query->started + 10;
newrr->expireTime = query->started + 10;
newrr->nxdomain = true;
newrr->current = true;
rrs->append( newrr );
}
Q3DnsAnswer::Q3DnsAnswer( Q3DnsQuery * query_ )
{
ok = true;
answer = 0;
size = 0;
query = query_;
pp = 0;
rrs = new Q3PtrList<Q3DnsRR>;
rrs->setAutoDelete( false );
next = size;
ttl = 0;
label.clear();
rr = 0;
Q3DnsRR * newrr = new Q3DnsRR( query->l );
newrr->t = query->t;
newrr->deleteTime = query->started + 10;
newrr->expireTime = query->started + 10;
newrr->nxdomain = true;
newrr->current = true;
rrs->append( newrr );
}
To copy to clipboard, switch view to plain text mode

Originally Posted by
rohandhruva
Is there any gcc 4.1 patch for Qt 4.1.2 available ?
I don't think so. IMO it is better to use a more reliable version of GCC, instead of changing the code.
Bookmarks