compiler error i dont understand
Posted: Sun Nov 10, 2002 5:22 pm
I went to compile my first kernal (YAY!!) and was able to fix all the problems exept an error saying "declared as function returning a function"
this error occurs in the like sti, hlt, cli functions in the x86.h header file. heres what i have in those functions:
/*prototype*/
void sti();
/*function*/
void sti()
{
asm("sti");
}
for the others th eonly difference is the same of the function and the one word command that is inline assembly.
I dont understand the error or how to fix it...
thanks,
Spam
this error occurs in the like sti, hlt, cli functions in the x86.h header file. heres what i have in those functions:
/*prototype*/
void sti();
/*function*/
void sti()
{
asm("sti");
}
for the others th eonly difference is the same of the function and the one word command that is inline assembly.
I dont understand the error or how to fix it...
thanks,
Spam