vs2017 shlobj.h 报错 unexpected token 'identifier' (意外令牌'标识符')

Error    C2760    syntax error: unexpected token 'identifier', expected 'type specifier' c:\program files (x86)\microsoft sdks\windows\v7.1a\include\objbase.h    239    
Warning    C4091    'typedef ': ignored on left of 'tagGPFIDL_FLAGS' when no variable is declared    c:\program files (x86)\microsoft sdks\windows\v7.1a\include\shlobj.h    1151    

解决方案:
    1.C/C++ -> Language -> Conformance mode -> no

vs2017 shlobj.h 报错 unexpected token 'identifier' (意外令牌'标识符')_第1张图片

你可能感兴趣的:(C++,Experience)