Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc-Andre Laperle2012-11-17 14:45:49 -0500
committerMarc-Andre Laperle2012-11-17 14:45:49 -0500
commit1b2b5e5cd4045da1861ecb9088fc02e468e188af (patch)
treefba2353a67f5228bcb9d4d8f7105dcd2d62c2c09
parent0630a81374883a3afb190bf88f6f7bd78fb94bba (diff)
downloadorg.eclipse.cdt-1b2b5e5cd4045da1861ecb9088fc02e468e188af.tar.gz
org.eclipse.cdt-1b2b5e5cd4045da1861ecb9088fc02e468e188af.tar.xz
org.eclipse.cdt-1b2b5e5cd4045da1861ecb9088fc02e468e188af.zip
Bug 383773 - __int64 is not detected as valid type with MSVC toolchain
-rw-r--r--windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinDiscoveredPathInfo.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinDiscoveredPathInfo.java b/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinDiscoveredPathInfo.java
index dade707297..c2cd6721e0 100644
--- a/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinDiscoveredPathInfo.java
+++ b/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinDiscoveredPathInfo.java
@@ -35,6 +35,13 @@ public class WinDiscoveredPathInfo implements IDiscoveredPathInfo {
symbols.put("__unaligned", "");
symbols.put("__uptr", "");
symbols.put("__w64", "");
+
+ // Redefine some things so that the CDT parser can handle them, until there is a VC specific parser
+ symbols.put("__forceinline", "__inline");
+ symbols.put("__int8", "char");
+ symbols.put("__int16", "short");
+ symbols.put("__int32", "int");
+ symbols.put("__int64", "long long");
}
public IPath[] getIncludePaths() {

Back to the top