Wireshark mailing list archives
Error when compiling extcap/androiddump.c with (released) MSVC 2015
From: Anders Broman <anders.broman () ericsson com>
Date: Wed, 5 Aug 2015 09:16:55 +0000
Hi, I get: androiddump.c extcap/androiddump.c(736): error C2220: warning treated as error - no 'object' f ile generated extcap/androiddump.c(736): warning C4477: 'fprintf' : format string '%I64i' requ ires an argument of type '__int64', but variadic argument 3 has type 'ssize_t' extcap/androiddump.c(736): note: to simplify migration, consider the temporary u se of /Wv:18 flag with the version of the compiler with which you used to build without warnings extcap/androiddump.c(736): note: consider using '%i' in the format string extcap/androiddump.c(736): note: consider using '%I32i' in the format string extcap/androiddump.c(786): warning C4477: 'fprintf' : format string '%I64i' requ ires an argument of type '__int64', but variadic argument 3 has type 'ssize_t' extcap/androiddump.c(786): note: to simplify migration, consider the temporary u se of /Wv:18 flag with the version of the compiler with which you used to build without warnings extcap/androiddump.c(786): note: consider using '%i' in the format string extcap/androiddump.c(786): note: consider using '%I32i' in the format string extcap/androiddump.c(866): warning C4477: 'fprintf' : format string '%I64i' requ ires an argument of type '__int64', but variadic argument 3 has type 'ssize_t' extcap/androiddump.c(866): note: to simplify migration, consider the temporary u se of /Wv:18 flag with the version of the compiler with which you used to build without warnings extcap/androiddump.c(866): note: consider using '%i' in the format string extcap/androiddump.c(866): note: consider using '%I32i' in the format string extcap/androiddump.c(1565): warning C4477: 'printf' : format string '%I64i' requ ires an argument of type '__int64', but variadic argument 1 has type 'ssize_t' extcap/androiddump.c(1565): note: to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings extcap/androiddump.c(1565): note: consider using '%i' in the format string extcap/androiddump.c(1565): note: consider using '%I32i' in the format string extcap/androiddump.c(1624): warning C4477: 'printf' : format string '%I64i' requ ires an argument of type '__int64', but variadic argument 2 has type 'ssize_t' extcap/androiddump.c(1624): note: to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings extcap/androiddump.c(1624): note: consider using '%i' in the format string extcap/androiddump.c(1624): note: consider using '%I32i' in the format string extcap/androiddump.c(1624): warning C4477: 'printf' : format string '%I64i' requ ires an argument of type '__int64', but variadic argument 3 has type 'ssize_t' extcap/androiddump.c(1624): note: to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings extcap/androiddump.c(1624): note: consider using '%i' in the format string extcap/androiddump.c(1624): note: consider using '%I32i' in the format string NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0 \VC\BIN\amd64\cl.EXE"' : return code '0x2' Stop. Any ideas on how to fix? Regards Anders
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Error when compiling extcap/androiddump.c with (released) MSVC 2015 Anders Broman (Aug 05)
- Re: Error when compiling extcap/androiddump.c with (released) MSVC 2015 Michal Labedzki (Aug 05)