Opened 7 years ago

Closed 7 years ago

#15789 closed defect (fixed)

Compile error in kLdrModMachO.c

Reported by: Bermond Owned by:
Component: other Version:
Keywords: Cc:
Guest type: all Host type: Linux


I'm getting the following error when trying to compile VirtualBox using the SVN version:

/storage/linux/src/virtualbox-svn/src/libs/kStuff/kStuff/kLdr/kLdrModMachO.c:871:2693: error: self-comparison always evaluates to true [-Werror=tautological-compare]
/storage/linux/src/virtualbox-svn/src/libs/kStuff/kStuff/kLdr/kLdrModMachO.c:923:2693: error: self-comparison always evaluates to true [-Werror=tautological-compare]
cc1: all warnings being treated as errors
kmk: *** [/storage/linux/src/virtualbox-svn/out/linux.amd64/release/obj/VBox-kStuff/kStuff/kLdr/kLdrModMachO.o] Error 1


OS: Arch Linux x86_64

GCC: 6.1.1

VirtualBox: SVN

Change History (1)

comment:1 by aeichner, 7 years ago

Resolution: fixed
Status: newclosed

Looks like it was fixed in between, can't reproduce here anymore on my Arch Linux host with gcc 6.1.1, closing as fixed. Please use the vbox-dev mailing list next time to report such issues.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use