Opened 15 years ago
Closed 15 years ago
#7511 closed defect (fixed)
Compiling with Guest Properties disabled fails (fix attached)
Reported by: | Twisted Lincoln, Inc. | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 3.2.8 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | Linux |
Description
When compiling VirtualBox-OSE 3.2.8 without Guest Properties enabled (by setting the VBOX_WITH_GUEST_PROPS configure flag), compilation ends with an error.
This appears to be due to the fact a section of code used by the Guest Properties functionality is not properly segregated to be run only if compiled with the feature active.
The solution is to place #ifdef VBOX_WITH_GUEST_PROPS and #endif statements surrounding the offending code.
The location in question is src/VBox/Main/MachineImpl.cpp -- placing the above statements at lines 11143 and 11163 respectively solves the issue, and VirtualBox-OSE compiles as expected, with the Guest Properties approrpiately disabled.
I have attached a copy of the MachineImpl.cpp file with the modifications in place.
Attachments (1)
Change History (2)
by , 15 years ago
Attachment: | MachineImpl.cpp added |
---|
comment:1 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks for the report, this will be fixed in the next maintenance release.
Fixed MachineImpl.cpp