This patch fixes some build errors while building with gcc 4.7.x or below.
Errors occured while building with arm-linux-gnueabi-gcc which is still using gcc 4.6 release.
Paths
| Differential D11256
Fix build errors on older versions of gcc ClosedPublic Authored by omjavaid on Jul 16 2015, 1:49 AM.
Details
Summary This patch fixes some build errors while building with gcc 4.7.x or below. Errors occured while building with arm-linux-gnueabi-gcc which is still using gcc 4.6 release.
Diff Detail Event Timelineomjavaid updated this object. tberghammer edited edge metadata. Comment ActionsLooks good to me, but I am not sure if gcc-4.6 supports all c++11 feature we are using and LLVM officially supports gcc-4.7+, so you might run into other issues also using gcc-4.6. If possible, I suggest to try to upgrade your compiler to avoid further issues. This revision is now accepted and ready to land.Jul 16 2015, 5:46 AM clayborg edited edge metadata. Comment ActionsAs long as there are no other changes and LLDB actually does build and run using a gcc 4.6 built binary, go ahead and check this in. If anything still fails and gcc 4.6 can compile everything leave it out.
Revision Contents
Diff 29874 source/Host/common/Host.cpp
source/Host/posix/PipePosix.cpp
source/Plugins/Process/Linux/NativeProcessLinux.h
source/Plugins/Process/Linux/NativeThreadLinux.cpp
|