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
https://bugs.winehq.org/show_bug.cgi?id=49738
--- Comment #1 from Gijs Vermeulen gijsvrm@gmail.com --- This patch I just sent upstream should work: https://source.winehq.org/patches/data/192563
https://bugs.winehq.org/show_bug.cgi?id=49738
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |db1403c5dedfdce2b697b7ead75 | |1075df281fab6 CC| |dark.shadow4@web.de Status|NEW |RESOLVED
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- Should be fixed by https://source.winehq.org/git/wine.git/?a=commit;h=db1403c5dedfdce2b697b7ead...
https://bugs.winehq.org/show_bug.cgi?id=49738
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.18.
https://bugs.winehq.org/show_bug.cgi?id=49738
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |5.0.x
https://bugs.winehq.org/show_bug.cgi?id=49738
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|5.0.x |---
--- Comment #4 from Michael Stefaniuc mstefani@winehq.org --- Removing the 5.0.x milestone from bug fixes included in 5.0.4.