Closed UFifty50 closed 3 years ago
A semicolon is required after the class specifier, since it is part of a declaration.
struct Char {
uint8_t character;
uint8_t colour;
-}
+};
struct Char* buffer = (struct Char*) 0xb8000;
Perfect, that worked! thanks :)
When I try to compile the source it gives me this error:
the command being run:
the relevant contents of print.c:
my gcc version is a cross-compiled 4.9.0, however i get the exact same error on non-cross-compiled versions 4.7, 7, 9 and 10. any help would be appreciated!