Discussion:
[vbox-dev] stdio.h: No such file or directory
Johannes DeWitt
2014-06-06 16:04:13 UTC
Permalink
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20140606/74850fb0/attachment.html
Klaus Espenlaub
2014-06-11 11:55:33 UTC
Permalink
Post by Johannes DeWitt
Hi, i want to include stdio.h.
"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

Loading...