On Wed, 18 May 2005, Manav Bhatia wrote:
> Has anyone tried to build libMesh with gcc4.0?
Only with a couple Fedora Core 3 packages, AFAIK. It works with their
gcc4*-4.0.0-0.8 packages, but METHOD=dbg fails with a known bug on
> I attempted doing so with the Apple gcc4.0 on a mac OSX and got the
> following error.
We only recently got the CVS head compiling on OS X (with gcc 3,
IIRC). More people testing on Macs would certainly be appreciated.
> Does anyone have any idea of what is happening?
> The compiler is complaining about some seemingly harmless code in
> the asserts like
> assert (q != NULL);
> Any help will be greatly appreciated.
There are some web hits talking about an assert() bug, in some version
of gcc4 that tried to use an optimization that expected a long int
argument. I don't know if that's the problem here, but in any case it
looks like a compiler or assert.h bug. Do you have the latest gcc4