James Molloy's Tutorial Known Bugs: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
Both snippets were actually the same, and the first one was not the incorrect code, ie they were both corrected but the second had extra parentheses
Line 46: Line 46:
== Problem: Missing functions ==
== Problem: Missing functions ==


The gcc documentation mentions that the <tt>memset</tt>, <tt>memcpy</tt>, <tt>memmove</tt> and <tt>memcmp</tt> functions must always be present. The compiler uses these automatically for certain optimization purposes and even code that doesn't use them can automatically generate calls to them. You should add them at your earliest convenience.
The GCC documentation mentions that the <tt>memset</tt>, <tt>memcpy</tt>, <tt>memmove</tt> and <tt>memcmp</tt> functions must always be present. The compiler uses these automatically for certain optimization purposes and even code that doesn't use them can automatically generate calls to them. You should add them at your earliest convenience.


== Problem: Interrupt handlers corrupt interrupted state ==
== Problem: Interrupt handlers corrupt interrupted state ==