[Bug 49738] New: "warning: implicit declaration of function ‘strtoumax’" when compiling PuTTY with Winelib

WineHQ Bugzilla wine-bugs at winehq.org
Sun Aug 23 17:50:54 CDT 2020


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 at winehq.org
          Reporter: alexhenrie24 at 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

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list