{"action":"created","issue":{"url":"https://api.github.com/repos/mono/CppSharp/issues/577","labels_url":"https://api.github.com/repos/mono/CppSharp/issues/577/labels{/name}","comments_url":"https://api.github.com/repos/mono/CppSharp/issues/577/comments","events_url":"https://api.github.com/repos/mono/CppSharp/issues/577/events","html_url":"https://github.com/mono/CppSharp/issues/577","id":110798076,"number":577,"title":"Cannot Compile with VS2013 and recommended versions of LLVM/Clang","user":{"login":"taylorcw","id":15022223,"avatar_url":"https://avatars.githubusercontent.com/u/15022223?v=3","gravatar_id":"","url":"https://api.github.com/users/taylorcw","html_url":"https://github.com/taylorcw","followers_url":"https://api.github.com/users/taylorcw/followers","following_url":"https://api.github.com/users/taylorcw/following{/other_user}","gists_url":"https://api.github.com/users/taylorcw/gists{/gist_id}","starred_url":"https://api.github.com/users/taylorcw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylorcw/subscriptions","organizations_url":"https://api.github.com/users/taylorcw/orgs","repos_url":"https://api.github.com/users/taylorcw/repos","events_url":"https://api.github.com/users/taylorcw/events{/privacy}","received_events_url":"https://api.github.com/users/taylorcw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-10T14:40:46Z","updated_at":"2015-10-10T19:19:38Z","closed_at":"2015-10-10T15:41:34Z","body":"I have been unsuccessful compiling CppSharp with the recommended versions of LLVM/Clang (or the head revision, master revision, stable revision, etc.). I get a number of compile errors like th ones below. I have searched the file histories in some of the files that are complaining that the virtual method definitions do not exist in the base class and have not found the methods that the CppSharp methods are attempting to override.\r\n\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(873): error C3668: '`anonymous-namespace'::PPCTargetInfo::initDefaultFeatures' : method with override specifier 'override' did not override any base class methods\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(2324): error C3668: '`anonymous-namespace'::X86TargetInfo::initDefaultFeatures' : method with override specifier 'override' did not override any base class methods\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4499): error C3668: '`anonymous-namespace'::ARMTargetInfo::initDefaultFeatures' : method with override specifier 'override' did not override any base class methods\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4294): error C3083: 'ARMTargetParser': the symbol to the left of a '::' must be a type\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4294): error C2039: 'parseArchISA' : is not a member of 'llvm'\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4294): error C3861: 'parseArchISA': identifier not found\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4297): error C3083: 'ARMTargetParser': the symbol to the left of a '::' must be a type\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4297): error C2039: 'parseArch' : is not a member of 'llvm'\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4297): error C3861: 'parseArch': identifier not found\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4300): error C3083: 'ARMTargetParser': the symbol to the left of a '::' must be a type\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4300): error C2039: 'parseCPUArch' : is not a member of 'llvm'\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4300): error C3861: 'parseCPUArch': identifier not found\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4309): error C3083: 'ARMTargetParser': the symbol to the left of a '::' must be a type\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4309): error C2039: 'getSubArch' : is not a member of 'llvm'\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4309): error C3861: 'getSubArch': identifier not found\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4310): error C3083: 'ARMTargetParser': the symbol to the left of a '::' must be a type\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4310): error C2039: 'parseArchProfile' : is not a member of 'llvm'\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4310): error C3861: 'parseArchProfile': identifier not found\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4311): error C3083: 'ARMTargetParser': the symbol to the left of a '::' must be a type\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4311): error C2039: 'parseArchVersion' : is not a member of 'llvm'\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4311): error C3861: 'parseArchVersion': identifier not found\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4351): error C3083: 'ARMTargetParser': the symbol to the left of a '::' must be a type\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4351): error C2039: 'getDefaultCPU' : is not a member of 'llvm'\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4351): error C2440: 'initializing' : cannot convert from 'llvm::StringRef' to 'const char *'\r\n1>          No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4361): error C3083: 'ARMTargetParser': the symbol to the left of a '::' must be a type\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4361): error C2039: 'getCPUAttr' : is not a member of 'llvm'\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4361): error C2660: '`anonymous-namespace'::ARMTargetInfo::getCPUAttr' : function does not take 1 arguments\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4626): error C3083: 'ARMTargetParser': the symbol to the left of a '::' must be a type\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4626): error C2039: 'parseCPUArch' : is not a member of 'llvm'\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(4626): error C3861: 'parseCPUArch': identifier not found\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(5961): error C3668: '`anonymous-namespace'::SystemZTargetInfo::initDefaultFeatures' : method with override specifier 'override' did not override any base class methods\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(6329): error C3668: '`anonymous-namespace'::MipsTargetInfoBase::initDefaultFeatures' : method with override specifier 'override' did not override any base class methods\r\n1>..\\..\\..\\src\\CppParser\\Targets.cpp(7620): error C2039: 'initDefaultFeatures' : is not a member of 'clang::TargetInfo'\r\n\r\nWhich revisions of LLVM/Clang is everyone using, and is the master of CppSharp known to compile and run with it?\r\n\r\nThanks in advance for any tips you can offer."},"comment":{"url":"https://api.github.com/repos/mono/CppSharp/issues/comments/147118382","html_url":"https://github.com/mono/CppSharp/issues/577#issuecomment-147118382","issue_url":"https://api.github.com/repos/mono/CppSharp/issues/577","id":147118382,"user":{"login":"taylorcw","id":15022223,"avatar_url":"https://avatars.githubusercontent.com/u/15022223?v=3","gravatar_id":"","url":"https://api.github.com/users/taylorcw","html_url":"https://github.com/taylorcw","followers_url":"https://api.github.com/users/taylorcw/followers","following_url":"https://api.github.com/users/taylorcw/following{/other_user}","gists_url":"https://api.github.com/users/taylorcw/gists{/gist_id}","starred_url":"https://api.github.com/users/taylorcw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylorcw/subscriptions","organizations_url":"https://api.github.com/users/taylorcw/orgs","repos_url":"https://api.github.com/users/taylorcw/repos","events_url":"https://api.github.com/users/taylorcw/events{/privacy}","received_events_url":"https://api.github.com/users/taylorcw/received_events","type":"User","site_admin":false},"created_at":"2015-10-10T19:19:37Z","updated_at":"2015-10-10T19:19:37Z","body":"Thanks, guys, I appreciate your help. I would love to contribute, and may\nbe able to do so, but I'm new enough to CppSharp, LLVM, and Clang that I\nwant to get to know them better before attempting to submit changes or\nfixes. More later...\n\nThanks again,\n-Taylor\n\nOn Sat, Oct 10, 2015 at 9:52 AM, Dimitar Dobrev <notifications@github.com>\nwrote:\n\n> @taylorcw <https://github.com/taylorcw> it seems the Clang API changed\n> quite a little and it may be difficult for us to upgrade if we wait even\n> more. On the other hand, we're both busy at present so I would really\n> encourage you to try upgrading the code and send a pull.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/mono/CppSharp/issues/577#issuecomment-147106572>.\n>\n"}}