Skip to content

gcc issue #84

@lightcax

Description

@lightcax

webui.c:5360:24: error: passing argument 1 of 'strcmp' from incompatible pointer type [-Wincompatible-pointer-types]
cc: 5360 | if (strcmp(pe32.szExeFile, process_name) == 0) {
cc: | ~~~~^~~~~~~~~~
cc: | |
cc: | WCHAR * {aka short unsigned int *}
cc: In file included from C:\Users\lee.vmodules\vwebui\src\webui\include/webui.h:44,
cc: from C:\Users\lee.vmodules\vwebui/src/webui/src/webui.c:32:
cc: D:/mingw64/x86_64-w64-mingw32/include/string.h:63:34: note: expected 'const char *' but argument is of type 'WCHAR *' {aka 'short unsigned int *'}
cc: 63 | int __cdecl strcmp(const char *_Str1,const char *_Str2);
cc: | ~~~~~~~~~~~~^~~~~
cc: C:\Users\lee.vmodules\vwebui/src/webui/src/webui.c: In function '_webui_show_window':
... (the original output was 24 lines long, and was truncated to 12 lines)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions