This is needed for getting a meaningful sparse run on a Wine 64-bit compile. Else the basic Win32 headers will produce tons of error: attribute 'ms_abi': unknown attribute which end in error: too many errors. The sysv_abi attribute was just added for symmetry. Signed-off-by: Michael Stefaniuc <mstefani@xxxxxxxxxx> --- parse.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/parse.c b/parse.c index 5e75242..5f6f9c3 100644 --- a/parse.c +++ b/parse.c @@ -525,6 +525,10 @@ static struct init_keyword { { "__stdcall__", NS_KEYWORD, .op = &ignore_attr_op }, { "fastcall", NS_KEYWORD, .op = &ignore_attr_op }, { "__fastcall__", NS_KEYWORD, .op = &ignore_attr_op }, + { "ms_abi", NS_KEYWORD, .op = &ignore_attr_op }, + { "__ms_abi__", NS_KEYWORD, .op = &ignore_attr_op }, + { "sysv_abi", NS_KEYWORD, .op = &ignore_attr_op }, + { "__sysv_abi__", NS_KEYWORD, .op = &ignore_attr_op }, { "dllimport", NS_KEYWORD, .op = &ignore_attr_op }, { "__dllimport__", NS_KEYWORD, .op = &ignore_attr_op }, { "dllexport", NS_KEYWORD, .op = &ignore_attr_op }, -- 1.6.5.rc1 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html