What to do about compiler bug and source code?
sergio masci email (remove spam text)
On Tue, 22 Jul 2008, William Couture wrote:
Strip out as much source code as possible such that the compiler still
produces the bug.
Start off with a copy of the project. Systematically delete the contents
of functions which are unrelated to the function where you are
experiencing the problem (leaving just the empty function). Keep doing
this until the compiler starts behaving, then undo until the compiler
starts misbehaving again. Make a note of which functions are vital to
the bug and then try again with functions you havent touched yet.
You will end up with some functions and globals which are not referenced
anywhere. try removing them completely, a few at a time until the compiler
starts behaving itself again, then undo the changes until the compiler
starts misbehaving again. you should be able to drastically reduce the
code necessary to reliably reproduce bug.
In reply to: <email@example.com>
See also: www.piclist.com/techref/index.htm?key=what+about+compiler
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the