{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-cpptools/issues/1538","repository_url":"https://api.github.com/repos/Microsoft/vscode-cpptools","labels_url":"https://api.github.com/repos/Microsoft/vscode-cpptools/issues/1538/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-cpptools/issues/1538/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-cpptools/issues/1538/events","html_url":"https://github.com/Microsoft/vscode-cpptools/issues/1538","id":295701552,"number":1538,"title":"False error","user":{"login":"sylveon","id":6440374,"avatar_url":"https://avatars3.githubusercontent.com/u/6440374?v=4","gravatar_id":"","url":"https://api.github.com/users/sylveon","html_url":"https://github.com/sylveon","followers_url":"https://api.github.com/users/sylveon/followers","following_url":"https://api.github.com/users/sylveon/following{/other_user}","gists_url":"https://api.github.com/users/sylveon/gists{/gist_id}","starred_url":"https://api.github.com/users/sylveon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylveon/subscriptions","organizations_url":"https://api.github.com/users/sylveon/orgs","repos_url":"https://api.github.com/users/sylveon/repos","events_url":"https://api.github.com/users/sylveon/events{/privacy}","received_events_url":"https://api.github.com/users/sylveon/received_events","type":"User","site_admin":false},"labels":[{"id":355010486,"url":"https://api.github.com/repos/Microsoft/vscode-cpptools/labels/Language%20Service","name":"Language Service","color":"c5def5","default":false},{"id":535300584,"url":"https://api.github.com/repos/Microsoft/vscode-cpptools/labels/more%20info%20needed","name":"more info needed","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-08T23:23:19Z","updated_at":"2018-02-08T23:51:04Z","closed_at":null,"author_association":"NONE","body":"The following code produces an IntelliSense error in VSCode with all the C++ settings at their defaults:\r\n\r\n```cpp\r\n#include <windows.h>\r\n#include <tchar.h>\r\n\r\nint main()\r\n{\r\n    TCHAR path[MAX_PATH];\r\n    return _tcslen(path);\r\n}\r\n```\r\n\r\n![](https://files.charlesmilette.net/FlawlessBurlywoodPeafowl)\r\n\r\nYet, when built with MSVC/Visual Studio,no error is shown by IntelliSense\r\n\r\n![](https://files.charlesmilette.net/HighlevelMountainousConure)\r\n\r\nI'm running Windows 10 build 17093, VSCode 1.19.3, addon version 1.13.1.\r\nVisual Studio is at version 15.5.5\r\n\r\n(Looks like it's thinking that I'm trying to use std::experimental::filesystem::v1::path instead of the locally declared `path` array)"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode-cpptools/issues/comments/364288406","html_url":"https://github.com/Microsoft/vscode-cpptools/issues/1538#issuecomment-364288406","issue_url":"https://api.github.com/repos/Microsoft/vscode-cpptools/issues/1538","id":364288406,"user":{"login":"sylveon","id":6440374,"avatar_url":"https://avatars3.githubusercontent.com/u/6440374?v=4","gravatar_id":"","url":"https://api.github.com/users/sylveon","html_url":"https://github.com/sylveon","followers_url":"https://api.github.com/users/sylveon/followers","following_url":"https://api.github.com/users/sylveon/following{/other_user}","gists_url":"https://api.github.com/users/sylveon/gists{/gist_id}","starred_url":"https://api.github.com/users/sylveon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylveon/subscriptions","organizations_url":"https://api.github.com/users/sylveon/orgs","repos_url":"https://api.github.com/users/sylveon/repos","events_url":"https://api.github.com/users/sylveon/events{/privacy}","received_events_url":"https://api.github.com/users/sylveon/received_events","type":"User","site_admin":false},"created_at":"2018-02-08T23:51:04Z","updated_at":"2018-02-08T23:51:04Z","author_association":"NONE","body":"Visual Studio also has UNICODE defined by default:\r\n\r\n![](https://files.charlesmilette.net/NimblePoorIlsamochadegu)"}}
{"actor":{"display_login":"sylveon"}}