On Wed, 31 Aug 2005, Richard B. Kreckel wrote:
> On Wed, 31 Aug 2005, Steve Langasek wrote:
> > This looks like a cascading failure, but I don't really know what the
> > first failure means in this case, as I don't understand the code well
> > enough to know why it works on the *other* architectures. :)
>
> Indeed, that's the interesting question. It works on every compiler
> version I've tried on any platform, it's just ia64 that doesn't seem to
> like it. Strange.
Update: after updating to the g++ from unstable it stopped working on
my i386 machine, too. I'm not entirely sure, but maybe it's this:
struct lala {
void takemeplease() const {}
};
struct holder {
template<class T>
holder(void (T::*)())
{ /* ... */ }
};
holder froobazz(&lala::takemeplease);
This code appears to compile with all but the latest g++. Is it valid, or
should there be a const in the function pointer parameter in the ctor?
Was there some patch to Debian's GCC which might be responsible for the
change?
I'm going to bootstrap a vanilla GCC now...
Regards
-richy.
--
Richard B. Kreckel
<http://www.ginac.de/~kreckel/>
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]