https://bugs.winehq.org/show_bug.cgi?id=49738
Bug ID: 49738 Summary: "warning: implicit declaration of function ‘strtoumax’" when compiling PuTTY with Winelib Product: Wine Version: 5.15 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: msvcrt Assignee: wine-bugs@winehq.org Reporter: alexhenrie24@gmail.com Distribution: ---
Created attachment 68035 --> https://bugs.winehq.org/attachment.cgi?id=68035 Build log
To reproduce, run the following commands:
git clone https://git.tartarus.org/simon/putty.git cd putty ./mkfiles.pl make -C windows -f Makefile.mgw CC="winegcc -mno-cygwin" COMPAT="-D__MINGW32__" RC=wrc
The complete build log is attached. There are numerous warnings; this bug report is specifically about this one:
../testcrypt.c: In function ‘get_uint’: ../testcrypt.c:405:23: warning: implicit declaration of function ‘strtoumax’; did you mean ‘strtoull’? [-Wimplicit-function-declaration] 405 | uintmax_t toret = strtoumax(string, NULL, 0); | ^~~~~~~~~ | strtoull