Fix 10622. Always add epco32\include to search paths when preprocessing varint HRH RCL_2_4
authortimkelly
Thu, 28 Jan 2010 13:16:40 -0600
branchRCL_2_4
changeset 844 d445ac5a58a1
parent 839 12b72acf0db7
child 845 0e13f296b6a8
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/SymbianBuildContext.java
--- a/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/api/sdk/SymbianBuildContext.java	Thu Jan 28 11:52:34 2010 -0600
+++ b/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/api/sdk/SymbianBuildContext.java	Thu Jan 28 13:16:40 2010 -0600
@@ -398,9 +398,12 @@
 				}
 				
 				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(getSDK().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 = getSDK().getBSFCatalog().findPlatform(platform);
 					ISBVPlatform sbvPlat = getSDK().getSBVCatalog().findPlatform(platform);
 					if (bsfPlat != null) {