{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-cpptools/issues/2950","repository_url":"https://api.github.com/repos/Microsoft/vscode-cpptools","labels_url":"https://api.github.com/repos/Microsoft/vscode-cpptools/issues/2950/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-cpptools/issues/2950/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-cpptools/issues/2950/events","html_url":"https://github.com/Microsoft/vscode-cpptools/issues/2950","id":392966447,"node_id":"MDU6SXNzdWUzOTI5NjY0NDc=","number":2950,"title":"The filename, directory name, or volume label syntax is incorrect.","user":{"login":"maxiwu","id":1551262,"node_id":"MDQ6VXNlcjE1NTEyNjI=","avatar_url":"https://avatars2.githubusercontent.com/u/1551262?v=4","gravatar_id":"","url":"https://api.github.com/users/maxiwu","html_url":"https://github.com/maxiwu","followers_url":"https://api.github.com/users/maxiwu/followers","following_url":"https://api.github.com/users/maxiwu/following{/other_user}","gists_url":"https://api.github.com/users/maxiwu/gists{/gist_id}","starred_url":"https://api.github.com/users/maxiwu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxiwu/subscriptions","organizations_url":"https://api.github.com/users/maxiwu/orgs","repos_url":"https://api.github.com/users/maxiwu/repos","events_url":"https://api.github.com/users/maxiwu/events{/privacy}","received_events_url":"https://api.github.com/users/maxiwu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-20T09:50:09Z","updated_at":"2018-12-20T19:20:22Z","closed_at":"2018-12-20T19:20:22Z","author_association":"NONE","body":"Type: General\r\n\r\n**Describe the bug**\r\n- OS and Version: Windows 8 64bit\r\n- VS Code Version: 1.30.1\r\n- C/C++ Extension Version: 0.20.1\r\n- Other extensions you installed (and if the issue persists after disabling them):\r\n\r\nI can run the build command in my terminal just fine (cmd).\r\ng++ -g main.c -o main.exe\r\nbut when I run the build task in vscode, the command looks correct.\r\nC:\\mingw-w64\\x86_64-8.1.0-win32-sjlj-rt_v6-rev0\\mingw6in\\g++ -g d:\\vscode\\gen_token\\main.c -o main.exe\r\n\r\nBut it gives me error\r\nThe filename, directory name, or volume label syntax is incorrect.\r\nThe terminal process terminated with exit code: 1\r\n\r\n**To Reproduce**\r\ntasks.json\r\n```\r\n{\r\n    \"version\": \"2.0.0\",\r\n    \"tasks\": [\r\n        {\r\n            \"label\": \"build\",\r\n            \"type\": \"shell\",\r\n            \"command\": \"C:\\\\mingw-w64\\\\x86_64-8.1.0-win32-sjlj-rt_v6-rev0\\\\mingw64\\bin\\\\g++\",\r\n            \"args\": [\r\n                \"-g\",\r\n                \"${file}\",\r\n                \"-o\",\r\n                \"${fileBasenameNoExtension}.exe\"\r\n            ],\r\n            \"group\": {\r\n                \"kind\": \"build\",\r\n                \"isDefault\": true\r\n            }\r\n        }\r\n    ]\r\n}\r\n```\r\n\r\nc_cpp_properties.json\r\n```\r\n{\r\n    \"configurations\": [\r\n        {\r\n            \"name\": \"Win32\",\r\n            \"includePath\": [\r\n                \"${workspaceFolder}/**\",\r\n                \"C:\\\\mingw-w64\\\\x86_64-8.1.0-win32-sjlj-rt_v6-rev0\\\\mingw64\\\\include\",\r\n                \"C:\\\\mingw-w64\\\\x86_64-8.1.0-win32-sjlj-rt_v6-rev0\\\\mingw64\\\\lib\\\\gcc\\\\x86_64-w64-mingw32\\\\8.1.0\\\\include\",\r\n                \"C:\\\\mingw-w64\\\\x86_64-8.1.0-win32-sjlj-rt_v6-rev0\\\\mingw64\\\\lib\\\\gcc\\\\x86_64-w64-mingw32\\\\8.1.0\\\\include\\\\c++\"\r\n            ],\r\n            \"defines\": [\r\n                \"_DEBUG\",\r\n                \"UNICODE\",\r\n                \"_UNICODE\",\r\n                \"__GNUC__=5\",\r\n                \"__cdecl=__attribute__((__cdecl__))\"\r\n            ],\r\n            \"browse\": {\r\n                \"path\": [\r\n                    \"${workspaceRoot}\",\r\n                    \"C:\\\\mingw-w64\\\\x86_64-8.1.0-win32-sjlj-rt_v6-rev0\\\\mingw64\\\\include\",\r\n                    \"C:\\\\mingw-w64\\\\x86_64-8.1.0-win32-sjlj-rt_v6-rev0\\\\mingw64\\\\lib\\\\gcc\\\\x86_64-w64-mingw32\\\\8.1.0\\\\include\",\r\n                    \"C:\\\\mingw-w64\\\\x86_64-8.1.0-win32-sjlj-rt_v6-rev0\\\\mingw64\\\\lib\\\\gcc\\\\x86_64-w64-mingw32\\\\8.1.0\\\\include\\\\c++\"\r\n                ],\r\n                \"limitSymbolsToIncludedHeaders\": true,\r\n                \"databaseFilename\": \"\"\r\n            },\r\n            \"intelliSenseMode\": \"clang-x64\"\r\n        }\r\n    ],\r\n    \"version\": 4\r\n}\r\n```\r\n\r\n**Expected behavior**\r\ncompile and run, print \"hello world\"\r\n"}}
{"actor":{"display_login":"WardenGnaw"}}