Fix 10622. Always add epco32\include to search paths when preprocessing varint HRH
authortimkelly
Thu, 28 Jan 2010 12:09:31 -0600
changeset 840 c92830672f75
parent 827 ba25abd59060
child 841 80149e1e5ec6
Fix 10622. Always add epco32\include to search paths when preprocessing varint HRH
core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/api/sdk/SymbianBuildContextDataCache.java
--- a/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/api/sdk/SymbianBuildContextDataCache.java	Tue Jan 26 14:36:17 2010 -0600
+++ b/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/api/sdk/SymbianBuildContextDataCache.java	Thu Jan 28 12:09:31 2010 -0600
@@ -181,9 +181,12 @@
 			File[] includedFiles = null;
 
 			if (prefixFile != null) {
-
+				
+				List<File> systemPaths = new ArrayList<File>();
+				// Always add epoc32/include to the search path as this is implicit for includes in the HRH
+				systemPaths.add(new File(sdk.getEPOCROOT() + "epoc32/include"));
+				
 				// add any BSF/SBV includes so the headers are picked up from the correct location
-				List<File> systemPaths = new ArrayList<File>();
 				IBSFPlatform bsfPlat = sdk.getBSFCatalog().findPlatform(platformString);
 				ISBVPlatform sbvPlat = sdk.getSBVCatalog().findPlatform(platformString);
 				if (bsfPlat != null) {