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:
parent
7129cfccb0
commit
04a623ab67
1 changed files with 10 additions and 0 deletions
|
@ -25,6 +25,16 @@ public class WinDiscoveredPathInfo implements IDiscoveredPathInfo {
|
||||||
symbols.put("_M_IX86", "600");
|
symbols.put("_M_IX86", "600");
|
||||||
symbols.put("_WIN32", "1");
|
symbols.put("_WIN32", "1");
|
||||||
symbols.put("_MSC_VER", "1400");
|
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() {
|
public IPath[] getIncludePaths() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue