{"action":"opened","issue":{"url":"https://api.github.com/repos/google/re2/issues/98","repository_url":"https://api.github.com/repos/google/re2","labels_url":"https://api.github.com/repos/google/re2/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/google/re2/issues/98/comments","events_url":"https://api.github.com/repos/google/re2/issues/98/events","html_url":"https://github.com/google/re2/issues/98","id":159751139,"number":98,"title":"Compile error in re2.h under MSVC","user":{"login":"DThiebaud","id":1722014,"avatar_url":"https://avatars.githubusercontent.com/u/1722014?v=3","gravatar_id":"","url":"https://api.github.com/users/DThiebaud","html_url":"https://github.com/DThiebaud","followers_url":"https://api.github.com/users/DThiebaud/followers","following_url":"https://api.github.com/users/DThiebaud/following{/other_user}","gists_url":"https://api.github.com/users/DThiebaud/gists{/gist_id}","starred_url":"https://api.github.com/users/DThiebaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DThiebaud/subscriptions","organizations_url":"https://api.github.com/users/DThiebaud/orgs","repos_url":"https://api.github.com/users/DThiebaud/repos","events_url":"https://api.github.com/users/DThiebaud/events{/privacy}","received_events_url":"https://api.github.com/users/DThiebaud/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-11T02:22:19Z","updated_at":"2016-06-11T02:22:19Z","closed_at":null,"body":"Compiling the latest version gives the following error in re2.h in MSVC:\r\n\r\n>E:\\src\\re2\\re2/re2.h(345): error C2466: cannot allocate an array of constant size 0\r\n>  E:\\src\\re2\\re2/re2.h(363): note: see reference to function template instantiation 'bool re2::RE2::Apply<bool(__cdecl *)(const re2::StringPiece &,const re2::RE2 &,const re2::RE2::Arg *const [],int),re2::StringPiece,>(F,SP,const re2::RE2 &)' being compiled\r\n>          with\r\n>          [\r\n>              F=bool (__cdecl *)(const re2::StringPiece &,const re2::RE2 &,const re2::RE2::Arg *const [],int),\r\n>              SP=re2::StringPiece\r\n>          ]\r\n>  E:\\src\\re2\\util\\benchmark.cc(158): note: see reference to function template instantiation 'bool re2::RE2::PartialMatch<>(const re2::StringPiece &,const re2::RE2 &)' being compiled\r\n2>"}}
{"actor":{"display_login":"DThiebaud"}}