Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 871402 Details for
Bug 914709
app-mobilephone/gnokii-0.6.31-r4 - [clang] ../.../compat.h: error: expected parameter declarator
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-mobilephone:gnokii-0.6.31-r4:20230925-164729.log
app-mobilephone:gnokii-0.6.31-r4:20230925-164729.log (text/plain), 144.68 KB, created by
Toralf Förster
on 2023-09-25 16:51:12 UTC
(
hide
)
Description:
app-mobilephone:gnokii-0.6.31-r4:20230925-164729.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-09-25 16:51:12 UTC
Size:
144.68 KB
patch
obsolete
> * Package: app-mobilephone/gnokii-0.6.31-r4:0 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux nls pcsc-lite > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > * Determining the location of the kernel source code > * Found kernel source directory: > * /usr/src/linux > * Found sources for kernel version: > * 6.5.5-gentoo-dist > * Checking for suitable kernel configuration options ... > [ ok ] >>>> Unpacking source... >>>> Unpacking gnokii-0.6.31.tar.bz2 to /var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work >>>> Source unpacked in /var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work >>>> Preparing source in /var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31 ... > * Applying gnokii-0.6.31-docdir.patch ... > [ ok ] > * Applying gnokii-0.6.31-fix_xgnokii_inclusion.patch ... > [ ok ] > * Applying gnokii-0.6.31-gcc5.patch ... > [ ok ] > * Applying gnokii-0.6.31-gcc7.patch ... > [ ok ] > * Applying gnokii-0.6.31-sqlite-typo.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31' ... > * Running 'glib-gettextize --copy --force' ... > [ ok ] > * Running 'intltoolize --automake --copy --force' ... > [ ok ] > * Running 'libtoolize --install --copy --force --automake' ... > [ ok ] > * Running 'aclocal -I m4' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running 'automake --add-missing --copy --force-missing' ... > [ ok ] > * Running elibtoolize in: gnokii-0.6.31/ > * Applying portage/1.2.0 patch ... > * Applying sed/1.5.6 patch ... > * Applying as-needed/2.4.3 patch ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31 ... > * econf: updating gnokii-0.6.31/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating gnokii-0.6.31/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/gnokii-0.6.31-r4 --htmldir=/usr/share/doc/gnokii-0.6.31-r4/html --libdir=/usr/lib64 --disable-static --enable-security --disable-unix98test --disable-bluetooth --disable-xdebug --disable-fulldebug --disable-rlpdebug --disable-libical --disable-irda --disable-mysql --enable-nls --enable-libpcsclite --disable-postgres --disable-smsd --disable-libusb --without-x >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking target system type... x86_64-pc-linux-gnu >checking for x86_64-pc-linux-gnu-gcc... clang >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether the compiler supports GNU C... yes >checking whether clang accepts -g... yes >checking for clang option to enable C11 features... none needed >checking whether clang understands -c and -o together... yes >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for wchar.h... yes >checking for minix/config.h... no >checking for sys/time.h... yes >checking whether it is safe to define __EXTENSIONS__... yes >checking whether _XOPEN_SOURCE should be defined... no >checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports the include directive... yes (GNU style) >checking whether make supports nested variables... yes >checking dependency style of clang... none >checking for x86_64-pc-linux-gnu-gcc... (cached) clang >checking whether the compiler supports GNU C... (cached) yes >checking whether clang accepts -g... (cached) yes >checking for clang option to enable C11 features... (cached) none needed >checking whether clang understands -c and -o together... (cached) yes >checking how to run the C preprocessor... clang-cpp >checking for flex... flex >checking for lex output file root... lex.yy >checking for lex library... none needed >checking for library containing yywrap... -lfl >checking whether yytext is a pointer... yes >checking for rm... /bin/rm >checking for find... /usr/bin/find >checking for gmake... gmake >checking for ar... llvm-ar >checking whether NLS is requested... yes >checking for intltool >= 0.35.0... 0.51.0 found >checking for intltool-update... /usr/bin/intltool-update >checking for intltool-merge... /usr/bin/intltool-merge >checking for intltool-extract... /usr/bin/intltool-extract >checking for xgettext... /usr/bin/xgettext >checking for msgmerge... /usr/bin/msgmerge >checking for msgfmt... /usr/bin/msgfmt >checking for gmsgfmt... /usr/bin/gmsgfmt >checking for perl... /usr/bin/perl >checking for perl >= 5.8.1... 5.38.0 >checking for XML::Parser... ok >checking for nl_langinfo and CODESET... yes >checking for locale.h... yes >checking for LC_MESSAGES... yes >checking for CFPreferencesCopyAppValue... no >checking for CFLocaleCopyCurrent... no >checking for libintl.h... yes >checking for ngettext in libc... yes >checking for dgettext in libc... yes >checking for bind_textdomain_codeset... yes >checking for msgfmt... (cached) /usr/bin/msgfmt >checking for dcgettext... yes >checking if msgfmt accepts -c... yes >checking for gmsgfmt... (cached) /usr/bin/gmsgfmt >checking for xgettext... (cached) /usr/bin/xgettext >checking for ld... ld.lld >checking if the linker (ld.lld) is GNU ld... yes >checking for shared library run path origin... done >checking 32-bit host C ABI... no >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for ELF binary format... yes >checking for the common suffixes of directories in the library search path... lib,lib,lib64 >checking for iconv... yes >checking for working iconv... yes >checking whether iconv is compatible with its POSIX signature... yes >checking if building on FreeBSD... no >checking if building on NetBSD... no >checking how to print strings... printf >checking for a sed that does not truncate output... /bin/sed >checking for fgrep... /bin/grep -F >checking for ld used by clang... ld.lld >checking if the linker (ld.lld) is GNU ld... yes >checking for BSD- or MS-compatible name lister (nm)... llvm-nm >checking the name lister (llvm-nm) interface... BSD nm >checking whether ln -s works... yes >checking the maximum length of command line arguments... 1572864 >checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop >checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop >checking for ld.lld option to reload object files... -r >checking for x86_64-pc-linux-gnu-file... no >checking for file... file >checking for x86_64-pc-linux-gnu-objdump... llvm-objdump >checking how to recognize dependent libraries... pass_all >checking for x86_64-pc-linux-gnu-dlltool... dlltool >checking how to associate runtime and link libraries... printf %s\n >checking for x86_64-pc-linux-gnu-ar... (cached) llvm-ar >checking for archiver @FILE support... @ >checking for x86_64-pc-linux-gnu-strip... llvm-strip >checking for x86_64-pc-linux-gnu-ranlib... llvm-ranlib >checking command to parse llvm-nm output from clang object... ok >checking for sysroot... no >checking for a working dd... /bin/dd >checking how to truncate binary pipes... /bin/dd bs=4096 count=1 >checking for x86_64-pc-linux-gnu-mt... no >checking for mt... no >checking if : is a manifest tool... no >checking for dlfcn.h... yes >checking for objdir... .libs >checking if clang supports -fno-rtti -fno-exceptions... yes >checking for clang option to produce PIC... -fPIC -DPIC >checking if clang PIC flag -fPIC -DPIC works... yes >checking if clang static flag -static works... no >checking if clang supports -c -o file.o... /bin/rm: cannot remove 'conftest*': No such file or directory >yes >checking if clang supports -c -o file.o... (cached) yes >checking whether the clang linker (ld.lld -m elf_x86_64) supports shared libraries... yes >checking whether -lc should be explicitly linked in... /bin/rm: cannot remove 'conftest*': No such file or directory >no >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... no >checking if gcc supports -Wno-pointer-sign compiler option... no >checking if gcc supports -fvisibility=hidden compiler option... no >checking if gcc supports -fno-strict-aliasing compiler option... no >checking for the pthreads library -lpthreads... no >checking whether pthreads work without any flags... yes >checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE >checking if more special flags are required for pthreads... no >checking for cc_r... clang >checking for tm_gmtoff in struct tm... yes >checking for timer operations... yes >checking for cfsetspeed in termios.h... yes >checking whether to use readline... yes >checking for readline.h... no >checking for history.h... no >checking for readline/readline.h... yes >checking for readline/history.h... yes >checking for readline.h... (cached) no >checking for readline/readline.h... (cached) yes >checking for tgetent in -lncurses... no >checking for tgetent in -lcurses... no >checking for tgetent in -ltermcap... no >checking for tgetent in -lterminfo... no >checking for tgetent in -ltermlib... no >checking for readline in -lreadline... yes >checking for linux/phonet.h... yes >checking for gethostbyname... yes >checking for gethostbyname... (cached) yes >checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config >checking pkg-config is at least version 0.9.0... yes >checking for gtk+-2.0 >= 2.0... no >checking for socket in -lsocket... no >checking for glib-2.0... yes >checking for gmodule-2.0... yes >checking for pg_config... /usr/bin/pg_config >checking for sqlite3... yes >checking for mysql_config5... no >checking for mysql_config... no >checking for libpcsclite >= 1.3.1... yes >checking for LPCSTR... yes >checking for egrep... (cached) /bin/grep -E >checking for _Bool... yes >checking for stdbool.h that conforms to C99... yes >checking for sys/wait.h that is POSIX.1 compatible... yes >checking for fcntl.h... yes >checking for sys/ioctl.h... yes >checking for sys/time.h... (cached) yes >checking for unistd.h... (cached) yes >checking for sys/file.h... yes >checking for string.h... (cached) yes >checking for strings.h... (cached) yes >checking for ctype.h... yes >checking for stdlib.h... (cached) yes >checking for stdarg.h... yes >checking for stdint.h... (cached) yes >checking for stddef.h... yes >checking for sys/socket.h... yes >checking for sys/modem.h... no >checking for termios.h... yes >checking for sys/filio.h... no >checking for inttypes.h... (cached) yes >checking for wchar.h... (cached) yes >checking for direct.h... no >checking for sys/param.h... yes >checking for dirent.h... yes >checking for sys/types.h... (cached) yes >checking for an ANSI C-conforming const... yes >checking for inline... inline >checking for pid_t... yes >checking for size_t... yes >checking whether struct tm is in sys/time.h or time.h... time.h >checking for u_int8_t... yes >checking for __ptr_t... yes >checking whether clang needs -traditional... no >checking for working memcmp... yes >checking return type of signal handlers... void >checking for strftime... yes >checking for mktime... yes >checking for timegm... yes >checking for gettimeofday... yes >checking for select... yes >checking for poll... yes >checking for wcrtomb... yes >checking for strchr... yes >checking for strdup... yes >checking for strndup... yes >checking for strstr... yes >checking for strtol... yes >checking for strtok... yes >checking for strsep... yes >checking for asprintf... yes >checking for vasprintf... yes >checking for snprintf... yes >checking for vsnprintf... yes >checking for getpass... yes >checking for setenv... yes >checking for ISO C99 compliant snprintf... no >checking for ISO C99 compliant vsnprintf... no >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating getopt/Makefile >config.status: creating Docs/Makefile >config.status: creating Docs/man/Makefile >config.status: creating Docs/protocol/Makefile >config.status: creating Docs/sample/Makefile >config.status: creating Docs/sample/logo/Makefile >config.status: creating Docs/sample/vCalendar/Makefile >config.status: creating Docs/sample/ringtone/Makefile >config.status: creating Docs/sample/ppp/Makefile >config.status: creating include/Makefile >config.status: creating include/gnokii.h >config.status: creating include/data/Makefile >config.status: creating include/devices/Makefile >config.status: creating include/phones/Makefile >config.status: creating include/links/Makefile >config.status: creating include/gnokii/Makefile >config.status: creating common/gnokii.pc >config.status: creating common/Makefile >config.status: creating common/data/Makefile >config.status: creating common/devices/Makefile >config.status: creating common/links/Makefile >config.status: creating common/phones/Makefile >config.status: creating gnokii/Makefile >config.status: creating gnokiid/Makefile >config.status: creating smsd/Makefile >config.status: creating utils/Makefile >config.status: creating xgnokii/xgnokii.pc >config.status: creating xgnokii/Makefile >config.status: creating xgnokii/xpm/Makefile >config.status: creating po/Makefile.in >config.status: creating testsuite/Makefile >config.status: creating testsuite/data/Makefile >config.status: creating Windows/Makefile >config.status: creating include/config.h >config.status: executing depfiles commands >config.status: executing default-1 commands >config.status: executing libtool commands >/bin/rm: cannot remove 'libtoolT': No such file or directory >config.status: executing po/stamp-it commands > > > G N O K I I > > A toolset and driver for the mobile phones. > > Copyright (C) 1999-2011 The Gnokii Development Team. > > This program is free software; you can redistribute it and/or modify > it under the terms of the GNU General Public License as published by > the Free Software Foundation; either version 2 of the License, or > (at your option) any later version. > > See file COPYING for more details. > > Host system: linux-gnu > Gnokii version: 0.6.31 > Xgnokii version: 1.0 > SMSD version: 1.5.2 > X (GTK+) support: no > smsd support: no > Postgres support: no > SQLite support: yes > MySQL support: no > Debug: yes > XDebug: no > RLPDebug: no > NLS: yes > IrDA: no > ical read support: no > Bluetooth: no > libusb support: no > phonet support: yes > libpcsclite support:yes > readline support: yes > Security: yes > Build Shared Lib: yes > Build Static Lib: no > Windows: no > Prefix: /usr > > Type 'gmake' for compilation and then 'gmake install', to > install gnokii. > >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31 ... >make -j5 >Making all in getopt >gmake[1]: Entering directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31/getopt' >clang -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o libgetopt_a-getopt1.o `test -f 'getopt1.c' || echo './'`getopt1.c >clang -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o libgetopt_a-getopt.o `test -f 'getopt.c' || echo './'`getopt.c >rm -f libgetopt.a >llvm-ar cru libgetopt.a libgetopt_a-getopt1.o libgetopt_a-getopt.o >llvm-ranlib libgetopt.a >gmake[1]: Leaving directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31/getopt' >Making all in include >gmake[1]: Entering directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31/include' >gmake all-recursive >gmake[2]: Entering directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31/include' >Making all in data >gmake[3]: Entering directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31/include/data' >gmake[3]: Nothing to be done for 'all'. >gmake[3]: Leaving directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31/include/data' >Making all in devices >gmake[3]: Entering directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31/include/devices' >gmake[3]: Nothing to be done for 'all'. >gmake[3]: Leaving directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31/include/devices' >Making all in gnokii >gmake[3]: Entering directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31/include/gnokii' >gmake[3]: Nothing to be done for 'all'. >gmake[3]: Leaving directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31/include/gnokii' >Making all in links >gmake[3]: Entering directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31/include/links' >gmake[3]: Nothing to be done for 'all'. >gmake[3]: Leaving directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31/include/links' >Making all in phones >gmake[3]: Entering directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31/include/phones' >gmake[3]: Nothing to be done for 'all'. >gmake[3]: Leaving directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31/include/phones' >gmake[3]: Entering directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31/include' >gmake[3]: Leaving directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31/include' >gmake[2]: Leaving directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31/include' >gmake[1]: Leaving directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31/include' >Making all in common >gmake[1]: Entering directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31/common' >Making all in phones >gmake[2]: Entering directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31/common/phones' >/bin/sh ../../libtool --tag=CC --mode=compile clang -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -pthread -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o libPHONES_la-generic.lo `test -f 'generic.c' || echo './'`generic.c >/bin/sh ../../libtool --tag=CC --mode=compile clang -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -pthread -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o libPHONES_la-nokia.lo `test -f 'nokia.c' || echo './'`nokia.c >/bin/sh ../../libtool --tag=CC --mode=compile clang -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -pthread -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o libPHONES_la-nk7110.lo `test -f 'nk7110.c' || echo './'`nk7110.c >/bin/sh ../../libtool --tag=CC --mode=compile clang -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -pthread -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o libPHONES_la-nk6510.lo `test -f 'nk6510.c' || echo './'`nk6510.c >/bin/sh ../../libtool --tag=CC --mode=compile clang -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -pthread -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o libPHONES_la-nk6160.lo `test -f 'nk6160.c' || echo './'`nk6160.c >libtool: compile: clang -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -pthread -O2 -pipe -march=native -fno-diagnostics-color -Wall -c generic.c -fPIC -DPIC -o .libs/libPHONES_la-generic.o >libtool: compile: clang -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -pthread -O2 -pipe -march=native -fno-diagnostics-color -Wall -c nokia.c -fPIC -DPIC -o .libs/libPHONES_la-nokia.o >libtool: compile: clang -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -pthread -O2 -pipe -march=native -fno-diagnostics-color -Wall -c nk7110.c -fPIC -DPIC -o .libs/libPHONES_la-nk7110.o >libtool: compile: clang -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -pthread -O2 -pipe -march=native -fno-diagnostics-color -Wall -c nk6510.c -fPIC -DPIC -o .libs/libPHONES_la-nk6510.o >libtool: compile: clang -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -pthread -O2 -pipe -march=native -fno-diagnostics-color -Wall -c nk6160.c -fPIC -DPIC -o .libs/libPHONES_la-nk6160.o >In file included from nokia.c:41: >../../include/compat.h:199:5: error: expected parameter declarator > 199 | int snprintf(char *str, size_t size, const char *format, ...); > | ^ >/usr/include/bits/stdio2.h:60:39: note: expanded from macro 'snprintf' > 60 | __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, \ > | ^ >/usr/include/features.h:428:31: note: expanded from macro '__USE_FORTIFY_LEVEL' > 428 | # define __USE_FORTIFY_LEVEL 2 > | ^ >In file included from nokia.c:41: >../../include/compat.h:199:5: error: expected ')' >/usr/include/bits/stdio2.h:60:39: note: expanded from macro 'snprintf' > 60 | __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, \ > | ^ >/usr/include/features.h:428:31: note: expanded from macro '__USE_FORTIFY_LEVEL' > 428 | # define __USE_FORTIFY_LEVEL 2 > | ^ >../../include/compat.h:199:5: note: to match this '(' >/usr/include/bits/stdio2.h:60:28: note: expanded from macro 'snprintf' > 60 | __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, \ > | ^ >In file included from nokia.c:41: >../../include/compat.h:199:5: error: conflicting types for > '__builtin___snprintf_chk' > 199 | int snprintf(char *str, size_t size, const char *format, ...); > | ^ >/usr/include/bits/stdio2.h:60:3: note: expanded from macro 'snprintf' > 60 | __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, \ > | ^ >../../include/compat.h:199:5: note: '__builtin___snprintf_chk' is a builtin with > type 'int (char *restrict, unsigned long, int, unsigned long, const char > *restrict, ...)' >/usr/include/bits/stdio2.h:60:3: note: expanded from macro 'snprintf' > 60 | __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, \ > | ^ >In file included from generic.c:39: >In file included from ../../include/gnokii-internal.h:37: >../../include/compat.h:199:5: error: expected parameter declarator > 199 | int snprintf(char *str, size_t size, const char *formaIn file included from nokia.c:42: >In file included from t, ..../../include/gnokii-internal.h.:)38;: > >../../include/misc.h :| 54 ^: >13: warning: 'dprintf' macro redefined > [-Wmacro-redefined] >/usr/include/bits/stdio2.h :5460 | :#39 : note: expandedd efromf imacron e'snprintf' >dpr i60n | t f (_a_.b.u.i)l tdion _{_ _gsnn_plroign_tdfe_bcuhgk( a()s;t r}, wlheinl, e_ _(U0S)E >_ F| O ^R >TI/usr/include/bits/stdio2.hF:Y121_:L12E:V Enote: Lprevious -definition 1is, here > 121 | # \ >d e| f ^i >ne /usr/include/features.hd:p428r:i31n:t fnote: (expandedf dfrom, macro. .'__USE_FORTIFY_LEVEL'. >) \428 > | #| ^ >define __USE_FORTIFY_LEVEL 2 > | ^ >In file included from generic.c:39: >In file included from ../../include/gnokii-internal.h:37: >../../include/compat.h:199:5: error: expected ')' >/usr/include/bits/stdio2.h:60:39: note: expanded from macro 'snprintf' > 60 | __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, \ > | ^ >/usr/include/features.h:428:31: note: expanded from macro '__USE_FORTIFY_LEVEL' > 428 | # define __USE_FORTIFY_LEVEL 2 > | ^ >../../include/compat.h:199:5: note: to match this '(' >/usr/include/bits/stdio2.h:60:28: note: expanded from macro 'snprintf' > 60 | __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, \ > | ^ >In file included from generic.c:39: >In file included from ../../include/gnokii-internal.h:37: >../../include/compat.h:199:5: error: conflicting types for > '__builtin___snprintf_chk' > 199 | int snprintf(char *str, size_t size, const char *format, ...); > | ^ >/usr/include/bits/stdio2.h:60:3: note: expanded from macro 'snprintf' > 60 | __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, \ > | ^ >../../include/compat.h:199:5: note: '__builtin___snprintf_chk' is a builtin with > type 'int (char *restrict, unsigned long, int, unsigned long, const char > *restrict, ...)' >/usr/include/bits/stdio2.h:60:3: note: expanded from macro 'snprintf' > 60 | __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, \ > | ^ >In file included from generic.c:39: >In file included from ../../include/gnokii-internal.h:38: >../../include/misc.h:54:13: warning: 'dprintf' macro redefined > [-Wmacro-redefined] > 54 | # define dprintf(a...) do { gn_log_debug(a); } while (0) > | ^ >/usr/include/bits/stdio2.h:121:12: note: previous definition is here > 121 | # define dprintf(fd, ...) \ > | ^ >nokia.c:139:32: warning: passing 'const unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > 139 | n = char_uni_alphabet_encode(src + j, max - j, &wch, &mbs); > | ^~~~~~~ >../../include/gnokii-internal.h:103:45: note: passing argument to parameter > 'value' here > 103 | size_t char_uni_alphabet_encode(const char *value, size_t n, wchar_t *de... > | ^ >nokia.c:164:12: warning: passing 'char *' to parameter of type 'unsigned char *' > converts between pointers to integer types where one is of the unique > plain 'char' type and the other is not [-Wpointer-sign] > 164 | req + 10, data->call_diver... > | ^~~~~~~~ >../../include/gnokii-internal.h:107:62: note: passing argument to parameter > 'output' here > 107 | extern int char_semi_octet_pack(char *number, unsigned char *output, gn_... > | ^ >nokia.c:276:65: warning: passing 'char *' to parameter of type 'unsigned char *' > converts between pointers to integer types where one is of the unique > plain 'char' type and the other is not [-Wpointer-sign] > 276 | ...n = char_7bit_unpack(0, message[7], sizeof(buf), message + 8, aux); > | ^~~ >../../include/gnokii-internal.h:82:45: note: passing argument to parameter > 'output' here > 82 | unsigned char *input, unsigned char *output); > | ^ >nokia.c:277:32: warning: passing 'char[1024]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 277 | char_default_alphabet_decode(buf, aux, n); > | ^~~ >../../include/gnokii-internal.h:91:49: note: passing argument to parameter > 'dest' here > 91 | int char_default_alphabet_decode(unsigned char* dest, const unsigned cha... > | ^ >nokia.c:277:37: warning: passing 'char *' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 277 | char_default_alphabet_decode(buf, aux, n); > | ^~~ >../../include/gnokii-internal.h:91:76: note: passing argument to parameter 'src' > here > 91 | ...char* dest, const unsigIn file included from nenk7110.cd: ch45a: >r../../include/compat.h*: src, i199n:t5 :l eerror: nexpected) ;parameter > declarator| > ^ > 199 | int snprintf(char *str, size_t size, const char *format, ...); > | ^ >/usr/include/bits/stdio2.h:60:39: note: expanded from macro 'snprintf' > 60 | __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, \ > | ^ >/usr/include/features.h:428:31: note: expanded from macro '__USE_FORTIFY_LEVEL' > 428 | # define __USE_FORTIFY_LEVEL 2 > | ^ >In file included from nk7110.c:45: >../../include/compat.h:199:5: error: expected ')' >/usr/include/bits/stdio2.h:60:39: note: expanded from macro 'snprintf' > 60 | __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, \ > | ^ >/usr/include/features.h:428:31: note: expanded from macro '__USE_FORTIFY_LEVEL' > 428 | # define __USE_FORTIFY_LEVEL 2 > | ^ >../../include/compat.h:199:5: note: to match this '(' >/usr/include/bits/stdio2.h:60:28: note: expanded from macro 'snprintf' > 60 | __builtin___snprinokia.cnt:379:11: warning: fpassing 'unsigned char *'_ to parameter of type 'char *' > converts between pointers to integer types where one is of the unique > plain 'char' type and the other is not [-Wpointer-sign] > 379 | snprintf(req + 4, GN_PHONEBOOK_NUMBER_MAX_LENGTH + 1, "%s", data... > | ^~~~~~~ >/usr/include/bits/stdio2.h:60:29: note: expanded from macro 'snprintf' > 60 | __1b warningu and i3l errortsi generatedn. >___scnprintfh_kc h(ks t(rst,r ,l elnen,, ____UUSES_EF_OFROTIRFTYI_FLEYV_ELLE V-E L1 ,- 1 , \ > | ^~~ > \ > | ^ >In file included from nk7110.c:45: >../../include/compat.h:199:5: error: conflicting types for > '__builtin___snprintf_chk' > 199 | int snprintf(char *str, size_t size, const char *format, ...); > | ^ >/usr/include/bits/stdio2.h:60:3: note: expanded from macro 'snprintf' > 60 | __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, \ > | ^ >../../include/compat.h:199:5: note: '__builtin___snprintf_chk' is a builtin with > type 'int (char *restrict, unsigned long, int, unsigned long, const char > *restrict, ...)' >/usr/include/bits/stdio2.h:60:3: note: expanded from macro 'snprintf' > 60 | __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, \ > | ^ >nokia.c:500:11: warning: passing 'char[24]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 500 | bin2hex(tmp, message + 9, 12); > | ^~~ >../../include/gnokii-internal.h:79:36: note: passing argument to parameter > 'dest' here > 79 | extern void bin2hex(unsigned char *dest, const unsigned char *src, unsig... > | ^ >8 warnings and 3 errors generated. >gmake[2]: *** [Makefile:567: libPHONES_la-generic.lo] Error 1 >gmake[2]: *** Waiting for unfinished jobs.... >gmake[2]: *** [Makefile:574: libPHONES_la-nokia.lo] Error 1 >In file included from nk7110.c:48: >In file included from ../../include/phones/nk7110.h:38: >../../include/misc.h:54:13: warning: 'dprintf' macro redefined > [-Wmacro-redefined] > 54 | # define dprintf(a...) do { gn_log_debug(a); } while (0) > | ^ >/usr/include/bits/stdio2.h:121:12: note: previous definition is here > 121 | # define dprintf(fd, ...) \ > | ^ >nk7110.c:172:3: warning: initializing 'unsigned char *' with an expression of > type 'char[20]' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > 172 | "7110|6210|6250|7190", /* Supported models */ > | ^~~~~~~~~~~~~~~~~~~~~ >nk7110.c:292:7: warning: case value not in enumerated type 'gn_operation' > [-Wswitch] > 292 | case GN_OP_NK7110_GetPictureList: > | ^ >nk7110.c:424:30: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > 424 | unsigned char *s = strchr(message + 4, '\n'); > | ^~~~~~~~~~~ >/usr/include/string.h:246:34: note: passing argument to parameter '__s' here > 246 | extern char *strchr (const char *__s, int __c) > | ^ >nk7110.c:424:19: warning: initializing 'unsigned char *' with an expression of > type 'char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > 424 | unsigned char *s = strchr(message + 4, '\n'); > | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ >nk7110.c:435:30: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > 435 | unsigned char *s = strchr(message + 22, '\n'); > | ^~~~~~~~~~~~ >/usr/include/string.h:246:34: note: passing argument to parameter '__s' here > 246 | extern char *strchr (conIn file included from snk6160.ct: ch37a: >r../../include/compat.h :*199_:_5s:, error: inexpectedt parameter_ _declaratorc >) > | ^ > 199 | intnk7110.c :s435n:p19r:i nwarning: tinitializingf ('unsigned char *'c hwitha ran *expressions tofr >, types i'char *'z econverts_ tbetween spointersi ztoe ,integer ctypeso nwheres tone cish aofr > *thef ouniquer mplaina t'char', type. .and. )the; >other | is ^ >not [-Wpointer-sign] > /usr/include/bits/stdio2.h435: | 60 : 39 :u nnote: sexpandedi gfromn emacrod 'snprintf'c >har 60* | s =_ _sbturiclhtri(nm_e_s_ssangper i+n t2f2_,c h'k\ n('s)t;r >, | l ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~e >n, __USE_FORTIFY_LEVEL - 1, \ > | ^ >/usr/include/features.h:428:31: note: expanded from macro '__USE_FORTIFY_LEVEL' > 428 | # define __USE_FORTIFY_LEVnk7110.cE:L443 :230 >: | warning: ^ >passing 'unsigned char *' In file included from tonk6160.c :parameter37 : >of../../include/compat.h :type199 >: 5'const char *': convertserror: expectedbetween ')'pointers > to/usr/include/bits/stdio2.h :integer60 :types39 :where note: oneexpanded isfrom ofmacro > 'snprintf'the > unique plain 60'char' | type _and_ btheu iotherl tisi nnot_ _[-Wpointer-sign]_ >sn p443r | i n t fu_ncshikg n(esdt rc,h alre n*,s _=_ UsStEr_FcOhRrT(ImFeYs_sLaEgVeE L+ -7 ,1 ,' \ n ' ) ; > | \ ^~~~~~~~~~~ > > | ^/usr/include/string.h >:246/usr/include/features.h::34428:: 31note: :passing note: argumentexpanded tofrom parametermacro '__s''__USE_FORTIFY_LEVEL' >here > 428 | 246# | e xdteefrinn ec h_a_rU S*Es_tFrOcRhTrI F(Yc_oLnEsVtE Lc h2a >r | * ^_ >_s../../include/compat.h,: 199i:n5t: _note: _toc )match > this| ^'(' > >/usr/include/bits/stdio2.h:60:28: note: nk7110.cexpanded: 443from: 19macro: 'snprintf'warning: >initializing 'unsigned char *' 60with | an _expression_ bofu >i ltypet i'char *'n _converts_ _betweens npointersp rtoi nintegert ftypes_ cwhereh kone (iss tofr >, thel euniquen ,plain _'char'_ UtypeS Eand_ FtheO RotherT IisF Ynot_ L[-Wpointer-sign]E >VE L443 | - 1 ,u n s i g n e d \c >h a| r ^ >*s = strchr(message + 7,In file included from nk6160.c':\37n: >'../../include/compat.h):;199 >: 5| : ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ >error: conflicting types for > '__builtin___snprintf_chk' > 199 | int snprintf(char *str, size_t size, const char *format, ...); > | ^ >/usr/include/bits/stdio2.h:60:3: note: expanded from macro 'snprintf' > 60 | __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, \ > | ^ >../../include/compat.h:199:5: note: '__builtin___snprintf_chk' is a builtin with > type 'int (char *restrict, unsigned long, int, unsigned long, const char > *restrict, ...)' >/usr/include/bits/stdio2.h:60:3: note: expanded from macro 'snprintf' > 60 | __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, \ > | ^ >In file included from In file included from nk6160.cnk6510.c::38: >40../../include/misc.h: >:../../include/compat.h54::19913::5 :warning: 'dprintf'error: expectedmacro parameterredefined >declarator >[-Wmacro-redefined] > 54 | # def i199n | ei ndtp rsinnptrfi(nat.f.(.c)h adro *{s tgrn,_ lsoigz_ed_etb usgi(zae),; c}o nwshti lceh a(r0 )* >f o| r ^m >at/usr/include/bits/stdio2.h,: 121.:.12.:) ;note: >previous | definition ^ >is here >/usr/include/bits/stdio2.h: 60121: | 39#: note: expandedd efromf imacron e'snprintf' >dp r60i | n t f_(_fbdu,i l.t.i.n)_ _\_ >s n| p ^r >intf_chk (str, len, __USE_FORTIFY_LEVEL - 1, \ > | ^ >/usr/include/features.h:428:31: note: expanded from macro '__USE_FORTIFY_LEVEL' > 428 | # define __USE_FORTIFY_LEVEL 2 > | ^ >In file included from nk6510.c:40: >../../include/compat.h:199:5: error: expected ')' >/usr/include/bits/stdio2.h:60:39: note: expanded from macro 'snprintf' > 60 | __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, \ > | ^ >/usr/include/features.h:428:31: note: expanded from macro '__USE_FORTIFY_LEVEL' > 428 | # define __USE_FORTIFY_LEVEL 2 > | ^ >../../include/compat.h:199:5: note: to match this '(' >/usr/include/bits/stdio2.h:60:28: note: expanded from macro 'snprintf' > 60 | __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, \ > | ^ >In file included from nk6510.c:40: >../../include/compat.h:199:5: error: conflicting types for > '__builtin___snprintf_chk' > 199 | int snprintf(char *str, size_t size, const char *format, ...); > | ^ >/usr/include/bits/stdio2.h:60:3: note: expanded from macro 'snprintf' > 60 | __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, \ > | ^ >../../include/compat.h:199:5: note: '__builtin___snprintf_chk' is a builtin with > type 'int (char *restrict, unsigned long, int, unsigned long, const char > *restrict, ...)' >/usr/include/bits/stdio2.h:60:3: note: expanded from macro 'snprintf' > 60 | __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, \ > | ^ >nk7110.c:830:26: warning: passing 'char *' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 830 | i = char_unicode_encode((string + 1), data->bitmap->text, i); > | ^~~~~~~~~~~~ >../../include/gnokii-internal.h:89:49: note: passing argument to parameter > 'dest' here > 89 | unsigned int char_unicode_encode(unsigned char* dest, const unsigned cha... > | ^ >nk7110.c:830:40: warning: passing 'char[256]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 830 | i = char_unicode_encode((string + 1), data->bitmap->text, i); > | ^~~~~~~~~~~~~~~~~~ >In file included from nk6510.c:41: >../../include/misc.h:54:13: ../../include/gnokii-internal.hwarning: 'dprintf' macro redefined > [-Wmacro-redefined] >: 54 | # 89 define dprintf(a...) do { gn_log_debug(a); } while (0) > | ^ >/usr/include/bits/stdio2.h:121::12: note: previous definition is here > 121 | # define dprintf(76fd,: .note: ..passing) argument\ >to | parameter ^ >'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk7110.c:832:43: warning: passing 'char[500]' to parameter of type 'u8 *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 832 | count += PackBlock(0x07, i + 1, block++, string, req + count); > | ^~~~~~ >nk7110.c:796:59: note: passing argument to parameter 'buf' here > 796 | static unsigned char PackBlock(u8 id, u8 size, u8 no, u8 *buf, u8 *block) > | ^ >nk7110.c:836:39: warning: passing 'char[500]' to parameter of type 'u8 *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 836 | count += PackBlock(0x0c, 2, block++, string, req + count); > | ^~~~~~ >nk7110.c:796:59: note: passing argument to parameter 'buf' here > 796 | static unsigned char PackBlock(u8 id, u8 size, u8 no, u8 *buf, u8 *block) > | ^ >nk7110.c:840:39: warning: passing 'char[500]' to parameter of type 'u8 *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 840 | count += PackBlock(0x1e, 2, block++, string, req + count); > | ^~~~~~ >nk7110.c:796:59: note: passing argument to parameter 'buf' here > 796 | static unsigned char PackBlock(u8 id, u8 size, u8 no, u8 *buf, u8 *block) > | ^ >nk7110.c:844:39: warning: passing 'char[500]' to parameter of type 'u8 *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 844 | count += PackBlock(0x1c, 2, block++, string, req + count); > | ^~~~~~ >nk7110.c:796:59: note: passing argument to parameter 'buf' here > 796 | static unsigned char PackBlock(u8 id, u8 size, u8 no, u8 *buf, u8 *block) > | ^ >nk7110.c:852:60: warning: passing 'char[500]' to parameter of type 'u8 *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 852 | ...+= PackBlock(0x1b, data->bitmap->size + 5, block++, string, req + count); > | ^~~~~~ >nk7110.c:796:59: note: passing argument to parameter 'buf' here > 796 | static unsigned char PackBlock(u8 id, u8 size, u8 no, u8 *buf, u8 *block) > | ^ >nk7110.c:899:27: warning: passing 'char *' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 899 | i = char_unicode_encode((string + 1), entry->name, i); > | ^~~~~~~~~~~~ >../../include/gnokii-internal.h:89:49: note: passing argument to parameter > 'dest' here > 89 | unsigned int char_unicode_encode(unsigned char* dest, const unsigned cha... > | ^ >nk7110.c:899:41: warning: passing 'char[62]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 899 | i = char_unicode_encode((string + 1), entry->name, i); > | ^~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk7110.c:902:44: warning: passing 'char[500]' to parameter of type 'u8 *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 902 | count += PackBlock(0x07, i + 2, block++, string, req + count); > | ^~~~~~ >nk7110.c:796:59: note: passing argument to parameter 'buf' here > 796 | static unsigned char PackBlock(u8 id, u8 size, u8 no, u8 *buf, u8 *block) > | ^ >nk7110.c:906:40: warning: passing 'char[500]' to parameter of type 'u8 *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 906 | count += PackBlock(0x1e, 2, block++, string, req + count); > | ^~~~~~ >nk7110.c:796:59: note: passing argument to parameter 'buf' here > 796 | static unsigned char PackBlock(u8 id, u8 size, u8 no, u8 *buf, u8 *block) > | ^ >nk7110.c:914:28: warning: passing 'char *' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 914 | j = char_unicode_encode((string + 5), entry->number, j); > | ^~~~~~~~~~~~ >../../include/gnokii-internal.h:89:49: note: passing argument to parameter > 'dest' here > 89 | unsigned int char_unicode_encode(unsigned char* dest, const unsigned cha... > | ^ >nk7110.c:914:42: warning: passing 'char[50]'nk6160.c :to84 :parameter3 :of warning: typeinitializing > 'unsigned char *''const unsigned char *' withconverts anbetween expressionpointers ofto > integertype types'char[15]' whereconverts > betweenone pointersis toof integerthe typesunique whereplain one'char' istype ofand > thethe otherunique isplain not'char' > type[-Wpointer-sign] >and the other914 | is not j[-Wpointer-sign] >= char_ u84n | i c o"d6e1_6e0n|c5o1de((string 2+0 |56)1,8 5e"n,t r/y*- >Snuupmpboerrt,e dj )m;o >d e| l ^~~~~~~~~~~~~s > *../../include/gnokii-internal.h/: >89 :| 76 ^~~~~~~~~~~~~~~~: > note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk7110.c:917:45: warning: passing 'char[500]' to parameter of type 'u8 *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 917 | ...count += PackBlock(0x0b, j + 6, block++, string, req + count); > | ^~~~~~ >nk7110.c:796:59: note: passing argument to parameter 'buf' here > 796 | static unsigned char PackBlock(u8 id, u8 size, u8 no, u8 *buf, u8 *block) > | ^ >nk7110.c:929:29: warning: passing 'char *' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 929 | j = char_unicode_encode((string + 5), en... > | ^~~~~~~~~~~~ >../../include/gnokii-internal.h:89:49: note: passing argument to parameter > 'dest' here > 89 | unsigned int char_unicode_encode(unsigned char* dest, const unsigned cha... > | ^ >nk7110.c:929:43: warning: passing 'char[62]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and nk6160.cthe: 236other: 9is: notwarning: >passing [-Wpointer-sign]'unsigned char *' > to parameter929 | of type. .'char *' >. +converts 5between) ,pointers eton tintegerr ytypes- >wheres uoneb eisn tofr ithee sunique[ >d eplainf a'char'u ltypet nand] .thed aothert ais. nnotu m[-Wpointer-sign]b >er ,236 | j )s;t >r c| p ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~y >(../../include/gnokii-internal.hp:o89s:,76 :p enote: -passing> nargumentu mtob eparameterr )'src'; > > here| > ^~~ > 89 | ...c/usr/include/bits/string_fortified.hh:a77r:_33u:n inote: cpassingo dargumente _toe nparameterc >o d'__dest'e (hereu >nsi g77n | e_d_ NcThHa r(*s tdrecspty, (ccohnasrt *u_n_sriegsnterdi ccth a_r_*d essrtc,, cionnts tl .c.h.a >r | * ^_ >_restrict __src)) > | ^ >nk7110.c:932:46:nk6160.c :warning: 238passing: 9'char[500]': towarning: passingparameter 'unsigned char *'of totype parameter'u8 *' >of (aka 'unsigned char *')type converts'char *' >between convertspointers betweento pointersinteger totypes integerwhere >types onewhere isone ofis theof uniquethe plainunique >'char' plaintype 'char'and typethe andother theis othernot >is [-Wpointer-sign]not > [-Wpointer-sign] > 932 | 238 | . .s.tcrocupnyt( p+o=s ,P apcek-B>lnoacmke()0;x >0 b| , ^~~ >j /usr/include/bits/string_fortified.h+: 776:,33 :b lnote: opassingc kargument+ +to, parameters >t r'__dest'i nhereg >, r77e | q_ _+N TcHo u(nstt)r;c >p y| ^~~~~~( >chnk7110.ca:r796 :*59_:_ rnote: epassings targumentr itoc tparameter _'buf'_ dheree >st, c796o | nsstta tcihca ru n*s_i_grneesdt rcihcatr _P_ascrkcB)l)o >c k| ( ^u >8 id, u8 size, u8 no, u8 *buf, u8 *block) > | ^ >nk7110.c:941:31: warning: passing 'char *' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is notnk6160.c :[-Wpointer-sign]267 >:17: warning: passing 941'unsigned char *' | to .parameter. .ofj type= > c'const char *'h aconvertsr _betweenu npointersi ctoo dintegere _typese nwherec ooned eis( (ofs >t rthei nuniqueg plain+ 'char'5 )type, ande nthet rothery -is> snotu b[-Wpointer-sign]e >nt r267i | e s [pio]s. d+a=t as.tnrulmebne(rp,o sj)) ;+ > 1| ; ^~~~~~~~~~~~ > > | ../../include/gnokii-internal.h ^~~: >89:/usr/include/string.h49::407 :note: 35passing: argumentnote: passingto argumentparameter >to 'dest'parameter here'__s' > here > 89 | 407u | nesxitgenrend siinzte _cth asrt_rulneinc o(dceo_nesntc ocdhea(ru n*s_i_gsn)e >d | c ^h >ar* dest, const unsigned cha... > | ^ >nk7110.c:941:45: warning: passing 'char[62]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 941 | ...= char_unicode_encode((string + 5), entry->subentries[i].data.number, j); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk6160.c:322:12: warning: assigning to 'unsigned char *' from 'char *' converts > between pointers to integer nk7110.ctypes: 944where: 48one: iswarning: passingof 'char[500]'the tounique parameterplain of'char' >type type'u8 *' >and (aka 'unsigned char *')the convertsother betweenis pointersnot to[-Wpointer-sign] >integer types where322 > | one iisf of( (thep ouniques plain= 'char's ttyper candh rthe( dothera tisa -not> >r e[-Wpointer-sign]v >isio n944, | ' \.n.'.)c)o u!n=t N+U=L LP)a c*kpBolso c=k (00;x >0 b| , ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >j + 6, block++, string, req + count); > | ^~~~~~ >nk7110.c:796:59: note: passing argument to parameter 'buf' here > 796 | static unsigned char PackBlock(u8 id, u8 size, u8 no, u8 *buf, u8 *block) > | ^ >nk7110.c:948:30: warning: passing 'char *' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 948 | ...j = char_unicode_encode((string + 1), entry->subentries[i].data.number, j); > | ^~~~~~~~~~~~ >../../include/gnokii-internal.h:89:49: note: passing argument to parameter > 'dest' here > 89 | unsigned int char_unicode_encode(unsigned char* dest, const unsigned cha... > | ^ >nk7110.c6: warning948s: and 443: error swarning: generatedpassing. > 'char[62]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 948 | ...= char_unicode_encode((string + 1), entry->subentries[i].data.number, j); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk7110.c:951:74: warning: passing 'char[500]' to parameter of type 'u8 *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 951 | ...PackBlock(entry->subentries[i].entry_type, j + 2, block++, string, req ... > | ^~~~~~ >nk7110.c:796:59: note: passing argument to parameter 'buf' here > 796 | static unsigned char PackBlnk6510.co:c355k:(3u:8 warning: iinitializingd ,'unsigned char *' uwith8 ans iexpressionz eof, > utype8 'char[248]'n oconverts, betweenu 8pointers *tob uintegerf ,types uwhere8 one* bisl >o cofk )the > unique| ^plain > 'char' type and the other is not [-Wpointer-sign] > 355 | ..."6510|6310|8310|6310i|6360|6610|6100|5100|3510|3510i|3595|6800|6810|6820|6820b|6610i|6230|6650|7210|7250|7250i|7600|6170|6020|6230i|5140|5140i|6021|6500|6220|3120b|3100|3120|6015i|6101|6680|6280|3220|6136|6233|6822|6300|6030|3110c|series60|series40"... > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >nk7110.c:1193:24: warning: passing 'char[33]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 1193 | ...char_unicode_decode(data->sms_folder_list->folder[j].name, message + i, ... > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:1083:24: warning: passing 'char[33]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 1083 | char_unicode_decode(data->sms_folder->name, mess... > | ^~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:1118:24: warning: passing 'char[33]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 1118 | ...char_unicode_decode(data->sms_folder_list->folder[j].name, message + i ... > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >gmake[2]: *** [Makefile:595: libPHONES_la-nk6160.lo] Error 1 >nk6510.c:1295:38: warning: passing 'char[33]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 1295 | len = char_unicode_encode(req + 10, data->sms_folder->name, strl... > | ^~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unk7110.c:1851:42: nwarning: spassingi 'char[258]' togned char* dest, const unsigned char* src, int l... > | ^ > parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 1851 | ...len = char_unicode_encode(req + count, calnote->text, strlen(calnote->te... > | ^~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk7110.c:1881:42: warning: passing 'char[258]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 1881 | ...len = char_unicode_encode(req + count, calnote->text, strlen(calnote->te... > | ^~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk7110.c:1883:42: warning: passing 'char[49]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 1883 | ...len = char_unicode_encode(req + count, calnote->phone_number, strlen(cal... > | ^~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk7110.c:1924:42: warning: passing 'char[258]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 1924 | ...len = char_unicode_encode(req + count, calnote->text, strlen(calnote->te... > | ^~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk7110.c:1941:42: warning: passing 'char[258]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 1941 | ...len = char_unicode_encode(req + count, calnote->text, strlen(calnote->te... > | ^~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | nk6510.c : 1626.:.22.:c hwarning: avariabler _'tota_len'u nseti cbuto dnote _usede >n c[-Wunused-but-set-variable]o >de(u n1626s | i ginnetd jc,h air,* cdoenstt_,l ecno,n stto tuan_sliegnn,e do fcfhsaert*; >s r| c ^, > int l... > | ^ >nk6510.c:1815:21: warning: passing 'unsigned char[5]' to parameter of type > 'char *' converts between pointers to integer types where one is of the > unique plain 'char' type and the other is not [-Wpointer-sign] > 1815 | gn_line_get(stdin, ans, 4); > | ^~~ >../../include/gnokii.h:322:46: note: passing argument to parameter 'line' here > 322 | GNOKII_API int gn_line_get(FILE *file, char *line, int count) GNOKII_DEPRECATED; > | ^ >nk6510.c:1816:13: warning: passing 'unsigned char[5]' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > 1816 | if (strcmp(ans, _("yes"))) return GN_ERR_USERCANCELED; > | ^~~ >/usr/include/string.h:156:32: note: passing argument to parameter '__s1' here > 156 | extern int strcmp (const char *__s1, const char *__s2) > | ^ >nk7110.c:2216:23: warning: passing 'char[52]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other nk6510.cis: 1938not: 25[-Wpointer-sign]: > warning: passing 'char[20]' to 2216parameter | of ctypeh >a r'unsigned char *'_ uconvertsn ibetweenc opointersd eto_ dintegere ctypeso dwheree (oned aist >a -of> wthea punique_ bplaino o'char'k mtypea randk -the> nothera mise ,not m[-Wpointer-sign]e >ssag e1938 | + . . .c >h a| r ^~~~~~~~~~~~~~~~~~~~~~~~_ >unic../../include/gnokii-internal.ho:d88e:_49d:e cnote: opassingd eargument( dtoa tparametera >- >'dest'm eheres >sage_ c88e | nutnesri-g>nneadm ei,n >t | c ^~~~~~~~~~~~~~~~~~~~~~~~~~h >ar_../../include/gnokii-internal.hu:n88i:c49:o dnote: epassing_ dargumente ctoo dparametere >( u'dest'n sherei >gned 88c | huanrs*i gdneesdt ,i ncto ncshta ru_nusniigcnoedde _cdheac.o.d.e >( u| n ^s >igned char* dest, const unsigned cha... > | ^ >nk7110.c:2221:23: warning: passing 'char[258]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 2221 | char_unicode_decode(data->wap_bookmark->URL, message + p... > | ^~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk7110.c:2241:24: warning: passing 'char[22]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 2241 | char_unicode_decode(data->wap_setting->name, mes... > | ^~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk7110.c:2247:24: warning: passing 'char[95]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 2247 | char_unicode_decode(data->wap_setting->home, mes... > | ^~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk7110.c:2282:24: warning: passing 'char[22]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 2282 | ...char_unicode_decode(data->wap_setting->sms_service_number, message + pos... > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here >nk6510.c: 224988: | 38u:n swarning: ipassingg n'char[512]'e dto iparametern tof ctypeh >a r'const unsigned char *'_ uconvertsn ibetweenc opointersd eto_ dintegere ctypeso dwheree >( uonen sisi gofn ethed uniquec hplaina r'char'* typed eands tthe, otherc oisn snott > u[-Wpointer-sign]n >sig n2249e | d rcehqa[.5.]. >= | c ^h >ar_unicode_encode(req+6, data->file_list->path, i); > | ^~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passingnk7110.c :argument2287 :to24 :parameter warning: 'src'passing > 'char[22]'here >to parameter of89 | type > .'unsigned char *'. .convertsc hbetweena rpointers_ uton iintegerc otypesd ewhere_ eonen ciso >d eof( uthen suniquei gplainn e'char'd typec handa rthe* otherd eiss tnot, [-Wpointer-sign]c >onst un s2287i | g n e.d. .cchhaarr*_ usnricc,o dien_td elc.o.d.e >( d| a ^t >a->wap_setting->sms_server_number, message + pos... > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:2288:38: warning: passing 'char[512]' to parameter of type > 'const unsigned char *' converts between pointers to integernk7110.c :types2300 :where24 >: onewarning: passingis 'char[22]'of tothe parameterunique ofplain type'char' > type'unsigned char *' andconverts thebetween otherpointers isto notinteger > types[-Wpointer-sign] >where one 2288is | > rofe qthe[ 5unique] plain= 'char'c htypea rand_ uthen iotherc oisd enot_ e[-Wpointer-sign]n >code(r e2300q | + 6 ,. .d.acthaa-r>_fuinliec-o>dnea_mdee,c oid)e;( >d a| t ^~~~~~~~~~~~~~~~a >-../../include/gnokii-internal.h>:w89a:p76_:s enote: tpassingt iargumentn gto- >parameterg s'src'm >_ dherea >ta_i p89, | m e.s.s.acghea r+_ upnoisc,o dset_reinnc.o.d.e >( u| n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~s >igne../../include/gnokii-internal.hd: 88c:h49a:r *note: passingd earguments tto, parameterc >o n'dest's there >unsi g88n | eudn scihganre*d sirnct, cihnatr _lu.n.i.c >o d| e ^_ >decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:2317:38: warning: passing 'char[512]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 2317 | req[5] = char_unicode_encode(req+6, data->file->name, i); > | ^~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encnk7110.co:d2305e:(24u:n swarning: ipassingg n'char[22]'e dto cparameterh aofr *type >d e'unsigned char *'s tconverts, betweenc opointersn stot integeru ntypess iwhereg nonee dis >c hofa rthe* uniques rplainc ,'char' itypen tand lthe. .other. >is | not ^ >[-Wpointer-sign] > 2305 | char_unicode_decode(data->wap_setting->number, m... > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88nk6510.c::492328:: 42note: :passing warning: argumentpassing to'char[512]' parameterto > parameter'dest' ofhere >type > 'const unsigned char *' converts88 | betweenu npointerss itog nintegere dtypes iwheren >t onec hisa rof_ uthen iuniquec oplaind e'char'_ dtypee cando dthee (otheru niss inotg >n e[-Wpointer-sign]d > ch a2328r | * rdeeqs2t[,7 ]c o=n scth aurn_suinginceodd ec_hean.c.o.d >e (| r ^e >q2 + 8, data->file->name, i); > | ^~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...nk7110.cc:h2310a:r24_:u nwarning: ipassingc o'char[34]'d eto_ eparametern cofo dtypee >( u'unsigned char *'n sconvertsi gbetweenn epointersd toc hintegera rtypes* whered eones tis, > cofo nthes tunique uplainn s'char'i gtypen eandd thec hothera ris not [-Wpointer-sign] > 2310 | ...char_unicode_decode(data->wap_setting->gsm_dat*a _sursce,r nianmte ,l .m.e.s >s a| g ^e > + pos... > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk7110.c:2315:24: warning: passing 'char[22]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 2315 | ...char_unicode_decode(data->wap_setting->gsm_data_password, message + pos... > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:2452:40: warning: passing 'char[512]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 2452 | req1[7] = char_unicode_encode(req1+8, data->file->name, i); > | ^~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passingnk7110.c :argument2372 :to18 :parameter warning: 'src'passing > 'unsigned char *'here >to parameter of89 | type > .'const char *'. .convertsc hbetweena rpointers_ uton iintegerc otypesd ewhere_ eonen ciso dofe >( uthen suniquei gplainn e'char'd typec handa rthe* otherd eiss tnot, [-Wpointer-sign]c >ons t2372 | u nlseinggntehd =c hsatrr*l esnr(cs,t riinntg )l;. >. .| > ^~~~~~ >| ^ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here > 407 | extern size_t strlen (const char *__s) > | ^ >nk6510.c:2500:38: warning: passing 'char[512]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 2500 | req[5] = char_unicode_encode(nk7110.cr:e2414q:+346:, warning: dpassinga t'char[22]'a -to> fparameteri lofe -type> >n a'unsigned char *'m econverts, betweeni )pointers; >to | integer ^~~~~~~~~~~~~~~~ >types ../../include/gnokii-internal.hwhere: 89one: 76is: > note: ofpassing theargument uniqueto plainparameter 'char''src' >type hereand > the other89 | is not. .[-Wpointer-sign]. >char_ u2414n | i cpoodse _+e=n cPoadcek(WuAnPsSitgrniendg (crheaqr *+ dpeosst,, dcaotnas-t> wuanps_isgentetdi ncgh-a>rn*a mser,c ,1 )i;n >t | l ^~~~~~~~~~~~~~~~~~~~~~~. >.. >nk7110.c :| 2368 ^: >62: note: passing argument to parameter 'string' here > 2368 | static int PackWAPString(unsigned char *dest, unsigned char *string, in... > | ^ >nk7110.c:2416:34: warning: passing 'char[95]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 2416 | pos += PackWAPString(req + pos, data->wap_setting->home, 1)nk6510.c;: >2566 :| 23 ^~~~~~~~~~~~~~~~~~~~~~~: > warning: passingnk7110.c :'char[512]'2368 :to62 :parameter note: ofpassing typeargument > to'unsigned char *' parameterconverts 'string'between herepointers > to integer 2368types | swheret aonet iisc > iofn tthe Puniquea cplaink W'char'A PtypeS tandr ithen gother( uisn snoti g[-Wpointer-sign]n >ed c2566h | a r c*hdaers_tu,n iucnosdieg_ndeedc ocdhea(rf i*lset-r>innagm,e ,i nm.e.s.s >a g| e ^ >+ 10, 184); > | ^~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk7110.c:2439:37: warning: passing 'char[22]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 2439 | ...+= PackWAPString(req1 + pos, data->wap_setting->sms_service_number, 1); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >nk7110.c:2368:62: note: passing argument to parameter 'string' here > 2368 | static int PackWAPString(unsigned char *dest, unsigned char *string, in... > | ^ >nk6510.c:2675:24: warning: passing 'char[512]' to parameter of type > nk7110.c'unsigned char *': 2441converts: 37between: pointerswarning: passingto 'char[22]'integer totypes parameterwhere ofone typeis > > 'unsigned char *'of convertsthe betweenunique pointersplain to'char' integertype typesand wherethe oneother isis > notof [-Wpointer-sign]the > unique plain2675 | 'char' type candh ather _otheru nisi cnoto d[-Wpointer-sign]e >_decod e2441( | f i l.e.-.>+n=a mPea,c kmWeAsPsSatgrei n+g (3r2e,q 1i )+; >p o| s ^~~~~~~~~~, > d../../include/gnokii-internal.ha:t88a:-49>:w anote: ppassing_ sargumente ttot iparametern >g -'dest'> sherem >s_se r88v | eurn_sniugmnbeedr ,i n1t) ;c >h a| r ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_ >unnk7110.ci:c2368o:d62e:_ dnote: epassingc oargumentd eto( uparametern s'string'i gheren >ed c h2368a | rs*t adteisct ,i ncto nPsatc kuWnAsPiSgtnreidn gc(huan.s.i.g >n e| d ^ >char *dest, unsigned char *string, in... > | ^ >nk7110.c:2451:37: warning: passing 'char[22]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 2451 | ...pos += Pnk6510.ca:c2528k:W12A:P Swarning: tvariabler i'frame_length'n gset( rbute qnot1 used+ > p[-Wunused-but-set-variable]o >s, 2528d | a tian-t> wia,p _js,e tftrianmge-_>lgesnmg_tdha;t >a _| i ^p >, 1); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >nk7110.c:2368:62: note: passing argument to parameter 'string' here > 2368 | static int PackWAPString(unsigned char *dest, unsigned char *string, in... > | ^ >nk7110.c:2453:37: warning: passing 'char[22]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 2453 | ...pos += PackWAPString(req1 + pos, data->wap_setting->number, 1); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >nk7110.c:2368:62: note: passing argument to parameter 'string' here > 2368 | static int PackWAPString(unsigned char *dest, unsigned char *string, in... > | ^ >nk7110.c:2455:37: warning: passing 'char[34]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 2455 | ...+= PackWAPString(req1 + pos, data->wap_setting->gsm_data_username, 1); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >nk7110.c:2368:62: note: passing argument to parameter 'string' here > 2368 | static int PackWAPString(unsigned char *dnk6510.ce:s2917t:,30 :u nwarning: spassingi g'char[40]'n etod parameterc hofa rtype *'u8 *'s >t r(aka 'unsigned char *')i nconvertsg ,between ipointersn .to. .integer > types| ^where > > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 2917 | nk7110.c :P2457a:c37k:B lwarning: opassingc k'char[22]'( 0tox 1parametera ,of 1type0 >, 'unsigned char *'& bconvertsl obetweenc kpointers, tos tintegerr itypesn gwhere, oner eisq > +of 2the2 ,unique 4plain0 'char'- type2 2and) ;the > other| ^~~~~~is > notnk6510.c :[-Wpointer-sign]2876 >:61: note: passing2457 | argument to. .parameter. +'buf'= hereP >ack W2876A | PsSttartiincg (urnesqi1g n+e dp ocsh,a rd aPtaac-k>Bwlaopc_ks(eut8t iindg,- >ug8s msize, int *no, u8 *buf, u8 *block, uns... > | ^ >_data_password, 1); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >nk7110.c:2368:62: note: passing argument to parameter 'string' here > 2368 | static int PackWAPString(unsigned char *dnk6510.ce:s2952t:,30 :u nwarning: spassingi g'unsigned int *'n etod parameterc hofa rtype *'int *'s >t rconvertsi nbetweeng ,pointers iton .integer. .types > with| ^different > sign > [-Wpointer-sign] > 2952 | count += PackBlock(0x1e, 3, &block, string, req + count, 400 - count); > | ^~~~~~ >nk6510.c:2876:53: note: passing argument to parameter 'no' here > 2876 | static unsigned char PackBlock(u8 id, u8 size, int *no, u8 *buf, u8 *blo... > | ^ >nk6510.c:2952:38: warning: passing 'char[150]' to parameter of type 'u8 *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 2952 | count += PackBlock(0x1e, 3, &block, string, req + count, 400 - count); > | ^~~~~~ >nk6510.c:2876:61: note: passing argument to parameter 'buf' here > 2876 | static unsigned char PackBlock(u8 id, u8 size, int *no, u8 *buf, u8 *block, uns... > | ^ >nk6510.c:2960:51: warning: passing 'unsigned int *' to parameter of type 'int *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > 2960 | count += PackBlock(0x1b, data->bitmap->size + 5, &block, string... > | ^~~~~~ >nk6510.c:2876:53: note: passing argument to parameter 'no' here > 2876 | static unsigned char PackBlock(u8 id, u8 size, int *no, u8 *nk7110.cb:u2526f:,34 :u 8warning: passing* b'char[52]'l oto. .parameter. >of | type ^ > > 'unsigned char *' converts between nk6510.cpointers: 2960to: 59integer: typeswarning: passingwhere 'char[150]'one tois >parameter ofof thetype unique'u8 *' >plain (aka 'unsigned char *')'char' convertstype betweenand pointersthe toother integeris typesnot where[-Wpointer-sign] > > one is 2526of | thep ouniques plain+ ='char' Ptypea candk WtheA PotherS tisr inotn >g ([-Wpointer-sign]r >eq +2960 | p ocso,u ndta t+a=- >Pwaacpk_Bblooockkm(a0rxk1-b>,n admaet,a -1>)b;i >t m| a ^~~~~~~~~~~~~~~~~~~~~~~~p >->nk7110.cs:i2368z:e62 :+ note: 5passing, argument& btol oparameterc k'string', heres >trin g2368, | srteaqt i+c ci.n.t. >P a| c ^~~~~~k >WAnk6510.cP:S2876t:r61i:n gnote: (passingu narguments itog nparametere d'buf' chereh >ar *d e2876s | ts,t autnisci gunnesdi gcnheadr c*hsatrr iPnagc,k Bilno.c.k.( >u 8| ^i >d, u8 size, int *no, u8 *buf, nk7110.cu:82527 :*34b:l owarning: cpassingk ,'char[258]' uton sparameter. .of. >type >| ^'unsigned char *' > converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] >nk6510.c: 29642527: | 26 :p owarning: spassing +'char *'= toP aparameterc kofW AtypeP >S t'unsigned char *'r iconvertsn gbetween( rpointerse qto +integer ptypeso swhere, oned aist >a -of> wthea punique_ bplaino o'char'k mtypea randk -the> UotherR Lis, not1 )[-Wpointer-sign]; > > | ^~~~~~~~~~~~~~~~~~~~~~~2964 > | nk7110.ci: 2368=: 62c:h anote: rpassing_ uargumentn itoc oparameterd e'string'_ eheren >cod e2368( | (ssttartiincg i+n t1 )P,a cdkaWtAaP-S>tbriitnmga(pu-n>stiegxnte,d ic)h;a >r | * ^~~~~~~~~~~~d >es../../include/gnokii-internal.ht:,89 :u49n:s inote: gpassingn eargumentd toc hparametera >r 'dest'* sheret >ring ,89 | iunn.s.i.g >n e| d ^ >int char_unicode_encode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:2964:40: warning: passing 'char[256]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 2964 | i = char_unicode_encode((string + 1), data->bitmap->text, i); > | ^~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk6510.c:2966:34: warning: passing 'unsigned int *' to parameter of type 'int *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > 2966 | count += PackBlock(0x07, i + 1, &block, string, req + count, 40... > | ^~~~~~ >nk6510.c:2876:53: note: passing argument to parameter 'no' here > 2876 | static unsigned char PackBlock(u8 id, u8 size, int *no, u8 *buf, u8 *blo... > | ^ >nk6510.c:2966:42: warning: passing 'char[150]' to parameter of type 'u8 *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 2966 | count += PackBlock(0x07, i + 1, &block, string, req + count, 40... > | ^~~~~~ >nk6510.c:2876:61: note: passing argument to nk7110.cparameter: 2649'buf': 24here: > warning: passing 'char[40]'2876 | tos tparametera tofi ctype >u n'unsigned char *'s iconvertsg nbetweene dpointers ctoh aintegerr typesP awherec koneB liso >c k(uof8 thei dunique, plainu 8'char' stypei zande ,the iothern tis *notn o[-Wpointer-sign], > u8 *b u2649f | , u 8c h*abrl_oucnki,c oudnes_.d.e.c >o d| e ^( >data->profile->name, messag... > | ^~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsink6510.cg:n2989e:d31 :c hwarning: apassingr *'unsigned int *' dtoe sparametert ,of ctypeo n'int *'s >t convertsu nbetweens ipointersg ntoe dinteger ctypesh awith. .different. >sign >| ^[-Wpointer-sign] > > 2989 | count += PackBlock(0x37, 11, &block, string, req + count, 400-count); > | ^~~~~~ >nk6510.c:2876:53: note: passing argument to parameter 'no' here > 2876 | static unsigned char PackBlock(u8 id, u8 size, int *no, u8 *buf, u8 *blo... > | ^ >nk6510.c:2989:39: warning: passing 'char[150]' to parameter of type 'u8 *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 2989 | count += PackBlock(0x37, 11, &block, string, req + count, 400-count); > | ^~~~~~ >nk6510.c:2876:61: note: passing argument to parameter 'buf' here > 2876 | static unsigned char PackBlock(u8 id, u8 size, int *no, u8 *buf, u8 *block, uns... > | ^ >nk7110.c:2802:23: warning: passing 'char[20]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 2802 | char_unicode_decode(data->ringtone->name, message + 6, 2 * 15); > | ^~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* desnk6510.ct:,3081 :c30o:n swarning: tpassing u'char *'n stoi gparametern eofd typec >h a'unsigned char *'. .converts. >between | pointers ^ >to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 3081 | ...j = char_unicode_encode((string + 1), entry->subentries[i].data.number, ... > | ^~~~~~~~~~~~ >../../include/gnokii-internal.h:89:49: note: passing argument to parameter > 'dest' here > 89 | unsigned int char_unicode_encode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:3081:44: warning: passing 'char[62]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 3081 | ...= char_unicode_encode((string nk7110.c+: 28461:)31,: ewarning: npassingt r'char[20]'y -to> sparameteru bofe ntypet >r i'const unsigned char *'e sconverts[ ibetween] .pointersd atot ainteger. ntypesu mwhereb >e rone, iss tof. .the. >unique | plain ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >'char' type../../include/gnokii-internal.h :and89 :the76 :other note: ispassing notargument > to[-Wpointer-sign] >parameter 'src' > 2846here | > c h89a | r _ u.n.i.ccohdaer__eunnciocdoed(er_eeqn c+o d6e,( udnastiag-n>erdi ncghtaorn*e -d>ensatm,e ,c osntsrtl eunn(sdiagtnae-d> .c.h.a >r *| ^~~~~~~~~~~~~~~~~~~~s >rc,../../include/gnokii-internal.h :i89n:t76 :l .note: .passing. >argument | to ^ >parameter 'src' > here > 89 | ...char_unicode_encode(unsignenk6510.cd: 3083c:h46a:r *warning: passingd e'char[1024]'s tto, parameterc oofn stypet 'u8 *'u >n s(aka 'unsigned char *')i gconvertsn ebetweend pointersc htoa rinteger* typess rwherec >, onei nist ofl .the. .unique > plain| ^'char' > type and the other is not > [-Wpointer-sign] > 3083 | ...count += PackBlock(0x47, j + 1, &block, string, req + count, GN_PHONEBOO... > | ^~~~~~ >nk6510.c:2876:61: note: passing argument to parameter 'buf' here > 2876 | static unsigned char PackBlock(u8 id, u8 size, int *no, u8 *buf, u8 *block, uns... > | ^ >nk6510.c:3088:30: warning: passing 'char *' to parameter of type > nk7110.c'unsigned char *': 2864converts: 15between: pointerswarning: assigningto tointeger 'unsigned char *'types fromwhere 'char[4096]'one > isconverts > betweenof pointersthe tounique integerplain types'char' wheretype oneand isthe ofother theis uniquenot > [-Wpointer-sign]plain > 'char' type 3088and | the .other. .isj not= [-Wpointer-sign]c >har_u n2864i | c ordaew_deantcao.ddea(t(as t=r ibnugf ;+ > 1| ) ^ ~~~, > entry->subentries[i].data.number, ... > | ^~~~~~~~~~~~ >../../include/gnokii-internal.h:89:49: note: passing argument to parameter > 'dest' here > 89 | unsigned int char_unicode_encode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:3088:44: warning: passing 'char[62]' to parameter of type > 'const unsigned char *' converts between pointersnk7110.c :to2885 :integer 15types: wherewarning: > assigningone tois 'unsigned char *'of fromthe 'char[4096]'unique > plainconverts 'char'between typepointers andto theinteger othertypes iswhere notone > is[-Wpointer-sign] >of the3088 | unique > .plain. .'char'= typec handa rthe_ uothern iisc onotd e[-Wpointer-sign]_ >enco d2885e | ( (rsatwrdiantga .+d a1t)a, =e nbturfy;- >> s| u ^ ~~~b >entries[i].data.number, st... > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | nk7110.c.:.2891.:c34h:a rwarning: _passingu n'unsigned char *'i ctoo dparametere _ofe ntypec >o d'char *'e (convertsu nbetweens ipointersg ntoe dinteger ctypesh awherer *one dise soft ,the >c ouniquen splaint 'char'u ntypes iandg nthee dother cish anotr *[-Wpointer-sign] >src, i n2891t | li.f. .( >( e| r ^r > = pnok_ringtone_to_raw(rnk6510.ca:w3090d:a46t:a .warning: dpassinga t'char[1024]'a ,to ¶meterr aofw dtypea t'u8 *'a >. l(aka 'unsigned char *')e nconvertsg tbetweenh ,pointers dto. .integer. >types | where ^~~~~~~~~~~~ > > one is ../../include/phones/nokia.hof: 49the: 37unique: plainnote: passing'char' argumenttype toand parameterthe 'raw'other > ishere >not > [-Wpointer-sign] >49 | gn _3090e | r r o.r. .pcnooukn_tr i+n=g tPoancek_Btloo_crka(w0(xc4h6a,r j* r+a w1,, i&nbtl o*crka,w lsetnr,i ncgo,n srte qg n+_ rcionugntto,n eG N._.P.H >O N| E ^B >OO... > | ^~~~~~ >nk6510.cnk7110.c::28762891::6148:: note: warning: passingpassing argument'unsigned int *' toto parameterparameter 'buf'of heretype > 'int *' > 2876converts | sbetweent apointerst itoc integeru ntypess iwithg ndifferente dsign >c h[-Wpointer-sign]a >r Pack B2891l | o cikf( u(8( eirdr, =u 8p nsoikz_er,i nigntto n*en_ot,o _ur8a w*(bruafw,d aut8a .*dbaltoac,k ,& ruanwsd.a.t.a >. l| e ^n >gth, data->rin... > | ^~~~~~~~~~~~~~~ >../../include/phones/nokia.h:49:47: note: passing argument to parameter 'rawlen' > here > nk6510.c49: | 3099g:n29_:e rwarning: rpassingo r'char *' pton oparameterk _ofr itypen >g t'unsigned char *'o nconvertse _betweent opointers_ rtoa winteger( ctypesh awherer one* risa >w ,of ithen tunique *plainr a'char'w ltypee nand, thec oothern sist notg n[-Wpointer-sign]_ >rin g3099t | o n e .j. .= > c| h ^a >r_unicode_encode((string + 1), en... > | ^~~~~~~~~~~~ >../../include/gnokii-internal.h:89:49: note: passing argument to parameter > 'dest' here > 89 | unsigned int char_unicode_encode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:3099:43: warning: passing 'char[62]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 3099 | ...j = char_unicode_encode((string + 1), entry->name, strlen(entry->name)); > | ^~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk6510.c:3101:45: warning: passing 'char[1024]' to parameter of type 'u8 *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 3101 | ...count += PackBlock(0x47, j + 1, &block, string, req + count, GN_PHONEBOO... > | ^~~~~~ >nk6510.c:2876:61: note: passing argument to parameter 'buf' here > 2876 | static unsigned char PackBlock(u8 id, u8 size, int *no, u8 *buf, u8 *block, uns... > | ^ >nk6510.c:3105:28: warning: passing 'char *' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 3105 | j = char_unicode_encode((string + 1), entry->nam... > | ^~~~~~~~~~~~ >../../include/gnokii-internal.h:89:49: note: passing argument to parameter > 'dest' here > 89 | unsigned int char_unicode_encode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:3105:42: warning: passing 'char[62]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 3105 | ...j = char_unicode_encode((string + 1), entry->name, strlen(entry->name)); > | ^~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk6510.c:3107:44: warning: passing 'char[1024]' to parameter of type 'u8 *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 3107 | ...count += PackBlock(0x07, j + 1, &block, string, req + count, GN_PHONEBOO... > | ^~~~~~ >nk6510.c:2876:61: note: passing argument to parameter 'buf' here > 2876 | static unsigned char PackBlock(u8 id, u8 size, int *no, u8 *buf, u8 *block, uns... > | ^ >nk6510.c:3113:40: warning: passing 'char[1024]' to parameter of type 'u8 *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 3113 | ...count += PackBlock(0x1e, 3, &block, string, req + count, GN_PHONEBOOK_EN... > | ^~~~~~ >nk6510.c:2876:61: note: passing argument to parameter 'buf' here > 2876 | static unsigned char PackBlock(u8 id, u8 size, int *no, u8 *buf, u8 *block, uns... > | ^ >nk6510.c:3123:28: warning: passing 'char *' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 3123 | j = char_unicode_encode((string + 5), entry->number, j); > | ^~~~~~~~~~~~ >../../include/gnokii-internal.h:89:49: note: passing argument to parameter > 'dest' here > 89 | unsigned int char_unicode_encode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:3123:42: warning: passing 'char[50]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 3123 | j = char_unicode_encode((string + 5), entry->number, j); > | ^~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk6510.c:3126:44: warning: passing 'char[1024]' to parameter of type 'u8 *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 3126 | ...count += PackBlock(0x0b, j + 5, &block, string, req + count, GN_PHONEBOO... > | ^~~~~~ >nk6510.c:2876:61: note: passing argument to parameter 'buf' here > 2876 | static unsigned char PackBlock(u8 id, u8 size, int *no, u8 *buf, u8 *block, uns... > | ^ >nk6510.c:3138:29: warning: passing 'char *' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 3138 | j = char_unicode_encode((string + 5), en... > | ^~~~~~~~~~~~ >../../include/gnokii-internal.h:89:49: note: passing argument to parameter > 'dest' here > 89 | unsigned int char_unicode_encode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:3138:43: warning: passing 'char[62]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 3138 | ...+ 5), entry->subentries[defaultn].data.number, j); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk6510.c:3141:45: warning: passing 'char[1024]' to parameter of type 'u8 *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 3141 | ...count += PackBlock(0x0b, j + 5, &block, string, req + count, GN_PHONEBOO... > | ^~~~~~ >nk6510.c:2876:61: note: passing argument to parameter 'buf' here > 2876 | static unsigned char PackBlock(u8 id, u8 size, int *no, u8 *buf, u8 *block, uns... > | ^ >nk6510.c:3176:31: warning: passing 'char *' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 3176 | ...j =nk7110.c :c3299h:a24r:_ uwarning: nipassingc o'char[62]'d eto_ eparametern cofo dtypee >( ('unsigned char *'s tconvertsr ibetweenn gpointers +to 5integer) ,types ewheren toner yis- >> sofu bthee nuniquet rplaini e'char's [typei ]and. dthea tothera .isn unotm b[-Wpointer-sign]e >r, j); >3299 | | ^~~~~~~~~~~~ > cha../../include/gnokii-internal.hr:_89u:n49i:c onote: dpassinge _argumentd etoc oparameterd >e ('dest'c ahere[ >i].n a89m | eu,n spiogsn e+d 1i2n,t 2c h*a rp_ousn[i1c0o]d)e;_ >e n| c ^~~~~~~~~~o >de(u../../include/gnokii-internal.hn:s88i:g49n:e dnote: passingc hargumenta rto* parameterd >e s'dest't ,here >const 88u | nusnisgingende dc hian.t. .c >h a| r ^_ >unicode_nk6510.cd:e3176c:o45d:e (warning: upassingn s'char[62]'i gton eparameterd ofc htypea >r *'const unsigned char *' dconvertse sbetweent ,pointers ctoo nintegers ttypes uwheren >s ioneg nise dof ctheh aunique. .plain. >'char' | type ^ >and the other is not > [-Wpointer-sign] > 3176 | ...= char_unicode_nk7110.ce:n3300c:o24d:e (warning: (passings t'char[50]'r iton gparameter +of 5type) >, 'unsigned char *'e nconvertst rbetweeny -pointers> stou bintegere ntypest rwherei eones [isi >] .ofd athet aunique. nplainu m'char'b etyper ,and jthe) ;other > is| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~not > [-Wpointer-sign] >../../include/gnokii-internal.h:89:76 :3300 | note: passing argumentc htoa rparameter_ u'src'n >i chereo >de_ d89e | c o d.e.(.ccah[air]_.unnuimcboedre,_ epnocso d+e (1u1n2s,i g2n e.d. .c >h a| r ^~~~~~~~~~~~* > d../../include/gnokii-internal.he:s88t:,49 :c onote: npassings targument uton sparameteri >g n'dest'e dhere >char *88 | surncs,i ginnetd li.n.t. >c h| a ^r >_unicode_decode(unsigned char* dest, const unsignenk6510.cd: 3179c:h47a:. .warning: .passing > 'char[1024]'| ^to > parameter of type 'u8 *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 3179 | ...count += PackBlock(0x0b, j + 5, &block, string, req + count, GN_PHONEBOO... > | ^~~~~~ >nk6510.c:2876:61: note: passing argument to parameter 'buf' here > 2876 | static unsigned char PackBlock(u8 id, u8 size, int *no, u8 *buf, u8 *block, uns... > | ^ >nk6510.c:3186:42: warning: passing 'char[1024]' to parameter of type 'u8 *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 3186 | ...count += PackBlock(0x43, 3, &block, string, req + count, GN_PHnk7110.cO:N3364E:B43O:O Kwarning: _passingE N'char[50]'. .to. >parameter | of ^~~~~~ >type >nk6510.c :'const unsigned char *'2876 :converts61 :between note: pointerspassing toargument integerto typesparameter where'buf' > hereone > is of 2876the | suniquet aplaint i'char'c typeu nands itheg nothere dis cnoth >a r[-Wpointer-sign] >PackB l3364o | c kl(eun8 =i dc,h aur8_ usniizceo,d ei_netn c*ondoe,( rue8q *+b upfo,s u+8 1*,b ldoactka,- >ucnasl.l._.i >n f| o ^- >>number, len); > | ^~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk6510.c:3208:30: warning: passing 'char *' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 3208 | ...j = char_unicode_encode((string + 1), entry->subentries[i].data.number, j); > | ^~~~~~~~~~~~ >../../include/gnokii-internal.h:89:49: note: passing argument to parameter > 'dest' here > 89 | unsigned int char_unicode_encode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:3208:44: warning: passing 'char[62]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 3208 | ...= char_unicode_encode((string + 1), entry->subentries69[ warningis] and .3d errorast generateda. >.number, j); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk6510.c:3211:73: warning: passing 'char[1024]' to parameter of type 'u8 *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 3211 | ...PackBlock(entry->subentries[i].entry_type, j + 1, &block, string, req + ... > | ^~~~~~ >nk6510.c:2876:61: note: passing argument to parameter 'buf' here > 2876 | static unsigned char PackBlock(u8 id, u8 size, int *no, u8 *buf, u8 *block, uns... > | ^ >nk6510.c:3248:31: warning: passing 'char *' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 3248 | ...j = char_unicode_encode((string + 1), entry->subentries[i].data.number, j); > | ^~~~~~~~~~~~ >../../include/gnokii-internal.h:89:49: note: passing argument to parameter > 'dest' here > 89 | unsigned int char_unicode_encode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:3248:45: warning: passing 'char[62]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 3248 | ...= char_unicode_encode((string + 1), entry->subentries[i].data.number, j); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk6510.c:3251:81: warning: passing 'char[1024]' to parameter of type 'u8 *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 3251 | ...j + 1, &postal_block, string, req + count, GN_PHONEBOOK_ENTRY_MAX_LENGT... > | ^~~~~~ >nk6510.c:2876:61: note: passing argument to parameter 'buf' here > 2876 | static unsigned char PackBlock(u8 id, u8 size, int *no, u8 *buf, u8 *block, uns... > | ^ >nk6510.c:3553:22: warning: passing 'char[258]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 3553 | char_unicode_decode(data->calnote->text, message + 54, len1 * 2); > | ^~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:3559:24: warning: passing 'char[258]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 3559 | char_unicode_decode(data->calnote->mlocation, > | ^~~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:3563:24: warning: passing 'char[49]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 3563 | char_unicode_decode(data->calnote->phone_number, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:3615:22: warning: passing 'char[256]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 3615 | char_unicode_decode(data->todo->text, message + 54, len * 2); > | ^~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:3939:38: warning: passing 'char[258]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 3939 | len = char_unicode_encode(req + 54, calnote->text, strlen(calnot... > | ^~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk6510.c:3952:48: warning: passing 'char[258]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 3952 | ...count += char_unicode_encode(req + 54 + len, calnote->mlocation, strlen(... > | ^~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk6510.c:3957:48: warning: passing 'char[49]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 3957 | ...+= char_unicode_encode(req + 54 + len, calnote->phone_number, strlen(cal... > | ^~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >gmake[2]: *** [Makefile:581: libPHONES_la-nk7110.lo] Error 1 >nk6510.c:4143:42: warning: passing 'char[258]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 4143 | ...len = char_unicode_encode(req + count, calnote->text, strlen(calnote->te... > | ^~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk6510.c:4173:42: warning: passing 'char[258]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 4173 | ...len = char_unicode_encode(req + count, calnote->text, strlen(calnote->te... > | ^~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk6510.c:4175:42: warning: passing 'char[49]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 4175 | ...len = char_unicode_encode(req + count, calnote->phone_number, strlen(cal... > | ^~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk6510.c:4215:42: warning: passing 'char[258]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 4215 | ...len = char_unicode_encode(req + count, calnote->text, strlen(calnote->te... > | ^~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk6510.c:4230:42: warning: passing 'char[258]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 4230 | ...len = char_unicode_encode(req + count, calnote->text, strlen(calnote->te... > | ^~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk6510.c:4602:24: warning: passing 'char[20]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 4602 | char_unicode_decode(rl->ringtone[j].name, messag... > | ^~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:4641:23: warning: passing 'char[20]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 4641 | char_unicode_decode(data->ringtone->name, pos, 2 * message[7]); > | ^~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:4707:37: warning: passing 'char[20]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 4707 | len = char_unicode_encode(pos + 1, data->ringtone->name, *pos); > | ^~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk6510.c:4730:15: warning: assigning to 'unsigned char *' from 'char[4096]' > converts between pointers to integer types where one is of the unique > plain 'char' type and the other is not [-Wpointer-sign] > 4730 | rawdata.data = buf; > | ^ ~~~ >nk6510.c:4751:15: warning: assigning to 'unsigned char *' from 'char[4096]' > converts between pointers to integer types where one is of the unique > plain 'char' type and the other is not [-Wpointer-sign] > 4751 | rawdata.data = buf; > | ^ ~~~ >nk6510.c:4757:34: warning: passing 'unsigned char *' to parameter of type > 'char *' converts between pointers to integer types where one is of the > unique plain 'char' type and the other is not [-Wpointer-sign] > 4757 | if ((err = pnok_ringtone_to_raw(rawdata.data, &rawdata.length, d... > | ^~~~~~~~~~~~ >../../include/phones/nokia.h:49:37: note: passing argument to parameter 'raw' > here > 49 | gn_error pnok_ringtone_to_raw(char *raw, int *rawlen, const gn_ringtone ... > | ^ >nk6510.c:4757:48: warning: passing 'unsigned int *' to parameter of type 'int *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > 4757 | if ((err = pnok_ringtone_to_raw(rawdata.data, &rawdata.length, data->rin... > | ^~~~~~~~~~~~~~~ >../../include/phones/nokia.h:49:47: note: passing argument to parameter 'rawlen' > here > 49 | gn_error pnok_ringtone_to_raw(char *raw, int *rawlen, const gn_ringtone ... > | ^ >nk6510.c:4801:24: warning: passing 'char[256]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 4801 | char_unicode_decode(data->bitmap->text, message ... > | ^~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:4970:25: warning: passing 'char[40]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 4970 | ...char_unicode_decode(data->profile->name, blockstart + 7, blockstart[6] <... > | ^~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:5173:46: warning: passing 'char[40]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 5173 | j = char_unicode_encode((req + length + 7), data->profile->name, j); > | ^~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk6510.c:5481:25: warning: passing 'char[50]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 5481 | char_unicode_decode(cinfo.number, messag... > | ^~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:5484:25: warning: passing 'char[62]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 5484 | char_unicode_decode(cinfo.name, message ... > | ^~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:5610:24: warning: passing 'char[62]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 5610 | char_unicode_decode(ca[i].name, pos + 12, 2 * pos[10]); > | ^~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:5611:24: warning: passing 'char[50]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 5611 | char_unicode_decode(ca[i].number, pos + 112, 2 ... > | ^~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:5690:38: warning: passing 'char[50]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 5690 | len = char_unicode_encode(req + 16, data->call_info->number, len); > | ^~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk6510.c:5745:43: warning: passing 'char[50]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 5745 | len = char_unicode_encode(req + pos + 1, data->call_info->number, len); > | ^~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >nk6510.c:5868:23: warning: passing 'char[52]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 5868 | char_unicode_decode(data->wap_bookmark->name, message + ... > | ^~~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:5874:23: warning: passing 'char[258]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 5874 | char_unicode_decode(data->wap_bookmark->URL, message + p... > | ^~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:5891:23: warning: passing 'char[22]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 5891 | char_unicode_decode(data->wap_setting->name, message + 6... > | ^~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:5898:23: warning: passing 'char[95]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 5898 | char_unicode_decode(data->wap_setting->home, message + p... > | ^~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:5926:23: warning: passing 'char[22]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 5926 | char_unicode_decode(data->wap_setting->gsm_data_ip, mess... > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:5932:23: warning: passing 'char[22]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 5932 | char_unicode_decode(data->wap_setting->number, message ... > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:5938:23: warning: passing 'char[34]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 5938 | ...char_unicode_decode(data->wap_setting->gsm_data_username, message + pos... > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:5944:23: warning: passing 'char[22]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 5944 | ...char_unicode_decode(data->wap_setting->gsm_data_password, message + pos... > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:5958:23: warning: passing 'char[102]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 5958 | ...char_unicode_decode(data->wap_setting->access_point_name, message + pos... > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:5964:23: warning: passing 'char[22]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 5964 | char_unicode_decode(data->wap_setting->gprs_ip, message ... > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:5970:23: warning: passing 'char[34]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 5970 | char_unicode_decode(data->wap_setting->gprs_username, me... > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:5977:24: warning: passing 'char[22]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 5977 | ...char_unicode_decode(data->wap_setting->gprs_password, message + pos, str... > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:6032:18: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > 6032 | length = strlen(string); > | ^~~~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here > 407 | extern size_t strlen (const char *__s) > | ^ >nk6510.c:6063:34: warning: passing 'char[22]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 6063 | pos += PackWAPString(req + pos, data->wap_setting->name, 1); > | ^~~~~~~~~~~~~~~~~~~~~~~ >nk6510.c:6028:62: note: passing argument to parameter 'string' here > 6028 | static int PackWAPString(unsigned char *dest, unsigned char *string, in... > | ^ >nk6510.c:6071:34: warning: passing 'char[95]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 6071 | pos += PackWAPString(req + pos, data->wap_setting->home, 2); > | ^~~~~~~~~~~~~~~~~~~~~~~ >nk6510.c:6028:62: note: passing argument to parameter 'string' here > 6028 | static int PackWAPString(unsigned char *dest, unsigned char *string, in... > | ^ >nk6510.c:6097:34: warning: passing 'char[22]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 6097 | pos += PackWAPString(req + pos, data->wap_setting->gsm_data_ip, 1); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >nk6510.c:6028:62: note: passing argument to parameter 'string' here > 6028 | static int PackWAPString(unsigned char *dest, unsigned char *string, in... > | ^ >nk6510.c:6099:34: warning: passing 'char[22]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 6099 | pos += PackWAPString(req + pos, data->wap_setting->number, 2); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >nk6510.c:6028:62: note: passing argument to parameter 'string' here > 6028 | static int PackWAPString(unsigned char *dest, unsigned char *string, in... > | ^ >nk6510.c:6101:34: warning: passing 'char[34]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 6101 | ...+= PackWAPString(req + pos, data->wap_setting->gsm_data_username, 2); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >nk6510.c:6028:62: note: passing argument to parameter 'string' here > 6028 | static int PackWAPString(unsigned char *dest, unsigned char *string, in... > | ^ >nk6510.c:6103:34: warning: passing 'char[22]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 6103 | ...+= PackWAPString(req + pos, data->wap_setting->gsm_data_password, 2); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >nk6510.c:6028:62: note: passing argument to parameter 'string' here > 6028 | static int PackWAPString(unsigned char *dest, unsigned char *string, in... > | ^ >nk6510.c:6121:34: warning: passing 'char[102]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 6121 | ...+= PackWAPString(req + pos, data->wap_setting->access_point_name, 1); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >nk6510.c:6028:62: note: passing argument to parameter 'string' here > 6028 | static int PackWAPString(unsigned char *dest, unsigned char *string, in... > | ^ >nk6510.c:6123:34: warning: passing 'char[22]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 6123 | pos += PackWAPString(req + pos, data->wap_setting->gprs_ip, 2); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >nk6510.c:6028:62: note: passing argument to parameter 'string' here > 6028 | static int PackWAPString(unsigned char *dest, unsigned char *string, in... > | ^ >nk6510.c:6125:34: warning: passing 'char[34]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 6125 | pos += PackWAPString(req + pos, data->wap_setting->gprs_username, 2); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >nk6510.c:6028:62: note: passing argument to parameter 'string' here > 6028 | static int PackWAPString(unsigned char *dest, unsigned char *string, in... > | ^ >nk6510.c:6127:34: warning: passing 'char[22]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 6127 | pos += PackWAPString(req + pos, data->wap_setting->gprs_password, 2); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >nk6510.c:6028:62: note: passing argument to parameter 'string' here > 6028 | static int PackWAPString(unsigned char *dest, unsigned char *string, in... > | ^ >nk6510.c:6200:34: warning: passing 'char[52]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 6200 | pos += PackWAPString(req + pos, data->wap_bookmark->name, 2); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >nk6510.c:6028:62: note: passing argument to parameter 'string' here > 6028 | static int PackWAPString(unsigned char *dest, unsigned char *string, in... > | ^ >nk6510.c:6201:34: warning: passing 'char[258]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 6201 | pos += PackWAPString(req + pos, data->wap_bookmark->URL, 2); > | ^~~~~~~~~~~~~~~~~~~~~~~ >nk6510.c:6028:62: note: passing argument to parameter 'string' here > 6028 | static int PackWAPString(unsigned char *dest, unsigned char *string, in... > | ^ >nk6510.c:6305:23: warning: passing 'char[256]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > 6305 | char_unicode_decode(data->todo->text, message + 14, leng... > | ^~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:88:49: note: passing argument to parameter > 'dest' here > 88 | unsigned int char_unicode_decode(unsigned char* dest, const unsigned cha... > | ^ >nk6510.c:6431:37: warning: passing 'char[256]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 6431 | length = char_unicode_encode(text, data->todo->text, strlen(data... > | ^~~~~~~~~~~~~~~~ >../../include/gnokii-internal.h:89:76: note: passing argument to parameter 'src' > here > 89 | ...char_unicode_encode(unsigned char* dest, const unsigned char* src, int l... > | ^ >113 warnings and 3 errors generated. >gmake[2]: *** [Makefile:588: libPHONES_la-nk6510.lo] Error 1 >gmake[2]: Leaving directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31/common/phones' >gmake[1]: *** [Makefile:948: all-recursive] Error 1 >gmake[1]: Leaving directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31/common' >make: *** [Makefile:498: all-recursive] Error 1 > * ERROR: app-mobilephone/gnokii-0.6.31-r4::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=app-mobilephone/gnokii-0.6.31-r4::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-mobilephone/gnokii-0.6.31-r4::gentoo'`. > * The complete build log is located at '/var/log/portage/app-mobilephone:gnokii-0.6.31-r4:20230925-164729.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/temp/environment'. > * Working directory: '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31' > * S: '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r4/work/gnokii-0.6.31' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 914709
:
871401
| 871402 |
871403
|
871404
|
871405
|
871406
|
871407
|
871408