Re: Bug crashes gcc 4.2.1
Re: Bug crashes gcc 4.2.1
- Subject: Re: Bug crashes gcc 4.2.1
- From: Alastair Houghton <email@hidden>
- Date: Wed, 23 Sep 2009 20:21:53 +0100
On 23 Sep 2009, at 20:11, Rick Mann wrote:
I can submit a bug report, but what should I put into it? The
preprocessed file?
Any ideas how to fix/workaround this in the meantime? I've seen
compiler crashes before which should've been syntax errors, but this
time I have no idea what to look at. I did clean up some errors
where my implementation of a method in a derived class didn't match
the declaration in a base class (because this compiler issues
warnings, when an older compiler, < Xcode 3.1, didn't).
What you probably want to do is to try to comment out as much code as
you can, until the crash goes away, then uncomment some to bring it
back and repeat until you've got the smallest piece of code that
causes the crash on its own.
At that point, I generally try to write a separate test program that
*just* triggers the crash, and that's what I generally attach to a bug
report like this one.
Usually it also becomes obvious how to work around the problem (very
often, as you say, the issue is some hard to spot mistake).
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden