[vbox-dev] stdio.h: No such file or directory
klaus.espenlaub at oracle.com
Wed Jun 11 11:55:33 UTC 2014
On 06.06.2014 18:04, Johannes DeWitt wrote:
> Hi, i want to include stdio.h.
> But if i include this headres in some files, i receive this error:
> "stdio.h: No such file or directory"
> for example,
> in /src/VBox/VMM/VMMR3/TM.cpp i can include it
> in /src/VBox/VMM/VMMAll.cpp i receive the error
Completely intentional - the code in VMMAll is compiled several times,
and one copy ends up in kernel mode, where stdio.h makes absolutely no
sense. Some VirtualBox Runtime functions (logging etc.) are available in
all contexts. printf debugging in kernel module isn't possible.
More information about the vbox-dev