Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- * Executing task: C/C++: cl.exe build active file
- Starting build...
- cmd /c chcp 65001>nul && cl.exe /Zi /EHsc /nologo /FeF:\Data\P.Storage\Operations\Current\waiting\vscode_test\test1\test1_1.exe F:\Data\P.Storage\Operations\Current\waiting\vscode_test\test1\test1_1.cpp
- test1_1.cpp
- F:\Data\P.Storage\Operations\Current\waiting\vscode_test\test1\test1_1.cpp(11): error C2664: 'int MessageBoxA(HWND,LPCSTR,LPCSTR,UINT)': cannot convert argument 2 from 'const wchar_t [28]' to 'LPCSTR'
- F:\Data\P.Storage\Operations\Current\waiting\vscode_test\test1\test1_1.cpp(11): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or parenthesized function-style cast
- C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um\winuser.h(9172): note: see declaration of 'MessageBoxA'
- F:\Data\P.Storage\Operations\Current\waiting\vscode_test\test1\test1_1.cpp(11): note: while trying to match the argument list '(HWND, const wchar_t [28], const wchar_t [11], long)'
- F:\Data\P.Storage\Operations\Current\waiting\vscode_test\test1\test1_1.cpp(28): error C2664: 'HWND CreateWindowExA(DWORD,LPCSTR,LPCSTR,DWORD,int,int,int,int,HWND,HMENU,HINSTANCE,LPVOID)': cannot convert argument 3 from 'const wchar_t [13]' to 'LPCSTR'
- F:\Data\P.Storage\Operations\Current\waiting\vscode_test\test1\test1_1.cpp(28): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or parenthesized function-style cast
- C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um\winuser.h(4421): note: see declaration of 'CreateWindowExA'
- F:\Data\P.Storage\Operations\Current\waiting\vscode_test\test1\test1_1.cpp(28): note: while trying to match the argument list '(int, LPTSTR, const wchar_t [13], long, int, int, int, int, nullptr, nullptr, nullptr, nullptr)'
- F:\Data\P.Storage\Operations\Current\waiting\vscode_test\test1\test1_1.cpp(29): error C2664: 'HWND CreateWindowExA(DWORD,LPCSTR,LPCSTR,DWORD,int,int,int,int,HWND,HMENU,HINSTANCE,LPVOID)': cannot convert argument 3 from 'const wchar_t [6]' to 'LPCSTR'
- F:\Data\P.Storage\Operations\Current\waiting\vscode_test\test1\test1_1.cpp(29): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or parenthesized function-style cast
- C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um\winuser.h(4421): note: see declaration of 'CreateWindowExA'
- F:\Data\P.Storage\Operations\Current\waiting\vscode_test\test1\test1_1.cpp(29): note: while trying to match the argument list '(int, const char [7], const wchar_t [6], long, int, int, int, int, HWND, nullptr, nullptr, nullptr)'
- Build finished with error(s).
- * The terminal process failed to launch (exit code: -1).
- * Terminal will be reused by tasks, press any key to close it.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement