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
> but
> 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.

Klaus

_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to