Created
June 10, 2022 22:02
-
-
Save sidprice/e9a03e65ed786658006c96e3a611b987 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS D:\DataRoot\Projects\blackmagic\src> make PROBE_HOST=hosted CC=gcc | |
CC platforms/pc/serial_win.c | |
CC platforms/pc/cl_utils.c | |
In file included from platforms/pc/cl_utils.c:37: | |
platforms/pc/cl_utils.c: In function 'cl_help': | |
platforms/hosted/bmp_hosted.h:54:38: error: implicit declaration of function 'L' [-Werror=implicit-function-declaration] | |
#define PRINT_INFO(fmt, ...) wprintf(L(fmt), ##__VA_ARGS__) | |
^ | |
platforms/pc/cl_utils.c:133:2: note: in expansion of macro 'PRINT_INFO' | |
PRINT_INFO( | |
^~~~~~~~~~ | |
platforms/hosted/bmp_hosted.h:54:38: error: passing argument 1 of 'wprintf' makes pointer from integer without a cast [-Werror=int-conversion] | |
#define PRINT_INFO(fmt, ...) wprintf(L(fmt), ##__VA_ARGS__) | |
^~~~~~ | |
platforms/pc/cl_utils.c:133:2: note: in expansion of macro 'PRINT_INFO' | |
PRINT_INFO( | |
^~~~~~~~~~ | |
In file included from include/general.h:34, | |
from platforms/pc/cl_utils.c:25: | |
C:/Program Files (x86)/mingw-w64/i686-8.1.0-posix-dwarf-rt_v6-rev0/mingw32/i686-w64-mingw32/include/stdio.h:933:29: note: expected 'const wchar_t *' {aka 'const short unsigned int *'} but argument is of type 'int' | |
int wprintf (const wchar_t *__format, ...) | |
~~~~~~~~~~~~~~~^~~~~~~~ | |
cc1.exe: all warnings being treated as errors |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment