Bran's Kernel Development Tutorial Known Bugs: Difference between revisions

no edit summary
[unchecked revision][unchecked revision]
No edit summary
No edit summary
Line 62:
<syntaxhighlight lang="c">
__asm__ ("div %0" :: "r"(0));
</syntaxhighlight>
 
===Compiler error: unknown type name ‘size_t'===
GCC produces the following errors: ''unknown type name 'X'''. The tutorial source code doesn't include any standard definitions for types like ''size_t'' or ''uint_32''. Including the following headers in each source file:
<syntaxhighlight lang="c">
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
</syntaxhighlight>
 
Anonymous user