1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

bug 328384: Improve handling of MS specific modifiers with VC toolchain

Patch from Marc-Andre Laperle
This commit is contained in:
Andrew Gvozdev 2010-10-21 16:56:39 +00:00
parent 7129cfccb0
commit 04a623ab67

View file

@ -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() {