mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 14:12:10 +02:00
Mirror of https://github.com/eclipse-cdt/cdt
![]() When a toolchain is selected along with its builder, the builder gets matched to a “real builder” (ManagedBuildManager.getRealBuilder). If the builder is abstract, the builder is not in the possible list of matches, as implemented in Builder.getMatchKey. This causes getCurrentBuilderCompatibilityInfo to return null which is not handled. This patch changes the base LLVM builder to a non-abstract one, which solves this specific NPE. Also, in order to be more helpful to the user in case it happens to another toolchain, a null check was added with an error message that the builder is incompatible. Then at least, it is more clear that something is wrong and the user can pick a different builder. Change-Id: I4d26c568dfe6307b496719c10908a36933fd3ab8 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> |
||
---|---|---|
.mvn | ||
build | ||
codan | ||
core | ||
cross | ||
debug | ||
doc | ||
dsf | ||
dsf-gdb | ||
jtag | ||
launch | ||
llvm | ||
lrparser | ||
memory | ||
native | ||
qt | ||
releng | ||
remote | ||
testsrunner | ||
toolchains/arduino | ||
upc | ||
util | ||
visualizer | ||
windows | ||
xlc | ||
.gitignore | ||
pom.xml |