Build error on win10
Jmos opened this issue · comments
Janos Meggyeshazi commented
x:_vlang2\ved>..\v .
recompilation with tcc failed; retrying with cc ...
C:/mingw-w64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: final link faile
d: Symbol needs debug section which does not exist
collect2.exe: error: ld returned 1 exit status
...
Whitetigle commented
Same here.
[windows 10]
[build V 0.1.30 3b94a2b]
d:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\workspace\ved\ved.exee collect2.exe: error: ld returned 1 exit status
Complete stack:
recompilation with tcc failed; retrying with cc ...
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:709:
D:\workspace\v\thirdparty\sokol/sokol_app.h:1272: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]
1272 | #pragma comment (linker, "/subsystem:windows")
|
D:\workspace\v\thirdparty\sokol/sokol_app.h:1275: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]
1275 | #pragma comment (lib, "user32.lib")
|
D:\workspace\v\thirdparty\sokol/sokol_app.h:1276: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]
1276 | #pragma comment (lib, "Shell32.lib")
|
D:\workspace\v\thirdparty\sokol/sokol_app.h:1283: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]
1283 | #pragma comment (lib, "gdi32.lib")
|
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:709:
D:\workspace\v\thirdparty\sokol/sokol_app.h: In function '_sapp_wgl_init':
D:\workspace\v\thirdparty\sokol/sokol_app.h:4831:31: warning: cast between incompatible function types from 'FARPROC' {] 4831 | _sapp.wgl.CreateContext = (PFN_wglCreateContext) GetProcAddress(_sapp.wgl.opengl32, "wglCreateContext");
| ^
D:\workspace\v\thirdparty\sokol/sokol_app.h:4833:31: warning: cast between incompatible function types from 'FARPROC' {] 4833 | _sapp.wgl.DeleteContext = (PFN_wglDeleteContext) GetProcAddress(_sapp.wgl.opengl32, "wglDeleteContext");
| ^
D:\workspace\v\thirdparty\sokol/sokol_app.h:4835:32: warning: cast between incompatible function types from 'FARPROC' {] 4835 | _sapp.wgl.GetProcAddress = (PFN_wglGetProcAddress) GetProcAddress(_sapp.wgl.opengl32, "wglGetProcAddress");
| ^
D:\workspace\v\thirdparty\sokol/sokol_app.h:4837:30: warning: cast between incompatible function types from 'FARPROC' {] 4837 | _sapp.wgl.GetCurrentDC = (PFN_wglGetCurrentDC) GetProcAddress(_sapp.wgl.opengl32, "wglGetCurrentDC");
| ^
D:\workspace\v\thirdparty\sokol/sokol_app.h:4839:29: warning: cast between incompatible function types from 'FARPROC' {] 4839 | _sapp.wgl.MakeCurrent = (PFN_wglMakeCurrent) GetProcAddress(_sapp.wgl.opengl32, "wglMakeCurrent");
| ^
D:\workspace\v\thirdparty\sokol/sokol_app.h: In function '_sapp_wgl_load_extensions':
D:\workspace\v\thirdparty\sokol/sokol_app.h:4930:40: warning: cast between incompatible function types from 'PROC' {aka] 4930 | _sapp.wgl.GetExtensionsStringEXT = (PFNWGLGETEXTENSIONSSTRINGEXTPROC) _sapp.wgl.GetProcAddress("wglGetExten; | ^
D:\workspace\v\thirdparty\sokol/sokol_app.h:4931:40: warning: cast between incompatible function types from 'PROC' {aka] 4931 | _sapp.wgl.GetExtensionsStringARB = (PFNWGLGETEXTENSIONSSTRINGARBPROC) _sapp.wgl.GetProcAddress("wglGetExten; | ^
D:\workspace\v\thirdparty\sokol/sokol_app.h:4932:41: warning: cast between incompatible function types from 'PROC' {aka] 4932 | _sapp.wgl.CreateContextAttribsARB = (PFNWGLCREATECONTEXTATTRIBSARBPROC) _sapp.wgl.GetProcAddress("wglCreate; | ^
D:\workspace\v\thirdparty\sokol/sokol_app.h:4933:33: warning: cast between incompatible function types from 'PROC' {aka] 4933 | _sapp.wgl.SwapIntervalEXT = (PFNWGLSWAPINTERVALEXTPROC) _sapp.wgl.GetProcAddress("wglSwapIntervalEXT");
| ^
D:\workspace\v\thirdparty\sokol/sokol_app.h:4934:43: warning: cast between incompatible function types from 'PROC' {aka] 4934 | _sapp.wgl.GetPixelFormatAttribivARB = (PFNWGLGETPIXELFORMATATTRIBIVARBPROC) _sapp.wgl.GetProcAddress("wglGe; | ^
D:\workspace\v\thirdparty\sokol/sokol_app.h: In function '_sapp_win32_wndproc':
D:\workspace\v\thirdparty\sokol/sokol_app.h:5402:28: warning: comparison of integer expressions of different signedness] 5402 | if (-1 == GetRawInputData(ri, RID_INPUT, &_sapp.win32.raw_input_data, &size, sizeof(RAWINPU{ | ^~
D:\workspace\v\thirdparty\sokol/sokol_app.h: In function '_sapp_win32_init_dpi':
D:\workspace\v\thirdparty\sokol/sokol_app.h:5551:33: warning: cast between incompatible function types from 'FARPROC' {] 5551 | fn_setprocessdpiaware = (SETPROCESSDPIAWARE_T) GetProcAddress(user32, "SetProcessDPIAware");
| ^
D:\workspace\v\thirdparty\sokol/sokol_app.h:5555:37: warning: cast between incompatible function types from 'FARPROC' {] 5555 | fn_setprocessdpiawareness = (SETPROCESSDPIAWARENESS_T) GetProcAddress(shcore, "SetProcessDpiAwareness"); | ^
D:\workspace\v\thirdparty\sokol/sokol_app.h:5556:31: warning: cast between incompatible function types from 'FARPROC' {] 5556 | fn_getdpiformonitor = (GETDPIFORMONITOR_T) GetProcAddress(shcore, "GetDpiForMonitor");
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'os__setenv':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:10865:26: warning: pointer targets in passing arg]10865 | return _putenv(format.str);
| ~~~~~~^~~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:161:
d:\mingw64\x86_64-w64-mingw32\include\stdlib.h:607:43: note: expected 'const char *' but argument is of type 'byteptr' } 607 | _CRTIMP int __cdecl _putenv(const char *_EnvString);
| ~~~~~~~~~~~~^~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:10870:27: warning: pointer targets in passing arg]10870 | return _putenv(format.str);
| ~~~~~~^~~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:161:
d:\mingw64\x86_64-w64-mingw32\include\stdlib.h:607:43: note: expected 'const char *' but argument is of type 'byteptr' } 607 | _CRTIMP int __cdecl _putenv(const char *_EnvString);
| ~~~~~~~~~~~~^~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'os__unsetenv':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:10887:24: warning: pointer targets in passing arg]10887 | return _putenv(format.str);
| ~~~~~~^~~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:161:
d:\mingw64\x86_64-w64-mingw32\include\stdlib.h:607:43: note: expected 'const char *' but argument is of type 'byteptr' } 607 | _CRTIMP int __cdecl _putenv(const char *_EnvString);
| ~~~~~~~~~~~~^~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'os__executable':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:12075:13: warning: comparison between pointer andr12075 | if (file != -1) {
| ^~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'os__real_path':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:12265:30: warning: pointer targets in passing arg]12265 | ret = ((charptr)(_fullpath(fullpath, fpath.str, _const_os__max_path_len)));
| ^~~~~~~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:161:
d:\mingw64\x86_64-w64-mingw32\include\stdlib.h:612:41: note: expected 'char *' but argument is of type 'byteptr' {aka '} 612 | _CRTIMP char *__cdecl _fullpath(char *_FullPath,const char *_Path,size_t _SizeInBytes);
| ~~~~~~^~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:12265:45: warning: pointer targets in passing arg]12265 | ret = ((charptr)(_fullpath(fullpath, fpath.str, _const_os__max_path_len)));
| ~~~~~^~~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:161:
d:\mingw64\x86_64-w64-mingw32\include\stdlib.h:612:63: note: expected 'const char *' but argument is of type 'byteptr' } 612 | _CRTIMP char *__cdecl _fullpath(char *_FullPath,const char *_Path,size_t _SizeInBytes);
| ~~~~~~~~~~~~^~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'time__init_win_time_freq':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:13685:28: warning: passing argument 1 of 'QueryPe]13685 | QueryPerformanceFrequency(&f);
| ^~
| |
| u64 * {aka long long unsigned int *}
In file included from d:\mingw64\x86_64-w64-mingw32\include\winbase.h:31,
from d:\mingw64\x86_64-w64-mingw32\include\windows.h:70,
from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:357:
d:\mingw64\x86_64-w64-mingw32\include\profileapi.h:17:71: note: expected 'LARGE_INTEGER *' but argument is of type 'u64} 17 | WINBASEAPI WINBOOL WINAPI QueryPerformanceFrequency (LARGE_INTEGER *lpFrequency);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'time__init_win_time_start':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:13691:26: warning: passing argument 1 of 'QueryPe]13691 | QueryPerformanceCounter(&s);
| ^~
| |
| u64 * {aka long long unsigned int *}
In file included from d:\mingw64\x86_64-w64-mingw32\include\winbase.h:31,
from d:\mingw64\x86_64-w64-mingw32\include\windows.h:70,
from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:357:
d:\mingw64\x86_64-w64-mingw32\include\profileapi.h:16:69: note: expected 'LARGE_INTEGER *' but argument is of type 'u64} 16 | WINBASEAPI WINBOOL WINAPI QueryPerformanceCounter (LARGE_INTEGER *lpPerformanceCount);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'time__sys_mono_now':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:13697:26: warning: passing argument 1 of 'QueryPe]13697 | QueryPerformanceCounter(&tm);
| ^~~
| |
| u64 * {aka long long unsigned int *}
In file included from d:\mingw64\x86_64-w64-mingw32\include\winbase.h:31,
from d:\mingw64\x86_64-w64-mingw32\include\windows.h:70,
from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:357:
d:\mingw64\x86_64-w64-mingw32\include\profileapi.h:16:69: note: expected 'LARGE_INTEGER *' but argument is of type 'u64} 16 | WINBASEAPI WINBOOL WINAPI QueryPerformanceCounter (LARGE_INTEGER *lpPerformanceCount);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'time__vpc_now':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:13704:26: warning: passing argument 1 of 'QueryPe]13704 | QueryPerformanceCounter(&tm);
| ^~~
| |
| u64 * {aka long long unsigned int *}
In file included from d:\mingw64\x86_64-w64-mingw32\include\winbase.h:31,
from d:\mingw64\x86_64-w64-mingw32\include\windows.h:70,
from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:357:
d:\mingw64\x86_64-w64-mingw32\include\profileapi.h:16:69: note: expected 'LARGE_INTEGER *' but argument is of type 'u64} 16 | WINBASEAPI WINBOOL WINAPI QueryPerformanceCounter (LARGE_INTEGER *lpPerformanceCount);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'time__to_local_time':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:13726:50: warning: passing argument 2 of 'SystemT]13726 | SystemTimeToTzSpecificLocalTime(((voidptr)(0)), &st_utc, &st_local);
| ^~~~~~~
| |
| time__SystemTime *
In file included from d:\mingw64\x86_64-w64-mingw32\include\winbase.h:2546,
from d:\mingw64\x86_64-w64-mingw32\include\windows.h:70,
from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:357:
d:\mingw64\x86_64-w64-mingw32\include\timezoneapi.h:43:132: note: expected 'const SYSTEMTIME *' but argument is of type' 43 | WINBASEAPI WINBOOL WINAPI SystemTimeToTzSpecificLocalTime (CONST TIME_ZONE_INFORMATION *lpTimeZoneInformation; | ^C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:13726:59: warning: passing argument 3 of 'SystemT]13726 | SystemTimeToTzSpecificLocalTime(((voidptr)(0)), &st_utc, &st_local);
| ^~~~~~~~~
| |
| time__SystemTime *
In file included from d:\mingw64\x86_64-w64-mingw32\include\winbase.h:2546,
from d:\mingw64\x86_64-w64-mingw32\include\windows.h:70,
from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:357:
d:\mingw64\x86_64-w64-mingw32\include\timezoneapi.h:43:162: note: expected 'LPSYSTEMTIME' {aka 'struct _SYSTEMTIME *'} ' 43 | WINBASEAPI WINBOOL WINAPI SystemTimeToTzSpecificLocalTime (CONST TIME_ZONE_INFORMATION *lpTimeZoneInformation; | ~C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'time__win_now':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:13749:32: warning: passing argument 2 of 'FileTim]13749 | FileTimeToSystemTime(&ft_utc, &st_utc);
| ^~~~~~~
| |
| time__SystemTime *
In file included from d:\mingw64\x86_64-w64-mingw32\include\winbase.h:2546,
from d:\mingw64\x86_64-w64-mingw32\include\windows.h:70,
from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:357:
d:\mingw64\x86_64-w64-mingw32\include\timezoneapi.h:45:92: note: expected 'LPSYSTEMTIME' {aka 'struct _SYSTEMTIME *'} b' 45 | WINBASEAPI WINBOOL WINAPI FileTimeToSystemTime (CONST FILETIME *lpFileTime, LPSYSTEMTIME lpSystemTime);
| ~~~~~~~~~~~~~^~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:13751:50: warning: passing argument 2 of 'SystemT]13751 | SystemTimeToTzSpecificLocalTime(((voidptr)(0)), &st_utc, &st_local);
| ^~~~~~~
| |
| time__SystemTime *
In file included from d:\mingw64\x86_64-w64-mingw32\include\winbase.h:2546,
from d:\mingw64\x86_64-w64-mingw32\include\windows.h:70,
from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:357:
d:\mingw64\x86_64-w64-mingw32\include\timezoneapi.h:43:132: note: expected 'const SYSTEMTIME *' but argument is of type' 43 | WINBASEAPI WINBOOL WINAPI SystemTimeToTzSpecificLocalTime (CONST TIME_ZONE_INFORMATION *lpTimeZoneInformation; | ^C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:13751:59: warning: passing argument 3 of 'SystemT]13751 | SystemTimeToTzSpecificLocalTime(((voidptr)(0)), &st_utc, &st_local);
| ^~~~~~~~~
| |
| time__SystemTime *
In file included from d:\mingw64\x86_64-w64-mingw32\include\winbase.h:2546,
from d:\mingw64\x86_64-w64-mingw32\include\windows.h:70,
from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:357:
d:\mingw64\x86_64-w64-mingw32\include\timezoneapi.h:43:162: note: expected 'LPSYSTEMTIME' {aka 'struct _SYSTEMTIME *'} ' 43 | WINBASEAPI WINBOOL WINAPI SystemTimeToTzSpecificLocalTime (CONST TIME_ZONE_INFORMATION *lpTimeZoneInformation; | ~C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'time__win_utc':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:13774:32: warning: passing argument 2 of 'FileTim]13774 | FileTimeToSystemTime(&ft_utc, &st_utc);
| ^~~~~~~
| |
| time__SystemTime *
In file included from d:\mingw64\x86_64-w64-mingw32\include\winbase.h:2546,
from d:\mingw64\x86_64-w64-mingw32\include\windows.h:70,
from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:357:
d:\mingw64\x86_64-w64-mingw32\include\timezoneapi.h:45:92: note: expected 'LPSYSTEMTIME' {aka 'struct _SYSTEMTIME *'} b' 45 | WINBASEAPI WINBOOL WINAPI FileTimeToSystemTime (CONST FILETIME *lpFileTime, LPSYSTEMTIME lpSystemTime);
| ~~~~~~~~~~~~~^~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'C__FONScontext_get_font_by_name':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:13984:30: warning: pointer targets in passing arg]13984 | return fonsGetFontByName(s, name);
| ^~~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:665:
D:\workspace\v\thirdparty\fontstash/fontstash.h:955:51: note: expected 'const char *' but argument is of type 'byteptr'} 955 | int fonsGetFontByName(FONScontext* s, const char* name)
| ~~~~~~~~~~~~^~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'C__FONScontext_add_font_mem':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:13994:27: warning: pointer targets in passing arg]13994 | return fonsAddFontMem(s, name, data, data_size, free_data);
| ^~~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:665:
D:\workspace\v\thirdparty\fontstash/fontstash.h:912:52: note: expected 'const char *' but argument is of type 'byteptr'} 912 | int fonsAddFontMem(FONScontext* stash, const char* name, unsigned char* data, int dataSize, int freeData)
| ~~~~~~~~~~~~^~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'C__FONScontext_draw_text':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14044:31: warning: pointer targets in passing arg]14044 | return fonsDrawText(s, x, y, str, end);
| ^~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:665:
D:\workspace\v\thirdparty\fontstash/fontstash.h:1272:20: note: expected 'const char *' but argument is of type 'byteptr} 1272 | const char* str, const char* end)
| ~~~~~~~~~~~~^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14044:36: warning: pointer targets in passing arg]14044 | return fonsDrawText(s, x, y, str, end);
| ^~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:665:
D:\workspace\v\thirdparty\fontstash/fontstash.h:1272:37: note: expected 'const char *' but argument is of type 'byteptr} 1272 | const char* str, const char* end)
| ~~~~~~~~~~~~^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'C__FONScontext_text_bounds':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14049:33: warning: pointer targets in passing arg]14049 | return fonsTextBounds(s, x, y, str, end, bounds);
| ^~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:665:
D:\workspace\v\thirdparty\fontstash/fontstash.h:1456:19: note: expected 'const char *' but argument is of type 'byteptr} 1456 | const char* str, const char* end,
| ~~~~~~~~~~~~^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14049:38: warning: pointer targets in passing arg]14049 | return fonsTextBounds(s, x, y, str, end, bounds);
| ^~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:665:
D:\workspace\v\thirdparty\fontstash/fontstash.h:1456:36: note: expected 'const char *' but argument is of type 'byteptr} 1456 | const char* str, const char* end,
| ~~~~~~~~~~~~^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'C__FONScontext_text_iter_init':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14064:41: warning: pointer targets in passing arg]14064 | return fonsTextIterInit(s, iter, x, y, str, end);
| ^~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:665:
D:\workspace\v\thirdparty\fontstash/fontstash.h:1335:37: note: expected 'const char *' but argument is of type 'byteptr} 1335 | float x, float y, const char* str, const char* end)
| ~~~~~~~~~~~~^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14064:46: warning: pointer targets in passing arg]14064 | return fonsTextIterInit(s, iter, x, y, str, end);
| ^~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:665:
D:\workspace\v\thirdparty\fontstash/fontstash.h:1335:54: note: expected 'const char *' but argument is of type 'byteptr} 1335 | float x, float y, const char* str, const char* end)
| ~~~~~~~~~~~~^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'C__FONScontext_get_texture_data':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14074:9: warning: return discards 'const' qualifi]14074 | return fonsGetTextureData(s, width, height);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'stbi__load':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14419:27: warning: pointer targets in passing arg]14419 | res.data = stbi_load(path.str, &res.width, &res.height, &res.nr_channels, flag);
| ~~~~^~~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:693:
D:\workspace\v\thirdparty\stb_image/stb_image.h:400:52: note: expected 'const char *' but argument is of type 'byteptr'} 400 | STBIDEF stbi_uc *stbi_load (char const *filename, int *x, int *y, int *channels_in_file, int desired; | ~~~~~~~~~~~~^~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'clipboard__new_clipboard':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14546:22: warning: passing argument 1 of 'Registe]14546 | if (RegisterClassEx(&wndclass) == 0 && GetLastError() != ((u32)(ERROR_CLASS_ALREADY_EXISTS))) {
| ^~~~~~~~~
| |
| clipboard__WndClassEx *
In file included from d:\mingw64\x86_64-w64-mingw32\include\windef.h:9,
from d:\mingw64\x86_64-w64-mingw32\include\windows.h:69,
from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:357:
d:\mingw64\x86_64-w64-mingw32\include\winuser.h:2156:44: note: expected 'const WNDCLASSEXW *' {aka 'const struct tagWND' 2156 | WINUSERAPI ATOM WINAPI RegisterClassExW (CONST WNDCLASSEXW *);
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14549:15: warning: initialization of 'struct HWND]14549 | HWND* hwnd = CreateWindowEx(0, wndclass.lpsz_class_name, wndclass.lpsz_class_name, 0, 0, 0, 0, 0, HWND_MESSAGE; | ^~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14553:11: warning: assignment to 'HWND' {aka 'str]14553 | cb->hwnd = hwnd;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'clipboard__to_wide':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14580:76: warning: pointer targets in passing arg]14580 | int len_required = MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, text.str, text.len + 1, NULL, 0);
| ~~~~^~~~
| |
| byteptr {aka unsigned char *}
In file included from d:\mingw64\x86_64-w64-mingw32\include\winnls.h:886,
from d:\mingw64\x86_64-w64-mingw32\include\windows.h:73,
from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:357:
d:\mingw64\x86_64-w64-mingw32\include\stringapiset.h:41:82: note: expected 'LPCCH' {aka 'const char *'} but argument is} 41 | WINBASEAPI int WINAPI MultiByteToWideChar (UINT CodePage, DWORD dwFlags, LPCCH lpMultiByteStr, int cbMultiByt; | ~~~~~~^~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14584:58: warning: pointer targets in passing arg]14584 | MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, text.str, text.len + 1, locked, len_required);
| ~~~~^~~~
| |
| byteptr {aka unsigned char *}
In file included from d:\mingw64\x86_64-w64-mingw32\include\winnls.h:886,
from d:\mingw64\x86_64-w64-mingw32\include\windows.h:73,
from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:357:
d:\mingw64\x86_64-w64-mingw32\include\stringapiset.h:41:82: note: expected 'LPCCH' {aka 'const char *'} but argument is} 41 | WINBASEAPI int WINAPI MultiByteToWideChar (UINT CodePage, DWORD dwFlags, LPCCH lpMultiByteStr, int cbMultiByt; | ~~~~~~^~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'sokol__gfx__query_backend':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14774:9: warning: implicit conversion from 'sg_ba]14774 | return sg_query_backend();
| ^~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'sokol__gfx__query_pixelformat':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14789:30: warning: implicit conversion from 'soko]14789 | return sg_query_pixelformat(fmt);
| ^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'sokol__gfx__query_buffer_defaults':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14844:34: warning: passing argument 1 of 'sg_quer]14844 | return sg_query_buffer_defaults(desc);
| ^~~~
| |
| struct sg_buffer *
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:727:
D:\workspace\v\thirdparty\sokol/sokol_gfx.h:14793:78: note: expected 'const sg_buffer_desc *' but argument is of type ''14793 | SOKOL_API_IMPL sg_buffer_desc sg_query_buffer_defaults(const sg_buffer_desc* desc) {
| ~~~~~~~~~~~~~~~~~~~~~~^~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'sokol__gfx__query_image_defaults':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14849:33: warning: passing argument 1 of 'sg_quer]14849 | return sg_query_image_defaults(desc);
| ^~~~
| |
| struct sg_image *
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:727:
D:\workspace\v\thirdparty\sokol/sokol_gfx.h:14798:75: note: expected 'const sg_image_desc *' but argument is of type 's'14798 | SOKOL_API_IMPL sg_image_desc sg_query_image_defaults(const sg_image_desc* desc) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'sokol__gfx__query_shader_defaults':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14854:34: warning: passing argument 1 of 'sg_quer]14854 | return sg_query_shader_defaults(desc);
| ^~~~
| |
| struct sg_shader *
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:727:
D:\workspace\v\thirdparty\sokol/sokol_gfx.h:14803:78: note: expected 'const sg_shader_desc *' but argument is of type ''14803 | SOKOL_API_IMPL sg_shader_desc sg_query_shader_defaults(const sg_shader_desc* desc) {
| ~~~~~~~~~~~~~~~~~~~~~~^~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'sokol__gfx__query_pipeline_defaults:C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14859:36: warning: passing argument 1 of 'sg_quer]14859 | return sg_query_pipeline_defaults(desc);
| ^~~~
| |
| struct sg_pipeline *
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:727:
D:\workspace\v\thirdparty\sokol/sokol_gfx.h:14808:84: note: expected 'const sg_pipeline_desc *' but argument is of type'14808 | SOKOL_API_IMPL sg_pipeline_desc sg_query_pipeline_defaults(const sg_pipeline_desc* desc) {
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'sokol__gfx__query_pass_defaults':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14864:32: warning: passing argument 1 of 'sg_quer]14864 | return sg_query_pass_defaults(desc);
| ^~~~
| |
| struct sg_pass *
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:727:
D:\workspace\v\thirdparty\sokol/sokol_gfx.h:14813:72: note: expected 'const sg_pass_desc *' but argument is of type 'st'14813 | SOKOL_API_IMPL sg_pass_desc sg_query_pass_defaults(const sg_pass_desc* desc) {
| ~~~~~~~~~~~~~~~~~~~~^~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'C__sg_shader_desc_set_vert_src':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14911:18: warning: pointer targets in assignment ]14911 | desc->vs.source = src.str;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'C__sg_shader_desc_set_frag_src':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14916:18: warning: pointer targets in assignment ]14916 | desc->fs.source = src.str;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'C__sg_shader_desc_set_vert_image':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14921:30: warning: pointer targets in assignment ]14921 | desc->vs.images[index].name = name.str;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14922:30: warning: implicit conversion from 'enum]14922 | desc->vs.images[index].type = sokol__gfx__ImageType__2d;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'C__sg_shader_desc_set_frag_image':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14927:30: warning: pointer targets in assignment ]14927 | desc->fs.images[index].name = name.str;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14928:30: warning: implicit conversion from 'enum]14928 | desc->fs.images[index].type = sokol__gfx__ImageType__2d;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'C__sg_shader_desc_set_vert_uniform':C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14943:68: warning: pointer targets in assignment ]14943 | desc->vs.uniform_blocks[block_index].uniforms[uniform_index].name = name.str;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14944:68: warning: implicit conversion from 'soko]14944 | desc->vs.uniform_blocks[block_index].uniforms[uniform_index].type = type;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'C__sg_shader_desc_set_frag_uniform':C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14949:68: warning: pointer targets in assignment ]14949 | desc->fs.uniform_blocks[block_index].uniforms[uniform_index].name = name.str;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14950:68: warning: implicit conversion from 'soko]14950 | desc->fs.uniform_blocks[block_index].uniforms[uniform_index].type = type;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'C__sg_shader_stage_desc_set_image':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14959:27: warning: pointer targets in assignment ]14959 | desc->images[index].name = name.str;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:14960:27: warning: implicit conversion from 'enum]14960 | desc->images[index].type = sokol__gfx__ImageType__2d;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'sokol__sapp__create_desc':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15012:139: warning: initialization of 'const void]15012 | struct sg_mtl_context_desc mtl_desc = (struct sg_mtl_context_desc){.device = sokol__sapp__metal_get_device(),.; | ~C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15012:139: note: (near initialization for '(anony)C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15012:199: warning: initialization of 'const void]15012 | struct sg_mtl_context_desc mtl_desc = (struct sg_mtl_context_desc){.device = sokol__sapp__metal_get_device(),.; | ~C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15012:199: note: (near initialization for '(anony)C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15013:200: warning: initialization of 'const void]15013 | struct sg_d3d11_context_desc d3d11_desc = (struct sg_d3d11_context_desc){.device = sokol__sapp__d3d11_get_devi; | ~C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15013:200: note: (near initialization for '(anony)C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15013:267: warning: initialization of 'const void]15013 | struct sg_d3d11_context_desc d3d11_desc = (struct sg_d3d11_context_desc){.device = sokol__sapp__d3d11_get_devi; | ~C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15013:267: note: (near initialization for '(anony)C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'sokol__sapp__set_clipboard_string':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15099:28: warning: pointer targets in passing arg]15099 | sapp_set_clipboard_string(str);
| ^~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:709:
D:\workspace\v\thirdparty\sokol/sokol_app.h:9498:59: note: expected 'const char *' but argument is of type 'byteptr' {a} 9498 | SOKOL_API_IMPL void sapp_set_clipboard_string(const char* str) {
| ~~~~~~~~~~~~^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'sokol__sapp__get_clipboard_string':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15104:9: warning: return discards 'const' qualifi]15104 | return sapp_get_clipboard_string();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'sokol__sapp__metal_get_device':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15125:9: warning: return discards 'const' qualifi]15125 | return sapp_metal_get_device();
| ^~~~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'sokol__sapp__metal_get_renderpass_d:C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15130:9: warning: return discards 'const' qualifi]15130 | return sapp_metal_get_renderpass_descriptor();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'sokol__sapp__metal_get_drawable':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15135:9: warning: return discards 'const' qualifi]15135 | return sapp_metal_get_drawable();
| ^~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'sokol__sapp__macos_get_window':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15140:9: warning: return discards 'const' qualifi]15140 | return sapp_macos_get_window();
| ^~~~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'sokol__sapp__ios_get_window':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15145:9: warning: return discards 'const' qualifi]15145 | return sapp_ios_get_window();
| ^~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'sokol__sapp__d3d11_get_device':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15150:9: warning: return discards 'const' qualifi]15150 | return sapp_d3d11_get_device();
| ^~~~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'sokol__sapp__d3d11_get_device_conte:C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15155:9: warning: return discards 'const' qualifi]15155 | return sapp_d3d11_get_device_context();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'sokol__sapp__d3d11_get_render_targe:C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15160:9: warning: return discards 'const' qualifi]15160 | return sapp_d3d11_get_render_target_view();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'sokol__sapp__d3d11_get_depth_stenci:C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15165:9: warning: return discards 'const' qualifi]15165 | return sapp_d3d11_get_depth_stencil_view();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'sokol__sapp__win32_get_hwnd':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15170:9: warning: return discards 'const' qualifi]15170 | return sapp_win32_get_hwnd();
| ^~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'sokol__sapp__android_get_native_act:C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15175:9: warning: return discards 'const' qualifi]15175 | return sapp_android_get_native_activity();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'C__sapp_event_str':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15179:106: warning: implicit conversion from 'sap]15179 | return _STR("evt: frame_count=%"PRIu64"\000, type=%.*s", 2, e->frame_count, sokol__sapp__EventType_str(e->type; | ~^~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'gg__gg_init_sokol_window':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15561:8: warning: extra tokens at end of #endif d]15561 | #endif;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'gg__new_context':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15694:24: warning: initialization of 'void (*)(co]15694 | .event_userdata_cb = gg__gg_event_fn,
| ^~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15694:24: note: (near initialization for '(anonym)C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15695:23: warning: initialization of 'void (*)(co]15695 | .fail_userdata_cb = gg__gg_fail_fn,
| ^~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15695:23: note: (near initialization for '(anonym)C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15703:19: warning: pointer targets in initializat]15703 | .window_title = cfg.window_title.str,
| ^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15703:19: note: (near initialization for '(anonym)C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15707:24: warning: pointer targets in initializat]15707 | .html5_canvas_name = cfg.window_title.str,
| ^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:15707:24: note: (near initialization for '(anonym)C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'gg__Image_init_sokol_image':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:16131:3: warning: braces around scalar initializer16131 | .depth = {0},
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:16131:3: note: (near initialization for '(anonymo)C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:16138:13: warning: implicit conversion from 'enum]16138 | .wrap_u = sokol__gfx__Wrap_clamp_to_edge,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:16139:13: warning: implicit conversion from 'enum]16139 | .wrap_v = sokol__gfx__Wrap_clamp_to_edge,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:16146:12: warning: pointer targets in initializat]16146 | .label = ((byte*)(0)),
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:16146:12: note: (near initialization for '(anonym)C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'gg__Context_draw_text':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:16327:57: warning: pointer targets in passing arg]16327 | fonsDrawText(ctx->ft->fons, x * scale, y * scale, text_.str, 0);
| ~~~~~^~~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:665:
D:\workspace\v\thirdparty\fontstash/fontstash.h:1272:20: note: expected 'const char *' but argument is of type 'byteptr} 1272 | const char* str, const char* end)
| ~~~~~~~~~~~~^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'gg__Context_text_width':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:16343:39: warning: pointer targets in passing arg]16343 | fonsTextBounds(ctx->ft->fons, 0, 0, s.str, 0, buf);
| ~^~~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:665:
D:\workspace\v\thirdparty\fontstash/fontstash.h:1456:19: note: expected 'const char *' but argument is of type 'byteptr} 1456 | const char* str, const char* end,
| ~~~~~~~~~~~~^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'gg__Context_text_height':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:16355:39: warning: pointer targets in passing arg]16355 | fonsTextBounds(ctx->ft->fons, 0, 0, s.str, 0, buf);
| ~^~~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:665:
D:\workspace\v\thirdparty\fontstash/fontstash.h:1456:19: note: expected 'const char *' but argument is of type 'byteptr} 1456 | const char* str, const char* end,
| ~~~~~~~~~~~~^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'gg__Context_text_size':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:16364:39: warning: pointer targets in passing arg]16364 | fonsTextBounds(ctx->ft->fons, 0, 0, s.str, 0, buf);
| ~^~~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:665:
D:\workspace\v\thirdparty\fontstash/fontstash.h:1456:19: note: expected 'const char *' but argument is of type 'byteptr} 1456 | const char* str, const char* end,
| ~~~~~~~~~~~~^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'main__main':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:17109:15: warning: initialization of 'void (*)(vo]17109 | .frame_fn = main__frame,
| ^~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:17109:15: note: (near initialization for '(anonym)C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:17112:15: warning: initialization of 'void (*)(vo]17112 | .event_fn = main__on_event,
| ^~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:17112:15: note: (near initialization for '(anonym)C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:17113:17: warning: initialization of 'void (*)(so]17113 | .keydown_fn = main__key_down,
| ^~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:17113:17: note: (near initialization for '(anonym)C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:17114:14: warning: initialization of 'void (*)(u3]17114 | .char_fn = main__on_char,
| ^~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:17114:14: note: (near initialization for '(anonym)C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:17185:20: warning: cast between incompatible func]17185 | CreateThread(0,0, (LPTHREAD_START_ROUTINE)main__Ved_loop_thread_wrapper, arg__t312, 0,0);
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'main__Ved_key_normal':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:17902:22: warning: cast between incompatible func]17902 | CreateThread(0,0, (LPTHREAD_START_ROUTINE)main__Ved_build_app2_thread_wrapper, arg__t325, 0,0);
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'main__Ved_key_u':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:18452:21: warning: cast between incompatible func]18452 | CreateThread(0,0, (LPTHREAD_START_ROUTINE)main__Ved_build_app1_thread_wrapper, arg__t357, 0,0);
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'main__View_save_file':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:18692:20: warning: cast between incompatible func]18692 | CreateThread(0,0, (LPTHREAD_START_ROUTINE)main__View_format_file_thread_wrapper, arg__t376, 0,0);
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'wWinMain':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:19451:40: warning: cast between incompatible func]19451 | cmd_line_to_argv CommandLineToArgvW = (cmd_line_to_argv)GetProcAddress(shell32_module, "CommandLineToArgvW");
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:19455:51: warning: passing argument 2 of 'os__ini]19455 | _const_os__args = os__init_os_args_wide(___argc, ___argv);
| ^~~~~~~
| |
| wchar_t ** {aka short unsigned int **}
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:12550:55: note: expected 'unsigned char **' but a}C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c: In function 'os__file_size':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.16746030501426018708.tmp.c:11279:10: warning: 's.st_size' is used uninitiali]11279 | return s.st_size;
| ~^~~~~~~~
d:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\whitetigle\.vmo:d:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\whitetigle\.vmo:<command line>:(.text+0xce2c): undefined reference to `__chkstk'
d:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\whitetigle\.vmo:<command line>:(.text+0xcf38): undefined reference to `__chkstk'
d:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\whitetigle\.vmo:<command line>:(.text+0xcfd4): undefined reference to `__chkstk'
d:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\whitetigle\.vmo:<command line>:(.text+0xd0e4): undefined reference to `__chkstk'
d:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\whitetigle\.vmowd:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\workspace\ved\ved.exeecollect2.exe: error: ld returned 1 exit status
builder error:
==================
C error. This should never happen.
If you were not working with C interop, please raise an issue on GitHub:
https://github.com/vlang/v/issues/new/choose
You can also use #help on Discord: https://discord.gg/vlang
PS D:\workspace\ved>
PS D:\workspace\ved> gcc --version
gcc.exe (MinGW-W64 x86_64-posix-seh, built by Brecht Sanders) 10.2.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
PS D:\workspace\ved> v .
recompilation with tcc failed; retrying with cc ...
==================
d:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\workspace\ved\ved.exeecollect2.exe: error: ld returned 1 exit status
...
==================
(Use `v -cg` to print the entire error message)
builder error:
==================
C error. This should never happen.
If you were not working with C interop, please raise an issue on GitHub:
https://github.com/vlang/v/issues/new/choose
You can also use #help on Discord: https://discord.gg/vlang
PS D:\workspace\ved> v . -cg
recompilation with tcc failed; retrying with cc ...
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:709:
D:\workspace\v\thirdparty\sokol/sokol_app.h:1272: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]
1272 | #pragma comment (linker, "/subsystem:windows")
|
D:\workspace\v\thirdparty\sokol/sokol_app.h:1275: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]
1275 | #pragma comment (lib, "user32.lib")
|
D:\workspace\v\thirdparty\sokol/sokol_app.h:1276: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]
1276 | #pragma comment (lib, "Shell32.lib")
|
D:\workspace\v\thirdparty\sokol/sokol_app.h:1283: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]
1283 | #pragma comment (lib, "gdi32.lib")
|
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:709:
D:\workspace\v\thirdparty\sokol/sokol_app.h: In function '_sapp_wgl_init':
D:\workspace\v\thirdparty\sokol/sokol_app.h:4831:31: warning: cast between incompatible function types from 'FARPROC' {]
4831 | _sapp.wgl.CreateContext = (PFN_wglCreateContext) GetProcAddress(_sapp.wgl.opengl32, "wglCreateContext");
| ^
D:\workspace\v\thirdparty\sokol/sokol_app.h:4833:31: warning: cast between incompatible function types from 'FARPROC' {]
4833 | _sapp.wgl.DeleteContext = (PFN_wglDeleteContext) GetProcAddress(_sapp.wgl.opengl32, "wglDeleteContext");
| ^
D:\workspace\v\thirdparty\sokol/sokol_app.h:4835:32: warning: cast between incompatible function types from 'FARPROC' {]
4835 | _sapp.wgl.GetProcAddress = (PFN_wglGetProcAddress) GetProcAddress(_sapp.wgl.opengl32, "wglGetProcAddress");
| ^
D:\workspace\v\thirdparty\sokol/sokol_app.h:4837:30: warning: cast between incompatible function types from 'FARPROC' {]
4837 | _sapp.wgl.GetCurrentDC = (PFN_wglGetCurrentDC) GetProcAddress(_sapp.wgl.opengl32, "wglGetCurrentDC");
| ^
D:\workspace\v\thirdparty\sokol/sokol_app.h:4839:29: warning: cast between incompatible function types from 'FARPROC' {]
4839 | _sapp.wgl.MakeCurrent = (PFN_wglMakeCurrent) GetProcAddress(_sapp.wgl.opengl32, "wglMakeCurrent");
| ^
D:\workspace\v\thirdparty\sokol/sokol_app.h: In function '_sapp_wgl_load_extensions':
D:\workspace\v\thirdparty\sokol/sokol_app.h:4930:40: warning: cast between incompatible function types from 'PROC' {aka]
4930 | _sapp.wgl.GetExtensionsStringEXT = (PFNWGLGETEXTENSIONSSTRINGEXTPROC) _sapp.wgl.GetProcAddress("wglGetExten;
| ^
D:\workspace\v\thirdparty\sokol/sokol_app.h:4931:40: warning: cast between incompatible function types from 'PROC' {aka]
4931 | _sapp.wgl.GetExtensionsStringARB = (PFNWGLGETEXTENSIONSSTRINGARBPROC) _sapp.wgl.GetProcAddress("wglGetExten;
| ^
D:\workspace\v\thirdparty\sokol/sokol_app.h:4932:41: warning: cast between incompatible function types from 'PROC' {aka]
4932 | _sapp.wgl.CreateContextAttribsARB = (PFNWGLCREATECONTEXTATTRIBSARBPROC) _sapp.wgl.GetProcAddress("wglCreate;
| ^
D:\workspace\v\thirdparty\sokol/sokol_app.h:4933:33: warning: cast between incompatible function types from 'PROC' {aka]
4933 | _sapp.wgl.SwapIntervalEXT = (PFNWGLSWAPINTERVALEXTPROC) _sapp.wgl.GetProcAddress("wglSwapIntervalEXT");
| ^
D:\workspace\v\thirdparty\sokol/sokol_app.h:4934:43: warning: cast between incompatible function types from 'PROC' {aka]
4934 | _sapp.wgl.GetPixelFormatAttribivARB = (PFNWGLGETPIXELFORMATATTRIBIVARBPROC) _sapp.wgl.GetProcAddress("wglGe;
| ^
D:\workspace\v\thirdparty\sokol/sokol_app.h: In function '_sapp_win32_wndproc':
D:\workspace\v\thirdparty\sokol/sokol_app.h:5402:28: warning: comparison of integer expressions of different signedness]
5402 | if (-1 == GetRawInputData(ri, RID_INPUT, &_sapp.win32.raw_input_data, &size, sizeof(RAWINPU{
| ^~
D:\workspace\v\thirdparty\sokol/sokol_app.h: In function '_sapp_win32_init_dpi':
D:\workspace\v\thirdparty\sokol/sokol_app.h:5551:33: warning: cast between incompatible function types from 'FARPROC' {]
5551 | fn_setprocessdpiaware = (SETPROCESSDPIAWARE_T) GetProcAddress(user32, "SetProcessDPIAware");
| ^
D:\workspace\v\thirdparty\sokol/sokol_app.h:5555:37: warning: cast between incompatible function types from 'FARPROC' {]
5555 | fn_setprocessdpiawareness = (SETPROCESSDPIAWARENESS_T) GetProcAddress(shcore, "SetProcessDpiAwareness");
| ^
D:\workspace\v\thirdparty\sokol/sokol_app.h:5556:31: warning: cast between incompatible function types from 'FARPROC' {]
5556 | fn_getdpiformonitor = (GETDPIFORMONITOR_T) GetProcAddress(shcore, "GetDpiForMonitor");
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'os__setenv':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:10865:26: warning: pointer targets in passing argu]
10865 | return _putenv(format.str);
| ~~~~~~^~~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:161:
d:\mingw64\x86_64-w64-mingw32\include\stdlib.h:607:43: note: expected 'const char *' but argument is of type 'byteptr' }
607 | _CRTIMP int __cdecl _putenv(const char *_EnvString);
| ~~~~~~~~~~~~^~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:10870:27: warning: pointer targets in passing argu]
10870 | return _putenv(format.str);
| ~~~~~~^~~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:161:
d:\mingw64\x86_64-w64-mingw32\include\stdlib.h:607:43: note: expected 'const char *' but argument is of type 'byteptr' }
607 | _CRTIMP int __cdecl _putenv(const char *_EnvString);
| ~~~~~~~~~~~~^~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'os__unsetenv':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:10887:24: warning: pointer targets in passing argu]
10887 | return _putenv(format.str);
| ~~~~~~^~~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:161:
d:\mingw64\x86_64-w64-mingw32\include\stdlib.h:607:43: note: expected 'const char *' but argument is of type 'byteptr' }
607 | _CRTIMP int __cdecl _putenv(const char *_EnvString);
| ~~~~~~~~~~~~^~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'os__executable':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:12075:13: warning: comparison between pointer and r
12075 | if (file != -1) {
| ^~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'os__real_path':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:12265:30: warning: pointer targets in passing argu]
12265 | ret = ((charptr)(_fullpath(fullpath, fpath.str, _const_os__max_path_len)));
| ^~~~~~~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:161:
d:\mingw64\x86_64-w64-mingw32\include\stdlib.h:612:41: note: expected 'char *' but argument is of type 'byteptr' {aka '}
612 | _CRTIMP char *__cdecl _fullpath(char *_FullPath,const char *_Path,size_t _SizeInBytes);
| ~~~~~~^~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:12265:45: warning: pointer targets in passing argu]
12265 | ret = ((charptr)(_fullpath(fullpath, fpath.str, _const_os__max_path_len)));
| ~~~~~^~~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:161:
d:\mingw64\x86_64-w64-mingw32\include\stdlib.h:612:63: note: expected 'const char *' but argument is of type 'byteptr' }
612 | _CRTIMP char *__cdecl _fullpath(char *_FullPath,const char *_Path,size_t _SizeInBytes);
| ~~~~~~~~~~~~^~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'time__init_win_time_freq':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:13685:28: warning: passing argument 1 of 'QueryPer]
13685 | QueryPerformanceFrequency(&f);
| ^~
| |
| u64 * {aka long long unsigned int *}
In file included from d:\mingw64\x86_64-w64-mingw32\include\winbase.h:31,
from d:\mingw64\x86_64-w64-mingw32\include\windows.h:70,
from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:357:
d:\mingw64\x86_64-w64-mingw32\include\profileapi.h:17:71: note: expected 'LARGE_INTEGER *' but argument is of type 'u64}
17 | WINBASEAPI WINBOOL WINAPI QueryPerformanceFrequency (LARGE_INTEGER *lpFrequency);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'time__init_win_time_start':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:13691:26: warning: passing argument 1 of 'QueryPer]
13691 | QueryPerformanceCounter(&s);
| ^~
| |
| u64 * {aka long long unsigned int *}
In file included from d:\mingw64\x86_64-w64-mingw32\include\winbase.h:31,
from d:\mingw64\x86_64-w64-mingw32\include\windows.h:70,
from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:357:
d:\mingw64\x86_64-w64-mingw32\include\profileapi.h:16:69: note: expected 'LARGE_INTEGER *' but argument is of type 'u64}
16 | WINBASEAPI WINBOOL WINAPI QueryPerformanceCounter (LARGE_INTEGER *lpPerformanceCount);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'time__sys_mono_now':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:13697:26: warning: passing argument 1 of 'QueryPer]
13697 | QueryPerformanceCounter(&tm);
| ^~~
| |
| u64 * {aka long long unsigned int *}
In file included from d:\mingw64\x86_64-w64-mingw32\include\winbase.h:31,
from d:\mingw64\x86_64-w64-mingw32\include\windows.h:70,
from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:357:
d:\mingw64\x86_64-w64-mingw32\include\profileapi.h:16:69: note: expected 'LARGE_INTEGER *' but argument is of type 'u64}
16 | WINBASEAPI WINBOOL WINAPI QueryPerformanceCounter (LARGE_INTEGER *lpPerformanceCount);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'time__vpc_now':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:13704:26: warning: passing argument 1 of 'QueryPer]
13704 | QueryPerformanceCounter(&tm);
| ^~~
| |
| u64 * {aka long long unsigned int *}
In file included from d:\mingw64\x86_64-w64-mingw32\include\winbase.h:31,
from d:\mingw64\x86_64-w64-mingw32\include\windows.h:70,
from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:357:
d:\mingw64\x86_64-w64-mingw32\include\profileapi.h:16:69: note: expected 'LARGE_INTEGER *' but argument is of type 'u64}
16 | WINBASEAPI WINBOOL WINAPI QueryPerformanceCounter (LARGE_INTEGER *lpPerformanceCount);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'time__to_local_time':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:13726:50: warning: passing argument 2 of 'SystemTi]
13726 | SystemTimeToTzSpecificLocalTime(((voidptr)(0)), &st_utc, &st_local);
| ^~~~~~~
| |
| time__SystemTime *
In file included from d:\mingw64\x86_64-w64-mingw32\include\winbase.h:2546,
from d:\mingw64\x86_64-w64-mingw32\include\windows.h:70,
from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:357:
d:\mingw64\x86_64-w64-mingw32\include\timezoneapi.h:43:132: note: expected 'const SYSTEMTIME *' but argument is of type'
43 | WINBASEAPI WINBOOL WINAPI SystemTimeToTzSpecificLocalTime (CONST TIME_ZONE_INFORMATION *lpTimeZoneInformation;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:13726:59: warning: passing argument 3 of 'SystemTi]
13726 | SystemTimeToTzSpecificLocalTime(((voidptr)(0)), &st_utc, &st_local);
| ^~~~~~~~~
| |
| time__SystemTime *
In file included from d:\mingw64\x86_64-w64-mingw32\include\winbase.h:2546,
from d:\mingw64\x86_64-w64-mingw32\include\windows.h:70,
from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:357:
d:\mingw64\x86_64-w64-mingw32\include\timezoneapi.h:43:162: note: expected 'LPSYSTEMTIME' {aka 'struct _SYSTEMTIME *'} '
43 | WINBASEAPI WINBOOL WINAPI SystemTimeToTzSpecificLocalTime (CONST TIME_ZONE_INFORMATION *lpTimeZoneInformation;
| ~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'time__win_now':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:13749:32: warning: passing argument 2 of 'FileTime]
13749 | FileTimeToSystemTime(&ft_utc, &st_utc);
| ^~~~~~~
| |
| time__SystemTime *
In file included from d:\mingw64\x86_64-w64-mingw32\include\winbase.h:2546,
from d:\mingw64\x86_64-w64-mingw32\include\windows.h:70,
from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:357:
d:\mingw64\x86_64-w64-mingw32\include\timezoneapi.h:45:92: note: expected 'LPSYSTEMTIME' {aka 'struct _SYSTEMTIME *'} b'
45 | WINBASEAPI WINBOOL WINAPI FileTimeToSystemTime (CONST FILETIME *lpFileTime, LPSYSTEMTIME lpSystemTime);
| ~~~~~~~~~~~~~^~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:13751:50: warning: passing argument 2 of 'SystemTi]
13751 | SystemTimeToTzSpecificLocalTime(((voidptr)(0)), &st_utc, &st_local);
| ^~~~~~~
| |
| time__SystemTime *
In file included from d:\mingw64\x86_64-w64-mingw32\include\winbase.h:2546,
from d:\mingw64\x86_64-w64-mingw32\include\windows.h:70,
from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:357:
d:\mingw64\x86_64-w64-mingw32\include\timezoneapi.h:43:132: note: expected 'const SYSTEMTIME *' but argument is of type'
43 | WINBASEAPI WINBOOL WINAPI SystemTimeToTzSpecificLocalTime (CONST TIME_ZONE_INFORMATION *lpTimeZoneInformation;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:13751:59: warning: passing argument 3 of 'SystemTi]
13751 | SystemTimeToTzSpecificLocalTime(((voidptr)(0)), &st_utc, &st_local);
| ^~~~~~~~~
| |
| time__SystemTime *
In file included from d:\mingw64\x86_64-w64-mingw32\include\winbase.h:2546,
from d:\mingw64\x86_64-w64-mingw32\include\windows.h:70,
from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:357:
d:\mingw64\x86_64-w64-mingw32\include\timezoneapi.h:43:162: note: expected 'LPSYSTEMTIME' {aka 'struct _SYSTEMTIME *'} '
43 | WINBASEAPI WINBOOL WINAPI SystemTimeToTzSpecificLocalTime (CONST TIME_ZONE_INFORMATION *lpTimeZoneInformation;
| ~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'time__win_utc':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:13774:32: warning: passing argument 2 of 'FileTime]
13774 | FileTimeToSystemTime(&ft_utc, &st_utc);
| ^~~~~~~
| |
| time__SystemTime *
In file included from d:\mingw64\x86_64-w64-mingw32\include\winbase.h:2546,
from d:\mingw64\x86_64-w64-mingw32\include\windows.h:70,
from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:357:
d:\mingw64\x86_64-w64-mingw32\include\timezoneapi.h:45:92: note: expected 'LPSYSTEMTIME' {aka 'struct _SYSTEMTIME *'} b'
45 | WINBASEAPI WINBOOL WINAPI FileTimeToSystemTime (CONST FILETIME *lpFileTime, LPSYSTEMTIME lpSystemTime);
| ~~~~~~~~~~~~~^~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'C__FONScontext_get_font_by_name':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:13984:30: warning: pointer targets in passing argu]
13984 | return fonsGetFontByName(s, name);
| ^~~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:665:
D:\workspace\v\thirdparty\fontstash/fontstash.h:955:51: note: expected 'const char *' but argument is of type 'byteptr'}
955 | int fonsGetFontByName(FONScontext* s, const char* name)
| ~~~~~~~~~~~~^~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'C__FONScontext_add_font_mem':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:13994:27: warning: pointer targets in passing argu]
13994 | return fonsAddFontMem(s, name, data, data_size, free_data);
| ^~~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:665:
D:\workspace\v\thirdparty\fontstash/fontstash.h:912:52: note: expected 'const char *' but argument is of type 'byteptr'}
912 | int fonsAddFontMem(FONScontext* stash, const char* name, unsigned char* data, int dataSize, int freeData)
| ~~~~~~~~~~~~^~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'C__FONScontext_draw_text':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14044:31: warning: pointer targets in passing argu]
14044 | return fonsDrawText(s, x, y, str, end);
| ^~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:665:
D:\workspace\v\thirdparty\fontstash/fontstash.h:1272:20: note: expected 'const char *' but argument is of type 'byteptr}
1272 | const char* str, const char* end)
| ~~~~~~~~~~~~^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14044:36: warning: pointer targets in passing argu]
14044 | return fonsDrawText(s, x, y, str, end);
| ^~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:665:
D:\workspace\v\thirdparty\fontstash/fontstash.h:1272:37: note: expected 'const char *' but argument is of type 'byteptr}
1272 | const char* str, const char* end)
| ~~~~~~~~~~~~^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'C__FONScontext_text_bounds':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14049:33: warning: pointer targets in passing argu]
14049 | return fonsTextBounds(s, x, y, str, end, bounds);
| ^~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:665:
D:\workspace\v\thirdparty\fontstash/fontstash.h:1456:19: note: expected 'const char *' but argument is of type 'byteptr}
1456 | const char* str, const char* end,
| ~~~~~~~~~~~~^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14049:38: warning: pointer targets in passing argu]
14049 | return fonsTextBounds(s, x, y, str, end, bounds);
| ^~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:665:
D:\workspace\v\thirdparty\fontstash/fontstash.h:1456:36: note: expected 'const char *' but argument is of type 'byteptr}
1456 | const char* str, const char* end,
| ~~~~~~~~~~~~^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'C__FONScontext_text_iter_init':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14064:41: warning: pointer targets in passing argu]
14064 | return fonsTextIterInit(s, iter, x, y, str, end);
| ^~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:665:
D:\workspace\v\thirdparty\fontstash/fontstash.h:1335:37: note: expected 'const char *' but argument is of type 'byteptr}
1335 | float x, float y, const char* str, const char* end)
| ~~~~~~~~~~~~^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14064:46: warning: pointer targets in passing argu]
14064 | return fonsTextIterInit(s, iter, x, y, str, end);
| ^~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:665:
D:\workspace\v\thirdparty\fontstash/fontstash.h:1335:54: note: expected 'const char *' but argument is of type 'byteptr}
1335 | float x, float y, const char* str, const char* end)
| ~~~~~~~~~~~~^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'C__FONScontext_get_texture_data':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14074:9: warning: return discards 'const' qualifie]
14074 | return fonsGetTextureData(s, width, height);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'stbi__load':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14419:27: warning: pointer targets in passing argu]
14419 | res.data = stbi_load(path.str, &res.width, &res.height, &res.nr_channels, flag);
| ~~~~^~~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:693:
D:\workspace\v\thirdparty\stb_image/stb_image.h:400:52: note: expected 'const char *' but argument is of type 'byteptr'}
400 | STBIDEF stbi_uc *stbi_load (char const *filename, int *x, int *y, int *channels_in_file, int desired;
| ~~~~~~~~~~~~^~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'clipboard__new_clipboard':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14546:22: warning: passing argument 1 of 'Register]
14546 | if (RegisterClassEx(&wndclass) == 0 && GetLastError() != ((u32)(ERROR_CLASS_ALREADY_EXISTS))) {
| ^~~~~~~~~
| |
| clipboard__WndClassEx *
In file included from d:\mingw64\x86_64-w64-mingw32\include\windef.h:9,
from d:\mingw64\x86_64-w64-mingw32\include\windows.h:69,
from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:357:
d:\mingw64\x86_64-w64-mingw32\include\winuser.h:2156:44: note: expected 'const WNDCLASSEXW *' {aka 'const struct tagWND'
2156 | WINUSERAPI ATOM WINAPI RegisterClassExW (CONST WNDCLASSEXW *);
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14549:15: warning: initialization of 'struct HWND_]
14549 | HWND* hwnd = CreateWindowEx(0, wndclass.lpsz_class_name, wndclass.lpsz_class_name, 0, 0, 0, 0, 0, HWND_MESSAGE;
| ^~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14553:11: warning: assignment to 'HWND' {aka 'stru]
14553 | cb->hwnd = hwnd;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'clipboard__to_wide':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14580:76: warning: pointer targets in passing argu]
14580 | int len_required = MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, text.str, text.len + 1, NULL, 0);
| ~~~~^~~~
| |
| byteptr {aka unsigned char *}
In file included from d:\mingw64\x86_64-w64-mingw32\include\winnls.h:886,
from d:\mingw64\x86_64-w64-mingw32\include\windows.h:73,
from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:357:
d:\mingw64\x86_64-w64-mingw32\include\stringapiset.h:41:82: note: expected 'LPCCH' {aka 'const char *'} but argument is}
41 | WINBASEAPI int WINAPI MultiByteToWideChar (UINT CodePage, DWORD dwFlags, LPCCH lpMultiByteStr, int cbMultiByt;
| ~~~~~~^~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14584:58: warning: pointer targets in passing argu]
14584 | MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, text.str, text.len + 1, locked, len_required);
| ~~~~^~~~
| |
| byteptr {aka unsigned char *}
In file included from d:\mingw64\x86_64-w64-mingw32\include\winnls.h:886,
from d:\mingw64\x86_64-w64-mingw32\include\windows.h:73,
from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:357:
d:\mingw64\x86_64-w64-mingw32\include\stringapiset.h:41:82: note: expected 'LPCCH' {aka 'const char *'} but argument is}
41 | WINBASEAPI int WINAPI MultiByteToWideChar (UINT CodePage, DWORD dwFlags, LPCCH lpMultiByteStr, int cbMultiByt;
| ~~~~~~^~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'sokol__gfx__query_backend':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14774:9: warning: implicit conversion from 'sg_bac]
14774 | return sg_query_backend();
| ^~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'sokol__gfx__query_pixelformat':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14789:30: warning: implicit conversion from 'sokol]
14789 | return sg_query_pixelformat(fmt);
| ^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'sokol__gfx__query_buffer_defaults':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14844:34: warning: passing argument 1 of 'sg_query]
14844 | return sg_query_buffer_defaults(desc);
| ^~~~
| |
| struct sg_buffer *
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:727:
D:\workspace\v\thirdparty\sokol/sokol_gfx.h:14793:78: note: expected 'const sg_buffer_desc *' but argument is of type ''
14793 | SOKOL_API_IMPL sg_buffer_desc sg_query_buffer_defaults(const sg_buffer_desc* desc) {
| ~~~~~~~~~~~~~~~~~~~~~~^~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'sokol__gfx__query_image_defaults':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14849:33: warning: passing argument 1 of 'sg_query]
14849 | return sg_query_image_defaults(desc);
| ^~~~
| |
| struct sg_image *
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:727:
D:\workspace\v\thirdparty\sokol/sokol_gfx.h:14798:75: note: expected 'const sg_image_desc *' but argument is of type 's'
14798 | SOKOL_API_IMPL sg_image_desc sg_query_image_defaults(const sg_image_desc* desc) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'sokol__gfx__query_shader_defaults':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14854:34: warning: passing argument 1 of 'sg_query]
14854 | return sg_query_shader_defaults(desc);
| ^~~~
| |
| struct sg_shader *
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:727:
D:\workspace\v\thirdparty\sokol/sokol_gfx.h:14803:78: note: expected 'const sg_shader_desc *' but argument is of type ''
14803 | SOKOL_API_IMPL sg_shader_desc sg_query_shader_defaults(const sg_shader_desc* desc) {
| ~~~~~~~~~~~~~~~~~~~~~~^~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'sokol__gfx__query_pipeline_defaults':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14859:36: warning: passing argument 1 of 'sg_query]
14859 | return sg_query_pipeline_defaults(desc);
| ^~~~
| |
| struct sg_pipeline *
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:727:
D:\workspace\v\thirdparty\sokol/sokol_gfx.h:14808:84: note: expected 'const sg_pipeline_desc *' but argument is of type'
14808 | SOKOL_API_IMPL sg_pipeline_desc sg_query_pipeline_defaults(const sg_pipeline_desc* desc) {
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'sokol__gfx__query_pass_defaults':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14864:32: warning: passing argument 1 of 'sg_query]
14864 | return sg_query_pass_defaults(desc);
| ^~~~
| |
| struct sg_pass *
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:727:
D:\workspace\v\thirdparty\sokol/sokol_gfx.h:14813:72: note: expected 'const sg_pass_desc *' but argument is of type 'st'
14813 | SOKOL_API_IMPL sg_pass_desc sg_query_pass_defaults(const sg_pass_desc* desc) {
| ~~~~~~~~~~~~~~~~~~~~^~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'C__sg_shader_desc_set_vert_src':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14911:18: warning: pointer targets in assignment f]
14911 | desc->vs.source = src.str;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'C__sg_shader_desc_set_frag_src':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14916:18: warning: pointer targets in assignment f]
14916 | desc->fs.source = src.str;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'C__sg_shader_desc_set_vert_image':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14921:30: warning: pointer targets in assignment f]
14921 | desc->vs.images[index].name = name.str;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14922:30: warning: implicit conversion from 'enum ]
14922 | desc->vs.images[index].type = sokol__gfx__ImageType__2d;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'C__sg_shader_desc_set_frag_image':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14927:30: warning: pointer targets in assignment f]
14927 | desc->fs.images[index].name = name.str;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14928:30: warning: implicit conversion from 'enum ]
14928 | desc->fs.images[index].type = sokol__gfx__ImageType__2d;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'C__sg_shader_desc_set_vert_uniform':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14943:68: warning: pointer targets in assignment f]
14943 | desc->vs.uniform_blocks[block_index].uniforms[uniform_index].name = name.str;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14944:68: warning: implicit conversion from 'sokol]
14944 | desc->vs.uniform_blocks[block_index].uniforms[uniform_index].type = type;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'C__sg_shader_desc_set_frag_uniform':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14949:68: warning: pointer targets in assignment f]
14949 | desc->fs.uniform_blocks[block_index].uniforms[uniform_index].name = name.str;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14950:68: warning: implicit conversion from 'sokol]
14950 | desc->fs.uniform_blocks[block_index].uniforms[uniform_index].type = type;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'C__sg_shader_stage_desc_set_image':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14959:27: warning: pointer targets in assignment f]
14959 | desc->images[index].name = name.str;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:14960:27: warning: implicit conversion from 'enum ]
14960 | desc->images[index].type = sokol__gfx__ImageType__2d;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'sokol__sapp__create_desc':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15012:139: warning: initialization of 'const void ]
15012 | struct sg_mtl_context_desc mtl_desc = (struct sg_mtl_context_desc){.device = sokol__sapp__metal_get_device(),.;
| ~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15012:139: note: (near initialization for '(anonym)
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15012:199: warning: initialization of 'const void ]
15012 | struct sg_mtl_context_desc mtl_desc = (struct sg_mtl_context_desc){.device = sokol__sapp__metal_get_device(),.;
| ~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15012:199: note: (near initialization for '(anonym)
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15013:200: warning: initialization of 'const void ]
15013 | struct sg_d3d11_context_desc d3d11_desc = (struct sg_d3d11_context_desc){.device = sokol__sapp__d3d11_get_devi;
| ~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15013:200: note: (near initialization for '(anonym)
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15013:267: warning: initialization of 'const void ]
15013 | struct sg_d3d11_context_desc d3d11_desc = (struct sg_d3d11_context_desc){.device = sokol__sapp__d3d11_get_devi;
| ~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15013:267: note: (near initialization for '(anonym)
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'sokol__sapp__set_clipboard_string':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15099:28: warning: pointer targets in passing argu]
15099 | sapp_set_clipboard_string(str);
| ^~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:709:
D:\workspace\v\thirdparty\sokol/sokol_app.h:9498:59: note: expected 'const char *' but argument is of type 'byteptr' {a}
9498 | SOKOL_API_IMPL void sapp_set_clipboard_string(const char* str) {
| ~~~~~~~~~~~~^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'sokol__sapp__get_clipboard_string':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15104:9: warning: return discards 'const' qualifie]
15104 | return sapp_get_clipboard_string();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'sokol__sapp__metal_get_device':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15125:9: warning: return discards 'const' qualifie]
15125 | return sapp_metal_get_device();
| ^~~~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'sokol__sapp__metal_get_renderpass_de:
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15130:9: warning: return discards 'const' qualifie]
15130 | return sapp_metal_get_renderpass_descriptor();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'sokol__sapp__metal_get_drawable':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15135:9: warning: return discards 'const' qualifie]
15135 | return sapp_metal_get_drawable();
| ^~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'sokol__sapp__macos_get_window':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15140:9: warning: return discards 'const' qualifie]
15140 | return sapp_macos_get_window();
| ^~~~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'sokol__sapp__ios_get_window':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15145:9: warning: return discards 'const' qualifie]
15145 | return sapp_ios_get_window();
| ^~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'sokol__sapp__d3d11_get_device':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15150:9: warning: return discards 'const' qualifie]
15150 | return sapp_d3d11_get_device();
| ^~~~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'sokol__sapp__d3d11_get_device_contex:
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15155:9: warning: return discards 'const' qualifie]
15155 | return sapp_d3d11_get_device_context();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'sokol__sapp__d3d11_get_render_target:
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15160:9: warning: return discards 'const' qualifie]
15160 | return sapp_d3d11_get_render_target_view();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'sokol__sapp__d3d11_get_depth_stencil:
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15165:9: warning: return discards 'const' qualifie]
15165 | return sapp_d3d11_get_depth_stencil_view();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'sokol__sapp__win32_get_hwnd':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15170:9: warning: return discards 'const' qualifie]
15170 | return sapp_win32_get_hwnd();
| ^~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'sokol__sapp__android_get_native_acti:
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15175:9: warning: return discards 'const' qualifie]
15175 | return sapp_android_get_native_activity();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'C__sapp_event_str':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15179:106: warning: implicit conversion from 'sapp]
15179 | return _STR("evt: frame_count=%"PRIu64"\000, type=%.*s", 2, e->frame_count, sokol__sapp__EventType_str(e->type;
| ~^~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'gg__gg_init_sokol_window':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15561:8: warning: extra tokens at end of #endif di]
15561 | #endif;
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'gg__new_context':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15694:24: warning: initialization of 'void (*)(con]
15694 | .event_userdata_cb = gg__gg_event_fn,
| ^~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15694:24: note: (near initialization for '(anonymo)
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15695:23: warning: initialization of 'void (*)(con]
15695 | .fail_userdata_cb = gg__gg_fail_fn,
| ^~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15695:23: note: (near initialization for '(anonymo)
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15703:19: warning: pointer targets in initializati]
15703 | .window_title = cfg.window_title.str,
| ^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15703:19: note: (near initialization for '(anonymo)
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15707:24: warning: pointer targets in initializati]
15707 | .html5_canvas_name = cfg.window_title.str,
| ^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:15707:24: note: (near initialization for '(anonymo)
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'gg__Image_init_sokol_image':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:16131:3: warning: braces around scalar initializer
16131 | .depth = {0},
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:16131:3: note: (near initialization for '(anonymou)
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:16138:13: warning: implicit conversion from 'enum ]
16138 | .wrap_u = sokol__gfx__Wrap_clamp_to_edge,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:16139:13: warning: implicit conversion from 'enum ]
16139 | .wrap_v = sokol__gfx__Wrap_clamp_to_edge,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:16146:12: warning: pointer targets in initializati]
16146 | .label = ((byte*)(0)),
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:16146:12: note: (near initialization for '(anonymo)
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'gg__Context_draw_text':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:16327:57: warning: pointer targets in passing argu]
16327 | fonsDrawText(ctx->ft->fons, x * scale, y * scale, text_.str, 0);
| ~~~~~^~~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:665:
D:\workspace\v\thirdparty\fontstash/fontstash.h:1272:20: note: expected 'const char *' but argument is of type 'byteptr}
1272 | const char* str, const char* end)
| ~~~~~~~~~~~~^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'gg__Context_text_width':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:16343:39: warning: pointer targets in passing argu]
16343 | fonsTextBounds(ctx->ft->fons, 0, 0, s.str, 0, buf);
| ~^~~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:665:
D:\workspace\v\thirdparty\fontstash/fontstash.h:1456:19: note: expected 'const char *' but argument is of type 'byteptr}
1456 | const char* str, const char* end,
| ~~~~~~~~~~~~^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'gg__Context_text_height':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:16355:39: warning: pointer targets in passing argu]
16355 | fonsTextBounds(ctx->ft->fons, 0, 0, s.str, 0, buf);
| ~^~~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:665:
D:\workspace\v\thirdparty\fontstash/fontstash.h:1456:19: note: expected 'const char *' but argument is of type 'byteptr}
1456 | const char* str, const char* end,
| ~~~~~~~~~~~~^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'gg__Context_text_size':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:16364:39: warning: pointer targets in passing argu]
16364 | fonsTextBounds(ctx->ft->fons, 0, 0, s.str, 0, buf);
| ~^~~~
| |
| byteptr {aka unsigned char *}
In file included from C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:665:
D:\workspace\v\thirdparty\fontstash/fontstash.h:1456:19: note: expected 'const char *' but argument is of type 'byteptr}
1456 | const char* str, const char* end,
| ~~~~~~~~~~~~^~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'main__main':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:17109:15: warning: initialization of 'void (*)(voi]
17109 | .frame_fn = main__frame,
| ^~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:17109:15: note: (near initialization for '(anonymo)
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:17112:15: warning: initialization of 'void (*)(voi]
17112 | .event_fn = main__on_event,
| ^~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:17112:15: note: (near initialization for '(anonymo)
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:17113:17: warning: initialization of 'void (*)(sok]
17113 | .keydown_fn = main__key_down,
| ^~~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:17113:17: note: (near initialization for '(anonymo)
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:17114:14: warning: initialization of 'void (*)(u32]
17114 | .char_fn = main__on_char,
| ^~~~~~~~~~~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:17114:14: note: (near initialization for '(anonymo)
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:17185:20: warning: cast between incompatible funct]
17185 | CreateThread(0,0, (LPTHREAD_START_ROUTINE)main__Ved_loop_thread_wrapper, arg__t312, 0,0);
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'main__Ved_key_normal':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:17902:22: warning: cast between incompatible funct]
17902 | CreateThread(0,0, (LPTHREAD_START_ROUTINE)main__Ved_build_app2_thread_wrapper, arg__t325, 0,0);
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'main__Ved_key_u':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:18452:21: warning: cast between incompatible funct]
18452 | CreateThread(0,0, (LPTHREAD_START_ROUTINE)main__Ved_build_app1_thread_wrapper, arg__t357, 0,0);
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'main__View_save_file':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:18692:20: warning: cast between incompatible funct]
18692 | CreateThread(0,0, (LPTHREAD_START_ROUTINE)main__View_format_file_thread_wrapper, arg__t376, 0,0);
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'wWinMain':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:19451:40: warning: cast between incompatible funct]
19451 | cmd_line_to_argv CommandLineToArgvW = (cmd_line_to_argv)GetProcAddress(shell32_module, "CommandLineToArgvW");
| ^
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:19455:51: warning: passing argument 2 of 'os__init]
19455 | _const_os__args = os__init_os_args_wide(___argc, ___argv);
| ^~~~~~~
| |
| wchar_t ** {aka short unsigned int **}
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:12550:55: note: expected 'unsigned char **' but ar}
12550 | array_string os__init_os_args_wide(int argc, byteptr* argv) {
| ~~~~~~~~~^~~~
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c: In function 'os__file_size':
C:\Users\WHITET~1\AppData\Local\Temp\v\ved.9558992765580609729.tmp.c:11279:10: warning: 's.st_size' is used uninitializ]
11279 | return s.st_size;
| ~^~~~~~~~
d:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\whitetigle\.vmo:
<command line>:(.text+0xccde): undefined reference to `__chkstk'
d:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\whitetigle\.vmo:
<command line>:(.text+0xce2c): undefined reference to `__chkstk'
d:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\whitetigle\.vmo:
<command line>:(.text+0xcf38): undefined reference to `__chkstk'
d:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\whitetigle\.vmo:
<command line>:(.text+0xcfd4): undefined reference to `__chkstk'
d:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\whitetigle\.vmo:
<command line>:(.text+0xd0e4): undefined reference to `__chkstk'
d:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\whitetigle\.vmow
d:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\workspace\ved\ved.exee
collect2.exe: error: ld returned 1 exit status```
Whitetigle commented
exporting VFLAGS='-cc gcc'
does the trick. So solved on my side 😄