{"action":"created","issue":{"url":"https://api.github.com/repos/nlohmann/json/issues/1119","repository_url":"https://api.github.com/repos/nlohmann/json","labels_url":"https://api.github.com/repos/nlohmann/json/issues/1119/labels{/name}","comments_url":"https://api.github.com/repos/nlohmann/json/issues/1119/comments","events_url":"https://api.github.com/repos/nlohmann/json/issues/1119/events","html_url":"https://github.com/nlohmann/json/issues/1119","id":329496070,"node_id":"MDU6SXNzdWUzMjk0OTYwNzA=","number":1119,"title":"clang compiler: error : unknown type name 'not'","user":{"login":"d223chen","id":27775959,"node_id":"MDQ6VXNlcjI3Nzc1OTU5","avatar_url":"https://avatars1.githubusercontent.com/u/27775959?v=4","gravatar_id":"","url":"https://api.github.com/users/d223chen","html_url":"https://github.com/d223chen","followers_url":"https://api.github.com/users/d223chen/followers","following_url":"https://api.github.com/users/d223chen/following{/other_user}","gists_url":"https://api.github.com/users/d223chen/gists{/gist_id}","starred_url":"https://api.github.com/users/d223chen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d223chen/subscriptions","organizations_url":"https://api.github.com/users/d223chen/orgs","repos_url":"https://api.github.com/users/d223chen/repos","events_url":"https://api.github.com/users/d223chen/events{/privacy}","received_events_url":"https://api.github.com/users/d223chen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-05T14:57:41Z","updated_at":"2018-06-08T17:03:13Z","closed_at":null,"author_association":"NONE","body":"I am building json.hpp with a project using the Clang/LLVM toolset in Visual Studio 2017 (version 15.7.2)and getting these errors (and then some):\r\n\r\n\r\n                  1>------ Build started: Project: SampleProject, Configuration: Debug Win32 ------\r\n                  1>clang-cl.exe : warning : argument unused during compilation: '/ZI' [-Wunused-command-line-argument]\r\n                  1>clang-cl.exe : warning : argument unused during compilation: '/Gm' [-Wunused-command-line-argument]\r\n                  1>In file included from Source.cpp:2:\r\n                  1>C:\\Program Files\\vcpkg\\installed\\x86-windows\\include\\nlohmann\\json.hpp(322,66): error : unknown type name 'not'\r\n                  1>template<class B> struct negation : std::integral_constant<bool, not B::value> {};\r\n                  1>                                                                 ^\r\n                  1>C:\\Program Files\\vcpkg\\installed\\x86-windows\\include\\nlohmann\\json.hpp(322,80): error : expected class name\r\n                  1>template<class B> struct negation : std::integral_constant<bool, not B::value> {};\r\n\r\n(and many more errors).\r\n\r\nHere is the compiler version:\r\n\r\n            C:\\Program Files\\LLVM\\bin>clang-cl.exe --version\r\n            clang version 6.0.0 (tags/RELEASE_600/final)\r\n            Target: x86_64-pc-windows-msvc\r\n            Thread model: posix\r\n            InstalledDir: C:\\Program Files\\LLVM\\bin\r\n\r\nI highly suspect this is a compiler issue. I successfully compiled the project when using the Microsoft Visual C++ compiler (MSVC) version 19.14. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/nlohmann/json/issues/comments/395824067","html_url":"https://github.com/nlohmann/json/issues/1119#issuecomment-395824067","issue_url":"https://api.github.com/repos/nlohmann/json/issues/1119","id":395824067,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTgyNDA2Nw==","user":{"login":"nlohmann","id":159488,"node_id":"MDQ6VXNlcjE1OTQ4OA==","avatar_url":"https://avatars2.githubusercontent.com/u/159488?v=4","gravatar_id":"","url":"https://api.github.com/users/nlohmann","html_url":"https://github.com/nlohmann","followers_url":"https://api.github.com/users/nlohmann/followers","following_url":"https://api.github.com/users/nlohmann/following{/other_user}","gists_url":"https://api.github.com/users/nlohmann/gists{/gist_id}","starred_url":"https://api.github.com/users/nlohmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlohmann/subscriptions","organizations_url":"https://api.github.com/users/nlohmann/orgs","repos_url":"https://api.github.com/users/nlohmann/repos","events_url":"https://api.github.com/users/nlohmann/events{/privacy}","received_events_url":"https://api.github.com/users/nlohmann/received_events","type":"User","site_admin":false},"created_at":"2018-06-08T17:03:13Z","updated_at":"2018-06-08T17:03:13Z","author_association":"OWNER","body":"Thanks for your effort!"}}
{"actor":{"display_login":"nlohmann"}}