Check whether compiler prefix file returned by Raptor query really exist when scanning for compiler macros.
--- a/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/api/sdk/BuildContextSBSv2.java Wed Jul 21 13:52:53 2010 -0500
+++ b/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/api/sdk/BuildContextSBSv2.java Wed Jul 21 15:24:25 2010 -0500
@@ -152,7 +152,7 @@
@Override
public List<IDefine> getCompilerMacros() {
IPath prefixFile = getCompilerPrefixFile();
- if (prefixFile == null) {
+ if (prefixFile == null || !prefixFile.toFile().exists()) {
return Collections.emptyList();
}