Advertisement
ACI-XCIX_0001

Untitled

Mar 31st, 2024
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.72 KB | None | 0 0
  1. * Executing task: C/C++: cl.exe build active file
  2.  
  3. Starting build...
  4. 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
  5. test1_1.cpp
  6. 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'
  7. 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
  8. C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um\winuser.h(9172): note: see declaration of 'MessageBoxA'
  9. 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)'
  10. 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'
  11. 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
  12. C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um\winuser.h(4421): note: see declaration of 'CreateWindowExA'
  13. 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)'
  14. 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'
  15. 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
  16. C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um\winuser.h(4421): note: see declaration of 'CreateWindowExA'
  17. 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)'
  18.  
  19. Build finished with error(s).
  20.  
  21. * The terminal process failed to launch (exit code: -1).
  22. * Terminal will be reused by tasks, press any key to close it.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement