Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gvozdev2010-10-21 12:56:39 -0400
committerAndrew Gvozdev2010-10-21 12:56:39 -0400
commit04a623ab674e6f11cc89eeac0c1bcadde10db1ad (patch)
tree7c3ceb4058275725722473d70c9691b732731da6 /windows/org.eclipse.cdt.msw.build
parent7129cfccb07c99a68e2ae579e05f463e70a97b39 (diff)
downloadorg.eclipse.cdt-04a623ab674e6f11cc89eeac0c1bcadde10db1ad.tar.gz
org.eclipse.cdt-04a623ab674e6f11cc89eeac0c1bcadde10db1ad.tar.xz
org.eclipse.cdt-04a623ab674e6f11cc89eeac0c1bcadde10db1ad.zip
bug 328384: Improve handling of MS specific modifiers with VC toolchain
Patch from Marc-Andre Laperle
Diffstat (limited to 'windows/org.eclipse.cdt.msw.build')
-rw-r--r--windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinDiscoveredPathInfo.java10
1 files changed, 10 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 58aa16100e..dade707297 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
@@ -25,6 +25,16 @@ public class WinDiscoveredPathInfo implements IDiscoveredPathInfo {
symbols.put("_M_IX86", "600");
symbols.put("_WIN32", "1");
symbols.put("_MSC_VER", "1400");
+
+ // Microsoft specific modifiers that can be ignored
+ symbols.put("__cdecl", "");
+ symbols.put("__fastcall", "");
+ symbols.put("__restrict", "");
+ symbols.put("__sptr", "");
+ symbols.put("__stdcall", "");
+ symbols.put("__unaligned", "");
+ symbols.put("__uptr", "");
+ symbols.put("__w64", "");
}
public IPath[] getIncludePaths() {

Back to the top