??? 05/31/07 12:26 Read: times |
#140105 - not the most common reason Responding to: ???'s previous message |
Until you find out that, due to a compiler bug, the "debug" version works while the "release" version doesn't.
The most common reason is not a copiler bug, but code that is timing dependent. This is not related to optimization by compiler, but once I rewrote parts of some inherited code to make it perform fast enough to fully support the device it drove and everything fell apart. The rewrite and debug of the rewrite took a week, finding and fixing all the places that 'relied' on slow processing took months, of course all these were intermittent. That I found out, eventually, that there ALSO was a hardware issue relying on slow processing just made it ever so much more fun. Erik |