86>Apr 21 01:09:53 userdel[85312]: delete user 'rooter'
<86>Apr 21 01:09:53 groupadd[85319]: group added to /etc/group: name=rooter, GID=615
<86>Apr 21 01:09:53 groupadd[85319]: group added to /etc/gshadow: name=rooter
<86>Apr 21 01:09:53 groupadd[85319]: new group: name=rooter, GID=615
<86>Apr 21 01:09:53 useradd[85324]: new user: name=rooter, UID=615, GID=615, home=/root, shell=/bin/bash
<86>Apr 21 01:09:53 userdel[85331]: delete user 'builder'
<86>Apr 21 01:09:53 userdel[85331]: removed group 'builder' owned by 'builder'
<86>Apr 21 01:09:53 userdel[85331]: removed shadow group 'builder' owned by 'builder'
<86>Apr 21 01:09:53 groupadd[85336]: group added to /etc/group: name=builder, GID=616
<86>Apr 21 01:09:53 groupadd[85336]: group added to /etc/gshadow: name=builder
<86>Apr 21 01:09:53 groupadd[85336]: new group: name=builder, GID=616
<86>Apr 21 01:09:53 useradd[85340]: new user: name=builder, UID=616, GID=616, home=/usr/src, shell=/bin/bash
<13>Apr 21 01:09:58 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed
<13>Apr 21 01:09:58 rpmi: gcc-c++-common-1.4.20-alt1 1432315196 installed
<13>Apr 21 01:09:59 rpmi: libstdc++5-devel-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed
<13>Apr 21 01:10:00 rpmi: gcc5-c++-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed
<13>Apr 21 01:10:01 rpmi: libncurses-devel-5.9-alt8 1456756459 installed
Installing naim-0.11.8.3.2-alt2.qa1.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.1384
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf naim-0.11.8.3.2
+ echo 'Source #0 (naim-0.11.8.3.2.tar.bz2):'
Source #0 (naim-0.11.8.3.2.tar.bz2):
+ /bin/bzip2 -dc /usr/src/RPM/SOURCES/naim-0.11.8.3.2.tar.bz2
+ /bin/tar -xf -
+ cd naim-0.11.8.3.2
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #0 (naim-0.11.8.3.2-alt-build.patch):'
Patch #0 (naim-0.11.8.3.2-alt-build.patch):
+ /usr/bin/patch -p1
patching file src/naimrc_sample.h
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.90913
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd naim-0.11.8.3.2
+ CFLAGS='-pipe -Wall -g -O2'
+ export CFLAGS
+ CXXFLAGS='-pipe -Wall -g -O2'
+ export CXXFLAGS
+ FFLAGS='-pipe -Wall -g -O2'
+ export FFLAGS
+ '[' -n '' ']'
++ printf %s '-pipe -Wall -g -O2'
++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g'
+ ASFLAGS=
+ export ASFLAGS
+ export lt_cv_deplibs_check_method=pass_all
+ lt_cv_deplibs_check_method=pass_all
+ readlink -e -- ./configure
+ xargs -ri dirname -- '{}'
+ xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n'
+ sort -u
+ xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess
+ ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-alt-linux-gcc accepts -g... yes
checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed
checking whether x86_64-alt-linux-gcc and cc understand -c and -o together... yes
Configuring firetalk
checking for an ANSI C-conforming const... yes
checking for x86_64-alt-linux-ranlib... no
checking for ranlib... ranlib
checking how to run the C preprocessor... x86_64-alt-linux-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for getuid... yes
checking for getpwuid... yes
checking for inet_aton... yes
Configuring libtool
checking build system type... x86_64-alt-linux-gnu
checking host system type... x86_64-alt-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by x86_64-alt-linux-gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... (cached) pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-alt-linux-g++ accepts -g... yes
checking how to run the C++ preprocessor... x86_64-alt-linux-g++ -E
checking for x86_64-alt-linux-g77... no
checking for x86_64-alt-linux-xlf... no
checking for x86_64-alt-linux-f77... no
checking for x86_64-alt-linux-frt... no
checking for x86_64-alt-linux-pgf77... no
checking for x86_64-alt-linux-cf77... no
checking for x86_64-alt-linux-fort77... no
checking for x86_64-alt-linux-fl32... no
checking for x86_64-alt-linux-af77... no
checking for x86_64-alt-linux-xlf90... no
checking for x86_64-alt-linux-f90... no
checking for x86_64-alt-linux-pgf90... no
checking for x86_64-alt-linux-pghpf... no
checking for x86_64-alt-linux-epcf90... no
checking for x86_64-alt-linux-gfortran... no
checking for x86_64-alt-linux-g95... no
checking for x86_64-alt-linux-xlf95... no
checking for x86_64-alt-linux-f95... no
checking for x86_64-alt-linux-fort... no
checking for x86_64-alt-linux-ifort... no
checking for x86_64-alt-linux-ifc... no
checking for x86_64-alt-linux-efc... no
checking for x86_64-alt-linux-pgf95... no
checking for x86_64-alt-linux-lf95... no
checking for x86_64-alt-linux-ftn... no
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok
checking for objdir... .libs
checking for x86_64-alt-linux-ar... no
checking for ar... ar
checking for x86_64-alt-linux-ranlib... ranlib
checking for x86_64-alt-linux-strip... no
checking for strip... strip
checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC
checking if x86_64-alt-linux-gcc PIC flag -fPIC works... yes
checking if x86_64-alt-linux-gcc static flag -static works... no
checking if x86_64-alt-linux-gcc supports -c -o file.o... yes
checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... 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 for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by x86_64-alt-linux-g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-alt-linux-g++ option to produce PIC... -fPIC
checking if x86_64-alt-linux-g++ PIC flag -fPIC works... yes
checking if x86_64-alt-linux-g++ static flag -static works... no
checking if x86_64-alt-linux-g++ supports -c -o file.o... yes
checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
Configuring ltdl
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking which extension is used for loadable modules... .so
checking which variable specifies run-time library path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib
checking for objdir... .libs
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen in -ldl... (cached) yes
checking for dlerror... yes
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking for error_t... yes
checking for argz_append... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking for stdlib.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for unistd.h... (cached) yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking sys/dl.h usability... no
checking sys/dl.h presence... no
checking for sys/dl.h... no
checking dld.h usability... no
checking dld.h presence... no
checking for dld.h... no
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking for string.h... (cached) yes
checking for strchr... yes
checking for strrchr... yes
checking for memcpy... yes
checking for memmove... yes
checking for strcmp... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
Configuring naim
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether to enable /detach... no, re-run ./configure with --enable-detach
checking for Cygwin... no
checking for errno.h... (cached) yes
checking sys/errno.h usability... yes
checking sys/errno.h presence... yes
checking for sys/errno.h... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking for sys/types.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for struct tm.tm_gmtoff... yes
checking for inet_ntoa... yes
checking for gethostbyname... yes
checking for gethostbyaddr... yes
checking for socket... yes
checking for connect... yes
checking for wresize in -lncurses... yes
checking for use_default_colors in -lncurses... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for backtrace... yes
checking for backtrace_symbols_fd... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for getopt_long... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for hstrerror... yes
checking for strverscmp... yes
checking for waitpid... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libfiretalk/Makefile
config.status: creating libltdl/Makefile
config.status: creating secs/Makefile
config.status: creating src/Makefile
config.status: creating CYGWIN-PATCHES/Makefile
config.status: creating src/config.h
Building naim 0.11.8.3.2 using x86_64-alt-linux-gcc
Compile flags: -pipe -Wall -g -O2
Link flags: -pipe -Wall -g -O2
Configuration results:
Packaging features: --disable-debug --disable-profile --disable-detach
Installation paths:
--bindir: /usr/bin
--with-pkgmoddir: /usr/lib64/naim
--includedir: /usr/include
--with-pkgincludedir: /usr/include/naim
--mandir: /usr/share/man
--with-pkgdocdir: /usr/share/doc/naim
--without-cygwindocdir
--with-pkgtarball: naim-0.11.8.3.2-x86_64-alt-linux-gnu.tbz2
+ '[' -n '' ']'
+ NPROCS=8
+ make -j8
make: Entering directory `/usr/src/RPM/BUILD/naim-0.11.8.3.2'
Making all in libfiretalk
make[1]: Entering directory `/usr/src/RPM/BUILD/naim-0.11.8.3.2/libfiretalk'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../src -pipe -Wall -g -O2 -c aim.c
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../src -pipe -Wall -g -O2 -c irc.c
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../src -pipe -Wall -g -O2 -c firetalk.c
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../src -pipe -Wall -g -O2 -c lily.c
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../src -pipe -Wall -g -O2 -c toc2.c
lily.c: In function 'lily_signon':
lily.c:793:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
if ((tmp = firetalk_subcode_get_request_reply(c, "VERSION")) == NULL)
^
toc2.c: In function 'toc_internal_send_message':
toc2.c:942:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
int i, j, len = strlen(message);
^
In file included from toc2.c:3:0:
/usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'const unsigned char * const'
extern size_t strlen (const char *__s)
^
toc2.c: In function 'toc_im_send_reply':
toc2.c:988:44: warning: pointer targets in passing argument 3 of 'toc_internal_send_message' differ in signedness [-Wpointer-sign]
return(toc_internal_send_message(c, dest, aim_interpolate_variables(message, dest), 1, &(fchandle->subcode_replies)));
^
toc2.c:940:14: note: expected 'const unsigned char * const' but argument is of type 'char *'
static fte_t toc_internal_send_message(client_t c, const char *const dest, const unsigned char *const message, const int isauto, firetalk_queue_t *queue) {
^
toc2.c: In function 'toc_im_send_message':
toc2.c:1004:44: warning: pointer targets in passing argument 3 of 'toc_internal_send_message' differ in signedness [-Wpointer-sign]
return(toc_internal_send_message(c, dest, message, 0, &(fchandle->subcode_requests)));
^
toc2.c:940:14: note: expected 'const unsigned char * const' but argument is of type 'const char * const'
static fte_t toc_internal_send_message(client_t c, const char *const dest, const unsigned char *const message, const int isauto, firetalk_queue_t *queue) {
^
toc2.c: In function 'toc_im_send_action':
toc2.c:1019:44: warning: pointer targets in passing argument 3 of 'toc_internal_send_message' differ in signedness [-Wpointer-sign]
return(toc_internal_send_message(c, dest, tempbuf, 0, &(fchandle->subcode_requests)));
^
toc2.c:940:14: note: expected 'const unsigned char * const' but argument is of type 'char *'
static fte_t toc_internal_send_message(client_t c, const char *const dest, const unsigned char *const message, const int isauto, firetalk_queue_t *queue) {
^
toc2.c: In function 'toc_set_info':
toc2.c:1065:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
if ((versionctcp = firetalk_subcode_get_request_reply(c, "VERSION")) == NULL)
^
toc2.c:1074:37: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=]
snprintf(profile, sizeof(profile), "%.*s%s%s", infolen, info, versionctcp?versionctcp:"", awayctcp?awayctcp:"");
^
toc2.c:1074:37: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=]
firetalk.c: In function 'firetalk_callback_statusinfo':
firetalk.c:1005:27: warning: unused variable 'buddyiter' [-Wunused-variable]
struct s_firetalk_buddy *buddyiter;
^
firetalk.c: In function 'firetalk_callback_subcode_request':
firetalk.c:1363:20: warning: variable 'sendaddr6' set but not used [-Wunused-but-set-variable]
struct in6_addr *sendaddr6 = NULL;
^
irc.c: In function 'irc_got_data_parse':
irc.c:1240:6: warning: variable 'voiced' set but not used [-Wunused-but-set-variable]
voiced = 0;
^
toc2.c: In function 'toc_got_data':
toc2.c:1580:46: warning: variable 'isaway' set but not used [-Wunused-but-set-variable]
int flags = 0, warning, isadmin, ismobile, isaway;
^
irc.c: At top level:
irc.c:197:2: warning: 'irc_isnick' defined but not used [-Wunused-function]
irc_isnick(const int c) {
^
toc2.c:1796:11: warning: unused variable 'flag' [-Wunused-variable]
int j, flag = atoi(barts[i]), type = atoi(barts[i+1]);
^
In file included from /usr/include/string.h:648:0,
from toc2.c:3:
toc2.c: In function 'toc_got_data_connecting':
../src/config.h:284:22: warning: pointer targets in passing argument 1 of 'toc_make_fake_cap' differ in signedness [-Wpointer-sign]
#define PACKAGE_NAME "naim"
^
toc2.c:2388:37: note: in expansion of macro 'PACKAGE_NAME'
name = strdup(toc_make_fake_cap(PACKAGE_NAME, strlen(PACKAGE_NAME)));
^
toc2.c:2140:20: note: expected 'const unsigned char * const' but argument is of type 'char *'
static const char *toc_make_fake_cap(const unsigned char *const str, const int len) {
^
In file included from /usr/include/string.h:648:0,
from toc2.c:3:
../src/config.h:284:22: warning: pointer targets in passing argument 1 of 'toc_make_fake_cap' differ in signedness [-Wpointer-sign]
#define PACKAGE_NAME "naim"
^
toc2.c:2388:37: note: in expansion of macro 'PACKAGE_NAME'
name = strdup(toc_make_fake_cap(PACKAGE_NAME, strlen(PACKAGE_NAME)));
^
toc2.c:2140:20: note: expected 'const unsigned char * const' but argument is of type 'char *'
static const char *toc_make_fake_cap(const unsigned char *const str, const int len) {
^
In file included from /usr/include/string.h:648:0,
from toc2.c:3:
../src/config.h:284:22: warning: pointer targets in passing argument 1 of 'toc_make_fake_cap' differ in signedness [-Wpointer-sign]
#define PACKAGE_NAME "naim"
^
toc2.c:2388:37: note: in expansion of macro 'PACKAGE_NAME'
name = strdup(toc_make_fake_cap(PACKAGE_NAME, strlen(PACKAGE_NAME)));
^
toc2.c:2140:20: note: expected 'const unsigned char * const' but argument is of type 'char *'
static const char *toc_make_fake_cap(const unsigned char *const str, const int len) {
^
In file included from /usr/include/string.h:648:0,
from toc2.c:3:
../src/config.h:284:22: warning: pointer targets in passing argument 1 of 'toc_make_fake_cap' differ in signedness [-Wpointer-sign]
#define PACKAGE_NAME "naim"
^
toc2.c:2388:37: note: in expansion of macro 'PACKAGE_NAME'
name = strdup(toc_make_fake_cap(PACKAGE_NAME, strlen(PACKAGE_NAME)));
^
toc2.c:2140:20: note: expected 'const unsigned char * const' but argument is of type 'char *'
static const char *toc_make_fake_cap(const unsigned char *const str, const int len) {
^
In file included from /usr/include/string.h:648:0,
from toc2.c:3:
../src/config.h:284:22: warning: pointer targets in passing argument 1 of 'toc_make_fake_cap' differ in signedness [-Wpointer-sign]
#define PACKAGE_NAME "naim"
^
toc2.c:2388:37: note: in expansion of macro 'PACKAGE_NAME'
name = strdup(toc_make_fake_cap(PACKAGE_NAME, strlen(PACKAGE_NAME)));
^
toc2.c:2140:20: note: expected 'const unsigned char * const' but argument is of type 'char *'
static const char *toc_make_fake_cap(const unsigned char *const str, const int len) {
^
In file included from /usr/include/string.h:648:0,
from toc2.c:3:
../src/config.h:284:22: warning: pointer targets in passing argument 1 of 'toc_make_fake_cap' differ in signedness [-Wpointer-sign]
#define PACKAGE_NAME "naim"
^
toc2.c:2388:37: note: in expansion of macro 'PACKAGE_NAME'
name = strdup(toc_make_fake_cap(PACKAGE_NAME, strlen(PACKAGE_NAME)));
^
toc2.c:2140:20: note: expected 'const unsigned char * const' but argument is of type 'char *'
static const char *toc_make_fake_cap(const unsigned char *const str, const int len) {
^
In file included from /usr/include/string.h:648:0,
from toc2.c:3:
../src/config.h:284:22: warning: pointer targets in passing argument 1 of 'toc_make_fake_cap' differ in signedness [-Wpointer-sign]
#define PACKAGE_NAME "naim"
^
toc2.c:2388:37: note: in expansion of macro 'PACKAGE_NAME'
name = strdup(toc_make_fake_cap(PACKAGE_NAME, strlen(PACKAGE_NAME)));
^
toc2.c:2140:20: note: expected 'const unsigned char * const' but argument is of type 'char *'
static const char *toc_make_fake_cap(const unsigned char *const str, const int len) {
^
In file included from /usr/include/string.h:648:0,
from toc2.c:3:
../src/config.h:293:25: warning: pointer targets in passing argument 1 of 'toc_make_fake_cap' differ in signedness [-Wpointer-sign]
#define PACKAGE_VERSION "0.11.8.3.2"
^
toc2.c:2389:40: note: in expansion of macro 'PACKAGE_VERSION'
version = strdup(toc_make_fake_cap(PACKAGE_VERSION, strlen(PACKAGE_VERSION)));
^
toc2.c:2140:20: note: expected 'const unsigned char * const' but argument is of type 'char *'
static const char *toc_make_fake_cap(const unsigned char *const str, const int len) {
^
In file included from /usr/include/string.h:648:0,
from toc2.c:3:
../src/config.h:293:25: warning: pointer targets in passing argument 1 of 'toc_make_fake_cap' differ in signedness [-Wpointer-sign]
#define PACKAGE_VERSION "0.11.8.3.2"
^
toc2.c:2389:40: note: in expansion of macro 'PACKAGE_VERSION'
version = strdup(toc_make_fake_cap(PACKAGE_VERSION, strlen(PACKAGE_VERSION)));
^
toc2.c:2140:20: note: expected 'const unsigned char * const' but argument is of type 'char *'
static const char *toc_make_fake_cap(const unsigned char *const str, const int len) {
^
In file included from /usr/include/string.h:648:0,
from toc2.c:3:
../src/config.h:293:25: warning: pointer targets in passing argument 1 of 'toc_make_fake_cap' differ in signedness [-Wpointer-sign]
#define PACKAGE_VERSION "0.11.8.3.2"
^
toc2.c:2389:40: note: in expansion of macro 'PACKAGE_VERSION'
version = strdup(toc_make_fake_cap(PACKAGE_VERSION, strlen(PACKAGE_VERSION)));
^
toc2.c:2140:20: note: expected 'const unsigned char * const' but argument is of type 'char *'
static const char *toc_make_fake_cap(const unsigned char *const str, const int len) {
^
In file included from /usr/include/string.h:648:0,
from toc2.c:3:
../src/config.h:293:25: warning: pointer targets in passing argument 1 of 'toc_make_fake_cap' differ in signedness [-Wpointer-sign]
#define PACKAGE_VERSION "0.11.8.3.2"
^
toc2.c:2389:40: note: in expansion of macro 'PACKAGE_VERSION'
version = strdup(toc_make_fake_cap(PACKAGE_VERSION, strlen(PACKAGE_VERSION)));
^
toc2.c:2140:20: note: expected 'const unsigned char * const' but argument is of type 'char *'
static const char *toc_make_fake_cap(const unsigned char *const str, const int len) {
^
In file included from /usr/include/string.h:648:0,
from toc2.c:3:
../src/config.h:293:25: warning: pointer targets in passing argument 1 of 'toc_make_fake_cap' differ in signedness [-Wpointer-sign]
#define PACKAGE_VERSION "0.11.8.3.2"
^
toc2.c:2389:40: note: in expansion of macro 'PACKAGE_VERSION'
version = strdup(toc_make_fake_cap(PACKAGE_VERSION, strlen(PACKAGE_VERSION)));
^
toc2.c:2140:20: note: expected 'const unsigned char * const' but argument is of type 'char *'
static const char *toc_make_fake_cap(const unsigned char *const str, const int len) {
^
In file included from /usr/include/string.h:648:0,
from toc2.c:3:
../src/config.h:293:25: warning: pointer targets in passing argument 1 of 'toc_make_fake_cap' differ in signedness [-Wpointer-sign]
#define PACKAGE_VERSION "0.11.8.3.2"
^
toc2.c:2389:40: note: in expansion of macro 'PACKAGE_VERSION'
version = strdup(toc_make_fake_cap(PACKAGE_VERSION, strlen(PACKAGE_VERSION)));
^
toc2.c:2140:20: note: expected 'const unsigned char * const' but argument is of type 'char *'
static const char *toc_make_fake_cap(const unsigned char *const str, const int len) {
^
In file included from /usr/include/string.h:648:0,
from toc2.c:3:
../src/config.h:293:25: warning: pointer targets in passing argument 1 of 'toc_make_fake_cap' differ in signedness [-Wpointer-sign]
#define PACKAGE_VERSION "0.11.8.3.2"
^
toc2.c:2389:40: note: in expansion of macro 'PACKAGE_VERSION'
version = strdup(toc_make_fake_cap(PACKAGE_VERSION, strlen(PACKAGE_VERSION)));
^
toc2.c:2140:20: note: expected 'const unsigned char * const' but argument is of type 'char *'
static const char *toc_make_fake_cap(const unsigned char *const str, const int len) {
^
rm -f libfiretalk.a
ar cru libfiretalk.a aim.o firetalk.o irc.o lily.o toc2.o
ranlib libfiretalk.a
make[1]: Leaving directory `/usr/src/RPM/BUILD/naim-0.11.8.3.2/libfiretalk'
Making all in libltdl
make[1]: Entering directory `/usr/src/RPM/BUILD/naim-0.11.8.3.2/libltdl'
/bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../src -pipe -Wall -g -O2 -c -o ltdl.lo ltdl.c
mkdir .libs
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../src -pipe -Wall -g -O2 -c ltdl.c -fPIC -DPIC -o .libs/ltdl.o
ltdl.c: In function 'try_dlopen':
ltdl.c:3200:14: warning: the address of 'sys_search_path' will always evaluate as 'true' [-Waddress]
if (!file && sys_search_path)
^
ltdl.c: In function 'lt_dlopenext':
ltdl.h:89:24: warning: the address of 'archive_ext' will always evaluate as 'true' [-Waddress]
#define LT_STRLEN(s) (((s) && (s)[0]) ? strlen (s) : 0)
^
ltdl.c:246:48: note: in definition of macro 'LT_EMALLOC'
#define LT_EMALLOC(tp, n) ((tp *) lt_emalloc ((n) * sizeof(tp)))
^
ltdl.c:3492:33: note: in expansion of macro 'LT_STRLEN'
tmp = LT_EMALLOC (char, len + LT_STRLEN (archive_ext) + 1);
^
In file included from ltdl.c:129:0:
ltdl.h:89:24: warning: the address of 'shlib_ext' will always evaluate as 'true' [-Waddress]
#define LT_STRLEN(s) (((s) && (s)[0]) ? strlen (s) : 0)
^
ltdl.c:3513:7: note: in expansion of macro 'LT_STRLEN'
if (LT_STRLEN (shlib_ext) > LT_STRLEN (archive_ext))
^
ltdl.h:89:24: warning: the address of 'archive_ext' will always evaluate as 'true' [-Waddress]
#define LT_STRLEN(s) (((s) && (s)[0]) ? strlen (s) : 0)
^
ltdl.c:3513:31: note: in expansion of macro 'LT_STRLEN'
if (LT_STRLEN (shlib_ext) > LT_STRLEN (archive_ext))
^
ltdl.h:89:24: warning: the address of 'shlib_ext' will always evaluate as 'true' [-Waddress]
#define LT_STRLEN(s) (((s) && (s)[0]) ? strlen (s) : 0)
^
ltdl.c:246:48: note: in definition of macro 'LT_EMALLOC'
#define LT_EMALLOC(tp, n) ((tp *) lt_emalloc ((n) * sizeof(tp)))
^
ltdl.c:3516:37: note: in expansion of macro 'LT_STRLEN'
tmp = LT_EMALLOC (char, len + LT_STRLEN (shlib_ext) + 1);
^
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../src -pipe -Wall -g -O2 -c ltdl.c -o ltdl.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -pipe -Wall -g -O2 -o libltdlc.la ltdl.lo -ldl
ar cru .libs/libltdlc.a .libs/ltdl.o
ranlib .libs/libltdlc.a
creating libltdlc.la
(cd .libs && rm -f libltdlc.la && ln -s ../libltdlc.la libltdlc.la)
make[1]: Leaving directory `/usr/src/RPM/BUILD/naim-0.11.8.3.2/libltdl'
Making all in secs
make[1]: Entering directory `/usr/src/RPM/BUILD/naim-0.11.8.3.2/secs'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../src -I../include -pipe -Wall -g -O2 -c block.c
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../src -I../include -pipe -Wall -g -O2 -c atomizer.c
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../src -I../include -pipe -Wall -g -O2 -c mem.c
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../src -I../include -pipe -Wall -g -O2 -c liaison.c
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../src -I../include -pipe -Wall -g -O2 -c script.c
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../src -I../include -pipe -Wall -g -O2 -c vars.c
block.c: In function 'secs_block_create':
block.c:13:9: warning: variable 'slen' set but not used [-Wunused-but-set-variable]
size_t slen = 0;
^
rm -f libsecs.a
ar cru libsecs.a atomizer.o block.o liaison.o mem.o script.o vars.o
ranlib libsecs.a
make[1]: Leaving directory `/usr/src/RPM/BUILD/naim-0.11.8.3.2/secs'
Making all in src
make[1]: Entering directory `/usr/src/RPM/BUILD/naim-0.11.8.3.2/src'
make all-am
make[2]: Entering directory `/usr/src/RPM/BUILD/naim-0.11.8.3.2/src'
AWK="gawk" CPP="x86_64-alt-linux-gcc -E -I. -I. -I. -I../include -I../libfiretalk -I../libltdl -DHAVE_CONFIG_H" SRCDIR=. ./genkeys.sh > conio_keys.h
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -I../include -I../libfiretalk -I../libltdl -pipe -Wall -g -O2 -c buddy.c
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -I../include -I../libfiretalk -I../libltdl -pipe -Wall -g -O2 -c hamster.c
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -I../include -I../libfiretalk -I../libltdl -pipe -Wall -g -O2 -c echof.c
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -I../include -I../libfiretalk -I../libltdl -pipe -Wall -g -O2 -c help.c
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -I../include -I../libfiretalk -I../libltdl -pipe -Wall -g -O2 -c events.c
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -I../include -I../libfiretalk -I../libltdl -pipe -Wall -g -O2 -c hwprintf.c
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -I../include -I../libfiretalk -I../libltdl -pipe -Wall -g -O2 -c linux_vsprintf.c
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -I../include -I../libfiretalk -I../libltdl -pipe -Wall -g -O2 -DDLSEARCHPATH="/usr/lib64/naim" -c main.c
In file included from echof.c:6:0:
echof.c: In function 'status_echof':
../include/naim/naim.h:338:11: warning: pointer targets in passing argument 1 of 'strftime' differ in signedness [-Wpointer-sign]
strftime(buf, sizeof(buf), format, tptr); \
^
../include/naim/naim.h:342:28: note: in expansion of macro 'WINTIME_NOTNOW'
#define WINTIME(win, cpre) WINTIME_NOTNOW(win, cpre, now)
^
echof.c:24:2: note: in expansion of macro 'WINTIME'
WINTIME(&(conn->nwin), CONN);
^
In file included from ../include/naim/naim.h:10:0,
from echof.c:6:
/usr/include/time.h:205:15: note: expected 'char * restrict' but argument is of type 'unsigned char *'
extern size_t strftime (char *__restrict __s, size_t __maxsize,
^
In file included from echof.c:6:0:
../include/naim/naim.h:339:31: warning: pointer targets in passing argument 3 of 'hwprintf' differ in signedness [-Wpointer-sign]
hwprintf(win, C(cpre,EVENT), "%s", buf); \
^
../include/naim/naim.h:342:28: note: in expansion of macro 'WINTIME_NOTNOW'
#define WINTIME(win, cpre) WINTIME_NOTNOW(win, cpre, now)
^
echof.c:24:2: note: in expansion of macro 'WINTIME'
WINTIME(&(conn->nwin), CONN);
^
../include/naim/naim.h:431:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int hwprintf(win_t *, int, const unsigned char *, ...);
^
echof.c:25:46: warning: pointer targets in passing argument 3 of 'vhwprintf' differ in signedness [-Wpointer-sign]
vhwprintf(&(conn->nwin), C(CONN,EVENT_ALT), "***", msg);
^
In file included from echof.c:6:0:
../include/naim/naim.h:430:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int vhwprintf(win_t *, int, const unsigned char *, va_list);
^
echof.c:28:42: warning: pointer targets in passing argument 3 of 'vhwprintf' differ in signedness [-Wpointer-sign]
vhwprintf(&(conn->nwin), C(CONN,EVENT), buf, msg);
^
In file included from echof.c:6:0:
../include/naim/naim.h:430:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int vhwprintf(win_t *, int, const unsigned char *, va_list);
^
echof.c: In function 'window_echof':
../include/naim/naim.h:338:11: warning: pointer targets in passing argument 1 of 'strftime' differ in signedness [-Wpointer-sign]
strftime(buf, sizeof(buf), format, tptr); \
^
../include/naim/naim.h:342:28: note: in expansion of macro 'WINTIME_NOTNOW'
#define WINTIME(win, cpre) WINTIME_NOTNOW(win, cpre, now)
^
echof.c:46:2: note: in expansion of macro 'WINTIME'
WINTIME(&(bwin->nwin), IMWIN);
^
In file included from ../include/naim/naim.h:10:0,
from echof.c:6:
/usr/include/time.h:205:15: note: expected 'char * restrict' but argument is of type 'unsigned char *'
extern size_t strftime (char *__restrict __s, size_t __maxsize,
^
In file included from echof.c:6:0:
../include/naim/naim.h:339:31: warning: pointer targets in passing argument 3 of 'hwprintf' differ in signedness [-Wpointer-sign]
hwprintf(win, C(cpre,EVENT), "%s", buf); \
^
../include/naim/naim.h:342:28: note: in expansion of macro 'WINTIME_NOTNOW'
#define WINTIME(win, cpre) WINTIME_NOTNOW(win, cpre, now)
^
echof.c:46:2: note: in expansion of macro 'WINTIME'
WINTIME(&(bwin->nwin), IMWIN);
^
../include/naim/naim.h:431:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int hwprintf(win_t *, int, const unsigned char *, ...);
^
echof.c:47:47: warning: pointer targets in passing argument 3 of 'vhwprintf' differ in signedness [-Wpointer-sign]
vhwprintf(&(bwin->nwin), C(IMWIN,EVENT_ALT), "***", msg);
^
In file included from echof.c:6:0:
../include/naim/naim.h:430:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int vhwprintf(win_t *, int, const unsigned char *, va_list);
^
echof.c:50:43: warning: pointer targets in passing argument 3 of 'vhwprintf' differ in signedness [-Wpointer-sign]
vhwprintf(&(bwin->nwin), C(IMWIN,EVENT), buf, msg);
^
In file included from echof.c:6:0:
../include/naim/naim.h:430:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int vhwprintf(win_t *, int, const unsigned char *, va_list);
^
echof.c: In function 'echof':
../include/naim/naim.h:351:11: warning: pointer targets in passing argument 1 of 'strftime' differ in signedness [-Wpointer-sign]
strftime(buf, sizeof(buf), format, tptr); \
^
echof.c:77:4: note: in expansion of macro 'WINTIMENOLOG'
WINTIMENOLOG(&(curconn->curbwin->nwin), IMWIN);
^
In file included from ../include/naim/naim.h:10:0,
from echof.c:6:
/usr/include/time.h:205:15: note: expected 'char * restrict' but argument is of type 'unsigned char *'
extern size_t strftime (char *__restrict __s, size_t __maxsize,
^
In file included from echof.c:6:0:
../include/naim/naim.h:352:34: warning: pointer targets in passing argument 3 of 'hwprintf' differ in signedness [-Wpointer-sign]
hwprintf(win, -C(cpre,EVENT)-1, "%s", buf); \
^
echof.c:77:4: note: in expansion of macro 'WINTIMENOLOG'
WINTIMENOLOG(&(curconn->curbwin->nwin), IMWIN);
^
../include/naim/naim.h:431:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int hwprintf(win_t *, int, const unsigned char *, ...);
^
../include/naim/naim.h:338:11: warning: pointer targets in passing argument 1 of 'strftime' differ in signedness [-Wpointer-sign]
strftime(buf, sizeof(buf), format, tptr); \
^
../include/naim/naim.h:342:28: note: in expansion of macro 'WINTIME_NOTNOW'
#define WINTIME(win, cpre) WINTIME_NOTNOW(win, cpre, now)
^
echof.c:81:4: note: in expansion of macro 'WINTIME'
WINTIME(&(curconn->curbwin->nwin), IMWIN);
^
In file included from ../include/naim/naim.h:10:0,
from echof.c:6:
/usr/include/time.h:205:15: note: expected 'char * restrict' but argument is of type 'unsigned char *'
extern size_t strftime (char *__restrict __s, size_t __maxsize,
^
In file included from echof.c:6:0:
../include/naim/naim.h:339:31: warning: pointer targets in passing argument 3 of 'hwprintf' differ in signedness [-Wpointer-sign]
hwprintf(win, C(cpre,EVENT), "%s", buf); \
^
../include/naim/naim.h:342:28: note: in expansion of macro 'WINTIME_NOTNOW'
#define WINTIME(win, cpre) WINTIME_NOTNOW(win, cpre, now)
^
echof.c:81:4: note: in expansion of macro 'WINTIME'
WINTIME(&(curconn->curbwin->nwin), IMWIN);
^
../include/naim/naim.h:431:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int hwprintf(win_t *, int, const unsigned char *, ...);
^
echof.c:86:48: warning: pointer targets in passing argument 3 of 'hwprintf' differ in signedness [-Wpointer-sign]
hwprintf(&(curconn->curbwin->nwin), col_alt, "***");
^
In file included from echof.c:6:0:
../include/naim/naim.h:431:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int hwprintf(win_t *, int, const unsigned char *, ...);
^
echof.c:88:45: warning: pointer targets in passing argument 3 of 'hwprintf' differ in signedness [-Wpointer-sign]
hwprintf(&(curconn->curbwin->nwin), col, " [");
^
In file included from echof.c:6:0:
../include/naim/naim.h:431:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int hwprintf(win_t *, int, const unsigned char *, ...);
^
echof.c:90:50: warning: pointer targets in passing argument 3 of 'hwprintf' differ in signedness [-Wpointer-sign]
hwprintf(&(curconn->curbwin->nwin), col_alt, "%s", conn->winname);
^
In file included from echof.c:6:0:
../include/naim/naim.h:431:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int hwprintf(win_t *, int, const unsigned char *, ...);
^
echof.c:91:46: warning: pointer targets in passing argument 3 of 'hwprintf' differ in signedness [-Wpointer-sign]
hwprintf(&(curconn->curbwin->nwin), col, ":%s", where);
^
In file included from echof.c:6:0:
../include/naim/naim.h:431:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int hwprintf(win_t *, int, const unsigned char *, ...);
^
echof.c:93:46: warning: pointer targets in passing argument 3 of 'hwprintf' differ in signedness [-Wpointer-sign]
hwprintf(&(curconn->curbwin->nwin), col, "%s", where);
^
In file included from echof.c:6:0:
../include/naim/naim.h:431:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int hwprintf(win_t *, int, const unsigned char *, ...);
^
echof.c:95:50: warning: pointer targets in passing argument 3 of 'hwprintf' differ in signedness [-Wpointer-sign]
hwprintf(&(curconn->curbwin->nwin), col_alt, "%s", conn->winname);
^
In file included from echof.c:6:0:
../include/naim/naim.h:431:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int hwprintf(win_t *, int, const unsigned char *, ...);
^
echof.c:96:45: warning: pointer targets in passing argument 3 of 'hwprintf' differ in signedness [-Wpointer-sign]
hwprintf(&(curconn->curbwin->nwin), col, "]");
^
In file included from echof.c:6:0:
../include/naim/naim.h:431:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int hwprintf(win_t *, int, const unsigned char *, ...);
^
echof.c:99:45: warning: pointer targets in passing argument 3 of 'vhwprintf' differ in signedness [-Wpointer-sign]
vhwprintf(&(curconn->curbwin->nwin), col, buf, msg);
^
In file included from echof.c:6:0:
../include/naim/naim.h:430:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int vhwprintf(win_t *, int, const unsigned char *, va_list);
^
../include/naim/naim.h:338:11: warning: pointer targets in passing argument 1 of 'strftime' differ in signedness [-Wpointer-sign]
strftime(buf, sizeof(buf), format, tptr); \
^
../include/naim/naim.h:342:28: note: in expansion of macro 'WINTIME_NOTNOW'
#define WINTIME(win, cpre) WINTIME_NOTNOW(win, cpre, now)
^
echof.c:105:3: note: in expansion of macro 'WINTIME'
WINTIME(&(conn->nwin), CONN);
^
In file included from ../include/naim/naim.h:10:0,
from echof.c:6:
/usr/include/time.h:205:15: note: expected 'char * restrict' but argument is of type 'unsigned char *'
extern size_t strftime (char *__restrict __s, size_t __maxsize,
^
In file included from echof.c:6:0:
../include/naim/naim.h:339:31: warning: pointer targets in passing argument 3 of 'hwprintf' differ in signedness [-Wpointer-sign]
hwprintf(win, C(cpre,EVENT), "%s", buf); \
^
../include/naim/naim.h:342:28: note: in expansion of macro 'WINTIME_NOTNOW'
#define WINTIME(win, cpre) WINTIME_NOTNOW(win, cpre, now)
^
echof.c:105:3: note: in expansion of macro 'WINTIME'
WINTIME(&(conn->nwin), CONN);
^
../include/naim/naim.h:431:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int hwprintf(win_t *, int, const unsigned char *, ...);
^
echof.c:106:46: warning: pointer targets in passing argument 3 of 'hwprintf' differ in signedness [-Wpointer-sign]
hwprintf(&(conn->nwin), C(CONN,EVENT_ALT), "***");
^
In file included from echof.c:6:0:
../include/naim/naim.h:431:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int hwprintf(win_t *, int, const unsigned char *, ...);
^
echof.c:108:43: warning: pointer targets in passing argument 3 of 'hwprintf' differ in signedness [-Wpointer-sign]
hwprintf(&(conn->nwin), C(CONN,EVENT), " [%s]", where);
^
In file included from echof.c:6:0:
../include/naim/naim.h:431:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int hwprintf(win_t *, int, const unsigned char *, ...);
^
echof.c:110:43: warning: pointer targets in passing argument 3 of 'vhwprintf' differ in signedness [-Wpointer-sign]
vhwprintf(&(conn->nwin), C(CONN,EVENT), buf, msg);
^
In file included from echof.c:6:0:
../include/naim/naim.h:430:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int vhwprintf(win_t *, int, const unsigned char *, va_list);
^
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -I../include -I../libfiretalk -I../libltdl -pipe -Wall -g -O2 -c modutil.c
hamster.c: In function 'logim':
hamster.c:41:31: warning: pointer targets in passing argument 3 of 'naim_awaylog' differ in signedness [-Wpointer-sign]
naim_awaylog(conn, srcbuf, msg);
^
In file included from hamster.c:6:0:
../include/naim/naim.h:411:6: note: expected 'const char *' but argument is of type 'const unsigned char *'
void naim_awaylog(conn_t *conn, const char *src, const char *msg) G_GNUC_INTERNAL;
^
hamster.c:58:16: warning: pointer targets in passing argument 2 of 'echof' differ in signedness [-Wpointer-sign]
echof(conn, "LOGIM", "$%s:log set to 1, but $%s:logfile not set.\n",
^
In file included from hamster.c:6:0:
../include/naim/naim.h:393:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void echof(conn_t *conn, const unsigned char *where, const unsigned char *format, ...);
^
hamster.c:58:25: warning: pointer targets in passing argument 3 of 'echof' differ in signedness [-Wpointer-sign]
echof(conn, "LOGIM", "$%s:log set to 1, but $%s:logfile not set.\n",
^
In file included from hamster.c:6:0:
../include/naim/naim.h:393:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void echof(conn_t *conn, const unsigned char *where, const unsigned char *format, ...);
^
hamster.c:63:16: warning: pointer targets in passing argument 2 of 'echof' differ in signedness [-Wpointer-sign]
echof(conn, "LOGIM", "Unable to open \"%s\": %m", f);
^
In file included from hamster.c:6:0:
../include/naim/naim.h:393:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void echof(conn_t *conn, const unsigned char *where, const unsigned char *format, ...);
^
hamster.c:63:25: warning: pointer targets in passing argument 3 of 'echof' differ in signedness [-Wpointer-sign]
echof(conn, "LOGIM", "Unable to open \"%s\": %m", f);
^
In file included from hamster.c:6:0:
../include/naim/naim.h:393:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void echof(conn_t *conn, const unsigned char *where, const unsigned char *format, ...);
^
hamster.c: In function 'sendto_send':
hamster.c:149:55: warning: pointer targets in passing argument 3 of 'firetalk_chat_send_action' differ in signedness [-Wpointer-sign]
ret = firetalk_chat_send_action(conn->conn, *dest, *message, (*flags & RF_AUTOMATIC)?1:0);
^
In file included from ../include/naim/naim.h:15:0,
from hamster.c:6:
../libfiretalk/firetalk.h:229:7: note: expected 'const char * const' but argument is of type 'unsigned char *'
fte_t firetalk_chat_send_action(firetalk_t conn, const char *const room, const char *const message, const int auto_flag);
^
hamster.c:151:56: warning: pointer targets in passing argument 3 of 'firetalk_chat_send_message' differ in signedness [-Wpointer-sign]
ret = firetalk_chat_send_message(conn->conn, *dest, *message, (*flags & RF_AUTOMATIC)?1:0);
^
In file included from ../include/naim/naim.h:15:0,
from hamster.c:6:
../libfiretalk/firetalk.h:228:7: note: expected 'const char * const' but argument is of type 'unsigned char *'
fte_t firetalk_chat_send_message(firetalk_t conn, const char *const room, const char *const message, const int auto_flag);
^
hamster.c:154:53: warning: pointer targets in passing argument 3 of 'firetalk_im_send_action' differ in signedness [-Wpointer-sign]
ret = firetalk_im_send_action(conn->conn, *dest, *message, (*flags & RF_AUTOMATIC)?1:0);
^
In file included from ../include/naim/naim.h:15:0,
from hamster.c:6:
../libfiretalk/firetalk.h:221:7: note: expected 'const char * const' but argument is of type 'unsigned char *'
fte_t firetalk_im_send_action(firetalk_t conn, const char *const dest, const char *const message, const int auto_flag);
^
hamster.c:156:54: warning: pointer targets in passing argument 3 of 'firetalk_im_send_message' differ in signedness [-Wpointer-sign]
ret = firetalk_im_send_message(conn->conn, *dest, *message, (*flags & RF_AUTOMATIC)?1:0);
^
In file included from ../include/naim/naim.h:15:0,
from hamster.c:6:
../libfiretalk/firetalk.h:220:7: note: expected 'const char * const' but argument is of type 'unsigned char *'
fte_t firetalk_im_send_message(firetalk_t conn, const char *const dest, const char *const message, const int auto_flag);
^
hamster.c:166:22: warning: pointer targets in passing argument 3 of 'echof' differ in signedness [-Wpointer-sign]
echof(conn, NULL, "Unable to send message to %s: %s.\n", *dest, firetalk_strerror(ret));
^
In file included from hamster.c:6:0:
../include/naim/naim.h:393:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void echof(conn_t *conn, const unsigned char *where, const unsigned char *format, ...);
^
hamster.c:168:23: warning: pointer targets in passing argument 2 of 'window_echof' differ in signedness [-Wpointer-sign]
window_echof(bwin, "Unable to send message: %s.\n", firetalk_strerror(ret));
^
In file included from hamster.c:6:0:
../include/naim/naim.h:392:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void window_echof(buddywin_t *bwin, const unsigned char *format, ...);
^
hamster.c:170:24: warning: pointer targets in passing argument 2 of 'window_echof' differ in signedness [-Wpointer-sign]
window_echof(bwin, "Try shortening your message or splitting it into multiple messages and resending.\n");
^
In file included from hamster.c:6:0:
../include/naim/naim.h:392:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void window_echof(buddywin_t *bwin, const unsigned char *format, ...);
^
hamster.c: In function 'naim_send_message':
hamster.c:186:48: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
naim_sendto(conn, NULL, dest, message, strlen(message), RF_NONE | (ischat?RF_CHAT:0) | (isauto?RF_AUTOMATIC:0) | (isaction?RF_ACTION:0));
^
In file included from ../include/naim/secs.h:13:0,
from ../include/naim/naim.h:14,
from hamster.c:6:
/usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'const unsigned char * const'
extern size_t strlen (const char *__s)
^
hamster.c: In function 'naim_send_im':
hamster.c:210:13: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign]
snprintf(buf, sizeof(buf), "%s%s%s", pre?pre:"", msg, post?post:"");
^
In file included from /usr/include/features.h:368:0,
from /usr/include/ctype.h:25,
from ../include/naim/naim.h:9,
from hamster.c:6:
/usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
__NTH (snprintf (char *__restrict __s, size_t __n,
^
hamster.c:211:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
msg = buf;
^
hamster.c:213:31: warning: pointer targets in passing argument 3 of 'naim_send_message' differ in signedness [-Wpointer-sign]
naim_send_message(conn, SN, msg, ischat, 0, 0);
^
hamster.c:185:13: note: expected 'const unsigned char * const' but argument is of type 'const char *'
static void naim_send_message(conn_t *const conn, const char *const dest, const unsigned char *const message, const int ischat, const int isauto, const int isaction) {
^
hamster.c:221:13: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign]
snprintf(buf, sizeof(buf), "[Queued %04i-%02i-%02iT%02i:%02i] %s",
^
In file included from /usr/include/features.h:368:0,
from /usr/include/ctype.h:25,
from ../include/naim/naim.h:9,
from hamster.c:6:
/usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
__NTH (snprintf (char *__restrict __s, size_t __n,
^
hamster.c:224:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
msg = buf;
^
hamster.c:233:23: warning: pointer targets in passing argument 2 of 'window_echof' differ in signedness [-Wpointer-sign]
window_echof(bwin, "Message queued. Type /close to dequeue pending messages.\n");
^
In file included from hamster.c:6:0:
../include/naim/naim.h:392:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void window_echof(buddywin_t *bwin, const unsigned char *format, ...);
^
hamster.c: In function 'naim_send_im_away':
hamster.c:247:15: warning: pointer targets in passing argument 2 of 'echof' differ in signedness [-Wpointer-sign]
echof(conn, "SEND-IM-AWAY", "Suppressing away message to %s (%s).\n", SN, msg);
^
In file included from hamster.c:6:0:
../include/naim/naim.h:393:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void echof(conn_t *conn, const unsigned char *where, const unsigned char *format, ...);
^
hamster.c:247:31: warning: pointer targets in passing argument 3 of 'echof' differ in signedness [-Wpointer-sign]
echof(conn, "SEND-IM-AWAY", "Suppressing away message to %s (%s).\n", SN, msg);
^
In file included from hamster.c:6:0:
../include/naim/naim.h:393:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void echof(conn_t *conn, const unsigned char *where, const unsigned char *format, ...);
^
hamster.c:256:12: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign]
snprintf(buf, sizeof(buf), "%s%s%s", pre?pre:"", msg, post?post:"");
^
In file included from /usr/include/features.h:368:0,
from /usr/include/ctype.h:25,
from ../include/naim/naim.h:9,
from hamster.c:6:
/usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
__NTH (snprintf (char *__restrict __s, size_t __n,
^
hamster.c:257:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
msg = buf;
^
hamster.c:263:21: warning: pointer targets in passing argument 3 of 'echof' differ in signedness [-Wpointer-sign]
echof(conn, NULL, "Sent away IM to %s (%s)\n", SN, msg);
^
In file included from hamster.c:6:0:
../include/naim/naim.h:393:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void echof(conn_t *conn, const unsigned char *where, const unsigned char *format, ...);
^
../include/naim/naim.h:338:11: warning: pointer targets in passing argument 1 of 'strftime' differ in signedness [-Wpointer-sign]
strftime(buf, sizeof(buf), format, tptr); \
^
../include/naim/naim.h:342:28: note: in expansion of macro 'WINTIME_NOTNOW'
#define WINTIME(win, cpre) WINTIME_NOTNOW(win, cpre, now)
^
hamster.c:265:3: note: in expansion of macro 'WINTIME'
WINTIME(&(bwin->nwin), IMWIN);
^
In file included from ../include/naim/naim.h:10:0,
from hamster.c:6:
/usr/include/time.h:205:15: note: expected 'char * restrict' but argument is of type 'unsigned char *'
extern size_t strftime (char *__restrict __s, size_t __maxsize,
^
In file included from hamster.c:6:0:
../include/naim/naim.h:339:31: warning: pointer targets in passing argument 3 of 'hwprintf' differ in signedness [-Wpointer-sign]
hwprintf(win, C(cpre,EVENT), "%s", buf); \
^
../include/naim/naim.h:342:28: note: in expansion of macro 'WINTIME_NOTNOW'
#define WINTIME(win, cpre) WINTIME_NOTNOW(win, cpre, now)
^
hamster.c:265:3: note: in expansion of macro 'WINTIME'
WINTIME(&(bwin->nwin), IMWIN);
^
../include/naim/naim.h:431:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int hwprintf(win_t *, int, const unsigned char *, ...);
^
hamster.c:267:4: warning: pointer targets in passing argument 3 of 'hwprintf' differ in signedness [-Wpointer-sign]
"-%s-", conn->sn);
^
In file included from hamster.c:6:0:
../include/naim/naim.h:431:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int hwprintf(win_t *, int, const unsigned char *, ...);
^
hamster.c:269:4: warning: pointer targets in passing argument 3 of 'hwprintf' differ in signedness [-Wpointer-sign]
" %s
", msg);
^
In file included from hamster.c:6:0:
../include/naim/naim.h:431:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int hwprintf(win_t *, int, const unsigned char *, ...);
^
hamster.c:271:30: warning: pointer targets in passing argument 3 of 'naim_send_message' differ in signedness [-Wpointer-sign]
naim_send_message(conn, SN, msg, 0, 1, 0);
^
hamster.c:185:13: note: expected 'const unsigned char * const' but argument is of type 'const char *'
static void naim_send_message(conn_t *const conn, const char *const dest, const unsigned char *const message, const int ischat, const int isauto, const int isaction) {
^
hamster.c: In function 'setaway':
hamster.c:292:22: warning: pointer targets in passing argument 2 of 'status_echof' differ in signedness [-Wpointer-sign]
status_echof(conn, "You are now away--hurry back!\n");
^
In file included from hamster.c:6:0:
../include/naim/naim.h:391:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void status_echof(conn_t *conn, const unsigned char *format, ...);
^
hamster.c: In function 'unsetaway':
hamster.c:303:22: warning: pointer targets in passing argument 2 of 'status_echof' differ in signedness [-Wpointer-sign]
status_echof(conn, "You are no longer away--welcome back =)\n");
^
In file included from hamster.c:6:0:
../include/naim/naim.h:391:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void status_echof(conn_t *conn, const unsigned char *format, ...);
^
hwprintf.c: In function 'nw_wrap_addch':
hwprintf.c:80:23: warning: pointer targets in passing argument 2 of 'nw_addstr' differ in signedness [-Wpointer-sign]
nw_addstr(h->win, "\b \b");
^
In file included from hwprintf.c:6:0:
../include/naim/naim.h:486:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void nw_addstr(win_t *win, const unsigned char *) G_GNUC_INTERNAL;
^
hwprintf.c: In function 'parsehtml_pair':
hwprintf.c:214:25: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign]
} else if (strncasecmp(buf, "rgb(", sizeof("rgb(")-1) == 0) {
^
In file included from ../include/naim/secs.h:13:0,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
/usr/include/string.h:533:12: note: expected 'const char *' but argument is of type 'const unsigned char *'
extern int strncasecmp (const char *__s1, const char *__s2, size_t __n)
^
hwprintf.c:216:12: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign]
R = atoi(buf);
^
In file included from /usr/include/features.h:368:0,
from /usr/include/ctype.h:25,
from ../include/naim/naim.h:9,
from hwprintf.c:6:
/usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type 'const unsigned char *'
__NTH (atoi (const char *__nptr))
^
In file included from /usr/include/string.h:648:0,
from ../include/naim/secs.h:13,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
hwprintf.c:217:16: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
buf = strchr(buf, ',');
^
hwprintf.c:217:16: note: expected 'const char *' but argument is of type 'const unsigned char *'
hwprintf.c:217:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
buf = strchr(buf, ',');
^
hwprintf.c:220:12: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign]
G = atoi(buf);
^
In file included from /usr/include/features.h:368:0,
from /usr/include/ctype.h:25,
from ../include/naim/naim.h:9,
from hwprintf.c:6:
/usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type 'const unsigned char *'
__NTH (atoi (const char *__nptr))
^
In file included from /usr/include/string.h:648:0,
from ../include/naim/secs.h:13,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
hwprintf.c:221:16: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
buf = strchr(buf, ',');
^
hwprintf.c:221:16: note: expected 'const char *' but argument is of type 'const unsigned char *'
hwprintf.c:221:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
buf = strchr(buf, ',');
^
hwprintf.c:224:12: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign]
B = atoi(buf);
^
In file included from /usr/include/features.h:368:0,
from /usr/include/ctype.h:25,
from ../include/naim/naim.h:9,
from hwprintf.c:6:
/usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type 'const unsigned char *'
__NTH (atoi (const char *__nptr))
^
buddy.c: In function 'iupdate':
hwprintf.c: In function 'parsehtml_tag':
hwprintf.c:159:35: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign]
#define CHECKTAG(tag) (strcasecmp(tagbase, (tag)) == 0)
^
hwprintf.c:269:5: note: in expansion of macro 'CHECKTAG'
if CHECKTAG("B") {
^
buddy.c:187:48: warning: pointer targets in passing argument 4 of 'nw_printf' differ in signedness [-Wpointer-sign]
nw_printf(&win_info, CB(STATUSBAR,INPUT), 0, "%-*s", faimconf.winfo.widthx,
^
In file included from ../include/naim/secs.h:13:0,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
/usr/include/string.h:529:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strcasecmp (const char *__s1, const char *__s2)
^
In file included from buddy.c:6:0:
../include/naim/naim.h:475:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int nw_printf(win_t *win, int, int, const unsigned char *, ...) G_GNUC_INTERNAL;
^
buddy.c:192:25: warning: pointer targets in passing argument 2 of 'status_echof' differ in signedness [-Wpointer-sign]
status_echof(curconn, "Error in strftime(): %s.\n", strerror(errno));
^
In file included from buddy.c:6:0:
../include/naim/naim.h:391:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void status_echof(conn_t *conn, const unsigned char *format, ...);
^
hwprintf.c:159:35: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign]
#define CHECKTAG(tag) (strcasecmp(tagbase, (tag)) == 0)
^
hwprintf.c:271:12: note: in expansion of macro 'CHECKTAG'
} else if CHECKTAG("I") {
^
In file included from ../include/naim/secs.h:13:0,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
/usr/include/string.h:529:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strcasecmp (const char *__s1, const char *__s2)
^
hwprintf.c:159:35: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign]
#define CHECKTAG(tag) (strcasecmp(tagbase, (tag)) == 0)
^
hwprintf.c:273:12: note: in expansion of macro 'CHECKTAG'
} else if CHECKTAG("U") {
^
In file included from ../include/naim/secs.h:13:0,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
/usr/include/string.h:529:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strcasecmp (const char *__s1, const char *__s2)
^
hwprintf.c:159:35: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign]
#define CHECKTAG(tag) (strcasecmp(tagbase, (tag)) == 0)
^
hwprintf.c:275:12: note: in expansion of macro 'CHECKTAG'
} else if CHECKTAG("A") {
^
In file included from ../include/naim/secs.h:13:0,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
/usr/include/string.h:529:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strcasecmp (const char *__s1, const char *__s2)
^
hwprintf.c:277:14: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
char *t = argbuf;
^
In file included from /usr/include/string.h:648:0,
from ../include/naim/secs.h:13,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
hwprintf.c:343:54: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if ((lasturl != NULL) && (backup > 1) && (strncmp(textsave-backup, lasturl, strlen(lasturl)) != 0)) {
^
In file included from ../include/naim/secs.h:13:0,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
/usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:648:0,
from ../include/naim/secs.h:13,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
hwprintf.c:343:54: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if ((lasturl != NULL) && (backup > 1) && (strncmp(textsave-backup, lasturl, strlen(lasturl)) != 0)) {
^
In file included from ../include/naim/secs.h:13:0,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
/usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:648:0,
from ../include/naim/secs.h:13,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
hwprintf.c:343:54: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if ((lasturl != NULL) && (backup > 1) && (strncmp(textsave-backup, lasturl, strlen(lasturl)) != 0)) {
^
hwprintf.c:343:54: note: expected 'const char *' but argument is of type 'unsigned char *'
hwprintf.c:343:54: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if ((lasturl != NULL) && (backup > 1) && (strncmp(textsave-backup, lasturl, strlen(lasturl)) != 0)) {
^
In file included from ../include/naim/secs.h:13:0,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
/usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:648:0,
from ../include/naim/secs.h:13,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
hwprintf.c:343:54: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if ((lasturl != NULL) && (backup > 1) && (strncmp(textsave-backup, lasturl, strlen(lasturl)) != 0)) {
^
hwprintf.c:343:54: note: expected 'const char *' but argument is of type 'unsigned char *'
hwprintf.c:343:54: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if ((lasturl != NULL) && (backup > 1) && (strncmp(textsave-backup, lasturl, strlen(lasturl)) != 0)) {
^
hwprintf.c:343:54: note: expected 'const char *' but argument is of type 'unsigned char *'
hwprintf.c:343:54: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if ((lasturl != NULL) && (backup > 1) && (strncmp(textsave-backup, lasturl, strlen(lasturl)) != 0)) {
^
hwprintf.c:343:54: note: expected 'const char *' but argument is of type 'unsigned char *'
hwprintf.c:343:54: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if ((lasturl != NULL) && (backup > 1) && (strncmp(textsave-backup, lasturl, strlen(lasturl)) != 0)) {
^
In file included from ../include/naim/secs.h:13:0,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
/usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
hwprintf.c:344:23: warning: pointer targets in passing argument 2 of 'nw_wrap_addstr' differ in signedness [-Wpointer-sign]
nw_wrap_addstr(h, " [");
^
hwprintf.c:126:13: note: expected 'const unsigned char *' but argument is of type 'char *'
static void nw_wrap_addstr(h_t *h, const unsigned char *str) {
^
hwprintf.c:345:23: warning: pointer targets in passing argument 2 of 'nw_wrap_addstr' differ in signedness [-Wpointer-sign]
nw_wrap_addstr(h, lasturl);
^
hwprintf.c:126:13: note: expected 'const unsigned char *' but argument is of type 'char *'
static void nw_wrap_addstr(h_t *h, const unsigned char *str) {
^
hwprintf.c:159:35: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign]
#define CHECKTAG(tag) (strcasecmp(tagbase, (tag)) == 0)
^
hwprintf.c:349:12: note: in expansion of macro 'CHECKTAG'
} else if CHECKTAG("IMG") {
^
In file included from ../include/naim/secs.h:13:0,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
/usr/include/string.h:529:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strcasecmp (const char *__s1, const char *__s2)
^
hwprintf.c:350:21: warning: pointer targets in passing argument 2 of 'nw_wrap_addstr' differ in signedness [-Wpointer-sign]
nw_wrap_addstr(h, "[IMAGE:");
^
hwprintf.c:126:13: note: expected 'const unsigned char *' but argument is of type 'char *'
static void nw_wrap_addstr(h_t *h, const unsigned char *str) {
^
hwprintf.c:159:35: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign]
#define CHECKTAG(tag) (strcasecmp(tagbase, (tag)) == 0)
^
hwprintf.c:353:13: note: in expansion of macro 'CHECKTAG'
} else if (CHECKTAG("BR") || CHECKTAG("BR/")) {
^
In file included from ../include/naim/secs.h:13:0,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
/usr/include/string.h:529:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strcasecmp (const char *__s1, const char *__s2)
^
buddy.c: In function 'bupdate':
buddy.c:352:56: warning: pointer targets in passing argument 4 of 'nw_printf' differ in signedness [-Wpointer-sign]
nw_printf(&win_buddy, C(WINLIST,BUDDY_OFFLINE), 1, " %s", conn->winname);
^
hwprintf.c:159:35: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign]
#define CHECKTAG(tag) (strcasecmp(tagbase, (tag)) == 0)
^
hwprintf.c:353:31: note: in expansion of macro 'CHECKTAG'
} else if (CHECKTAG("BR") || CHECKTAG("BR/")) {
^
In file included from ../include/naim/secs.h:13:0,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
/usr/include/string.h:529:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strcasecmp (const char *__s1, const char *__s2)
^
hwprintf.c:354:21: warning: pointer targets in passing argument 2 of 'nw_wrap_addstr' differ in signedness [-Wpointer-sign]
nw_wrap_addstr(h, "\n ");
^
hwprintf.c:126:13: note: expected 'const unsigned char *' but argument is of type 'char *'
static void nw_wrap_addstr(h_t *h, const unsigned char *str) {
^
hwprintf.c:159:35: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign]
#define CHECKTAG(tag) (strcasecmp(tagbase, (tag)) == 0)
^
hwprintf.c:356:12: note: in expansion of macro 'CHECKTAG'
} else if CHECKTAG("HR") {
^
In file included from ../include/naim/secs.h:13:0,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
/usr/include/string.h:529:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strcasecmp (const char *__s1, const char *__s2)
^
hwprintf.c:357:21: warning: pointer targets in passing argument 2 of 'nw_wrap_addstr' differ in signedness [-Wpointer-sign]
nw_wrap_addstr(h, "----------------\n");
^
hwprintf.c:126:13: note: expected 'const unsigned char *' but argument is of type 'char *'
static void nw_wrap_addstr(h_t *h, const unsigned char *str) {
^
hwprintf.c:159:35: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign]
#define CHECKTAG(tag) (strcasecmp(tagbase, (tag)) == 0)
^
hwprintf.c:358:12: note: in expansion of macro 'CHECKTAG'
} else if CHECKTAG("FONT") {
^
In file included from ../include/naim/secs.h:13:0,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
/usr/include/string.h:529:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strcasecmp (const char *__s1, const char *__s2)
^
hwprintf.c:361:14: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
char *t = argbuf;
^
hwprintf.c:406:32: warning: pointer targets in passing argument 1 of 'parsehtml_pair' differ in signedness [-Wpointer-sign]
h->pair = parsehtml_pair(colbuf, h->pair, &inbold, 'F');
^
hwprintf.c:204:12: note: expected 'const unsigned char *' but argument is of type 'char *'
static int parsehtml_pair(const unsigned char *buf, int _pair, char *inbold, char foreorback) {
^
hwprintf.c:159:35: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign]
#define CHECKTAG(tag) (strcasecmp(tagbase, (tag)) == 0)
^
hwprintf.c:443:12: note: in expansion of macro 'CHECKTAG'
} else if CHECKTAG("PRE") {
^
In file included from ../include/naim/secs.h:13:0,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
/usr/include/string.h:529:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strcasecmp (const char *__s1, const char *__s2)
^
hwprintf.c:159:35: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign]
#define CHECKTAG(tag) (strcasecmp(tagbase, (tag)) == 0)
^
hwprintf.c:444:12: note: in expansion of macro 'CHECKTAG'
} else if CHECKTAG("P") {
^
In file included from ../include/naim/secs.h:13:0,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
/usr/include/string.h:529:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strcasecmp (const char *__s1, const char *__s2)
^
hwprintf.c:159:35: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign]
#define CHECKTAG(tag) (strcasecmp(tagbase, (tag)) == 0)
^
hwprintf.c:445:13: note: in expansion of macro 'CHECKTAG'
} else if (CHECKTAG("HTML") || CHECKTAG("BODY") || CHECKTAG("DIV") || CHECKTAG("SPAN")) {
^
In file included from ../include/naim/secs.h:13:0,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
/usr/include/string.h:529:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strcasecmp (const char *__s1, const char *__s2)
^
hwprintf.c:159:35: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign]
#define CHECKTAG(tag) (strcasecmp(tagbase, (tag)) == 0)
^
hwprintf.c:445:33: note: in expansion of macro 'CHECKTAG'
} else if (CHECKTAG("HTML") || CHECKTAG("BODY") || CHECKTAG("DIV") || CHECKTAG("SPAN")) {
^
In file included from ../include/naim/secs.h:13:0,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
/usr/include/string.h:529:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strcasecmp (const char *__s1, const char *__s2)
^
hwprintf.c:159:35: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign]
#define CHECKTAG(tag) (strcasecmp(tagbase, (tag)) == 0)
^
hwprintf.c:445:53: note: in expansion of macro 'CHECKTAG'
} else if (CHECKTAG("HTML") || CHECKTAG("BODY") || CHECKTAG("DIV") || CHECKTAG("SPAN")) {
^
In file included from ../include/naim/secs.h:13:0,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
/usr/include/string.h:529:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strcasecmp (const char *__s1, const char *__s2)
^
hwprintf.c:159:35: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign]
#define CHECKTAG(tag) (strcasecmp(tagbase, (tag)) == 0)
^
hwprintf.c:445:72: note: in expansion of macro 'CHECKTAG'
} else if (CHECKTAG("HTML") || CHECKTAG("BODY") || CHECKTAG("DIV") || CHECKTAG("SPAN")) {
^
In file included from ../include/naim/secs.h:13:0,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
/usr/include/string.h:529:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strcasecmp (const char *__s1, const char *__s2)
^
hwprintf.c:448:14: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
char *t = argbuf;
^
hwprintf.c:493:32: warning: pointer targets in passing argument 1 of 'parsehtml_pair' differ in signedness [-Wpointer-sign]
h->pair = parsehtml_pair(colbuf, h->pair, &inbold, 'B');
^
hwprintf.c:204:12: note: expected 'const unsigned char *' but argument is of type 'char *'
static int parsehtml_pair(const unsigned char *buf, int _pair, char *inbold, char foreorback) {
^
In file included from buddy.c:6:0:
../include/naim/naim.h:475:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int nw_printf(win_t *win, int, int, const unsigned char *, ...) G_GNUC_INTERNAL;
^
buddy.c:355:48: warning: pointer targets in passing argument 4 of 'nw_printf' differ in signedness [-Wpointer-sign]
nw_printf(&win_buddy, C(WINLIST,TEXT), 1, "%s", " You are offline");
^
In file included from buddy.c:6:0:
../include/naim/naim.h:475:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int nw_printf(win_t *win, int, int, const unsigned char *, ...) G_GNUC_INTERNAL;
^
buddy.c:359:47: warning: pointer targets in passing argument 4 of 'nw_printf' differ in signedness [-Wpointer-sign]
nw_printf(&win_buddy, C(WINLIST,TEXT), 1, " %s", conn->winname);
^
In file included from buddy.c:6:0:
../include/naim/naim.h:475:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int nw_printf(win_t *win, int, int, const unsigned char *, ...) G_GNUC_INTERNAL;
^
In file included from buddy.c:6:0:
../include/naim/naim.h:315:24: warning: pointer targets in passing argument 3 of 'echof' differ in signedness [-Wpointer-sign]
echof(curconn, NULL, "Fatal error %i in strdup(%s): %s\n", errno, \
^
buddy.c:368:5: note: in expansion of macro 'STRREPLACE'
STRREPLACE(lastgroup, USER_GROUP(bwin->e.buddy));
^
../include/naim/naim.h:393:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void echof(conn_t *conn, const unsigned char *where, const unsigned char *format, ...);
^
../include/naim/naim.h:315:24: warning: pointer targets in passing argument 3 of 'echof' differ in signedness [-Wpointer-sign]
echof(curconn, NULL, "Fatal error %i in strdup(%s): %s\n", errno, \
^
buddy.c:370:5: note: in expansion of macro 'STRREPLACE'
STRREPLACE(lastgroup, CHAT_GROUP);
^
../include/naim/naim.h:393:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void echof(conn_t *conn, const unsigned char *where, const unsigned char *format, ...);
^
buddy.c:395:62: warning: pointer targets in passing argument 4 of 'nw_printf' differ in signedness [-Wpointer-sign]
nw_printf(&win_buddy, C(WINLIST,TEXT), hidegroup?0:1, "%c%s%c",
^
In file included from buddy.c:6:0:
../include/naim/naim.h:475:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int nw_printf(win_t *win, int, int, const unsigned char *, ...) G_GNUC_INTERNAL;
^
hwprintf.c: In function 'parsehtml_amp':
hwprintf.c:549:16: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign]
int c = atoi(tagbuf+1);
^
In file included from /usr/include/features.h:368:0,
from /usr/include/ctype.h:25,
from ../include/naim/naim.h:9,
from hwprintf.c:6:
/usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__NTH (atoi (const char *__nptr))
^
hwprintf.c:554:22: warning: pointer targets in passing argument 2 of 'nw_wrap_addstr' differ in signedness [-Wpointer-sign]
nw_wrap_addstr(h, keyname(c));
^
hwprintf.c:126:13: note: expected 'const unsigned char *' but argument is of type 'const char *'
static void nw_wrap_addstr(h_t *h, const unsigned char *str) {
^
hwprintf.c:160:35: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign]
#define CHECKAMP(tag) (strcasecmp(tagbuf, (tag)) == 0)
^
hwprintf.c:555:12: note: in expansion of macro 'CHECKAMP'
} else if CHECKAMP("NBSP") {
^
In file included from ../include/naim/secs.h:13:0,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
/usr/include/string.h:529:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strcasecmp (const char *__s1, const char *__s2)
^
hwprintf.c:160:35: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign]
#define CHECKAMP(tag) (strcasecmp(tagbuf, (tag)) == 0)
^
hwprintf.c:557:12: note: in expansion of macro 'CHECKAMP'
} else if CHECKAMP("AMP") {
^
In file included from ../include/naim/secs.h:13:0,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
/usr/include/string.h:529:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strcasecmp (const char *__s1, const char *__s2)
^
hwprintf.c:160:35: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign]
#define CHECKAMP(tag) (strcasecmp(tagbuf, (tag)) == 0)
^
hwprintf.c:559:12: note: in expansion of macro 'CHECKAMP'
} else if CHECKAMP("LT") {
^
In file included from ../include/naim/secs.h:13:0,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
/usr/include/string.h:529:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strcasecmp (const char *__s1, const char *__s2)
^
hwprintf.c:160:35: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign]
#define CHECKAMP(tag) (strcasecmp(tagbuf, (tag)) == 0)
^
hwprintf.c:561:12: note: in expansion of macro 'CHECKAMP'
} else if CHECKAMP("GT") {
^
In file included from ../include/naim/secs.h:13:0,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
/usr/include/string.h:529:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strcasecmp (const char *__s1, const char *__s2)
^
hwprintf.c:160:35: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign]
#define CHECKAMP(tag) (strcasecmp(tagbuf, (tag)) == 0)
^
hwprintf.c:563:12: note: in expansion of macro 'CHECKAMP'
} else if CHECKAMP("QUOT") {
^
In file included from ../include/naim/secs.h:13:0,
from ../include/naim/naim.h:14,
from hwprintf.c:6:
/usr/include/string.h:529:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strcasecmp (const char *__s1, const char *__s2)
^
hwprintf.c: In function 'parsehtml':
hwprintf.c:574:27: warning: pointer targets in passing argument 2 of 'parsehtml_tag' differ in signedness [-Wpointer-sign]
return(parsehtml_tag(h, str+1, backup));
^
hwprintf.c:230:22: note: expected 'unsigned char *' but argument is of type 'char *'
static unsigned long parsehtml_tag(h_t *h, unsigned char *text, int backup) {
^
hwprintf.c:576:27: warning: pointer targets in passing argument 2 of 'parsehtml_amp' differ in signedness [-Wpointer-sign]
return(parsehtml_amp(h, str+1));
^
hwprintf.c:527:22: note: expected 'unsigned char *' but argument is of type 'char *'
static unsigned long parsehtml_amp(h_t *h, unsigned char *text) {
^
hwprintf.c: In function 'vhwprintf':
hwprintf.c:595:18: warning: pointer targets in passing argument 1 of 'vsnprintf' differ in signedness [-Wpointer-sign]
len = vsnprintf(buf, sizeof(buf), format, msg);
^
In file included from /usr/include/features.h:368:0,
from /usr/include/ctype.h:25,
from ../include/naim/naim.h:9,
from hwprintf.c:6:
/usr/include/bits/stdio2.h:74:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
__NTH (vsnprintf (char *__restrict __s, size_t __n,
^
hwprintf.c:595:36: warning: pointer targets in passing argument 3 of 'vsnprintf' differ in signedness [-Wpointer-sign]
len = vsnprintf(buf, sizeof(buf), format, msg);
^
In file included from /usr/include/features.h:368:0,
from /usr/include/ctype.h:25,
from ../include/naim/naim.h:9,
from hwprintf.c:6:
/usr/include/bits/stdio2.h:74:1: note: expected 'const char * restrict' but argument is of type 'const unsigned char *'
__NTH (vsnprintf (char *__restrict __s, size_t __n,
^
hwprintf.c:625:33: warning: pointer targets in passing argument 2 of 'parsehtml' differ in signedness [-Wpointer-sign]
if ((skiplen = parsehtml(&h, buf+pos, pos-lastpos)) == 0) {
^
hwprintf.c:572:22: note: expected 'char *' but argument is of type 'unsigned char *'
static unsigned long parsehtml(h_t *h, char *str, int backup) {
^
hwprintf.c:647:24: warning: pointer targets in passing argument 2 of 'nw_wrap_addstr' differ in signedness [-Wpointer-sign]
nw_wrap_addstr(&h, keyname(buf[pos]));
^
hwprintf.c:126:13: note: expected 'const unsigned char *' but argument is of type 'const char *'
static void nw_wrap_addstr(h_t *h, const unsigned char *str) {
^
In file included from buddy.c:6:0:
../include/naim/naim.h:315:24: warning: pointer targets in passing argument 3 of 'echof' differ in signedness [-Wpointer-sign]
echof(curconn, NULL, "Fatal error %i in strdup(%s): %s\n", errno, \
^
buddy.c:399:7: note: in expansion of macro 'STRREPLACE'
STRREPLACE(lastgroup, group);
^
../include/naim/naim.h:393:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void echof(conn_t *conn, const unsigned char *where, const unsigned char *format, ...);
^
buddy.c:416:16: warning: pointer targets in passing argument 1 of 'nw_titlef' differ in signedness [-Wpointer-sign]
nw_titlef("[%s:%s]", conn->winname, buf);
^
In file included from buddy.c:6:0:
../include/naim/naim.h:476:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int nw_titlef(const unsigned char *, ...) G_GNUC_INTERNAL;
^
buddy.c:485:48: warning: pointer targets in passing argument 4 of 'nw_printf' differ in signedness [-Wpointer-sign]
nw_printf(&win_buddy, col%COLOR_PAIRS, 1, "%*s", M, buf);
^
In file included from buddy.c:6:0:
../include/naim/naim.h:475:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int nw_printf(win_t *win, int, int, const unsigned char *, ...) G_GNUC_INTERNAL;
^
buddy.c:487:48: warning: pointer targets in passing argument 4 of 'nw_printf' differ in signedness [-Wpointer-sign]
nw_printf(&win_buddy, col%COLOR_PAIRS, 0, "%*s", M, buf);
^
In file included from buddy.c:6:0:
../include/naim/naim.h:475:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int nw_printf(win_t *win, int, int, const unsigned char *, ...) G_GNUC_INTERNAL;
^
buddy.c:512:13: warning: pointer targets in passing argument 1 of 'nw_titlef' differ in signedness [-Wpointer-sign]
nw_titlef("");
^
In file included from buddy.c:6:0:
../include/naim/naim.h:476:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int nw_titlef(const unsigned char *, ...) G_GNUC_INTERNAL;
^
buddy.c: In function 'bclose':
buddy.c:639:23: warning: pointer targets in passing argument 2 of 'status_echof' differ in signedness [-Wpointer-sign]
status_echof(conn, "Type /delbuddy to remove %s from your buddy list.\n",
^
In file included from buddy.c:6:0:
../include/naim/naim.h:391:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void status_echof(conn_t *conn, const unsigned char *format, ...);
^
../include/naim/naim.h:315:24: warning: pointer targets in passing argument 3 of 'echof' differ in signedness [-Wpointer-sign]
echof(curconn, NULL, "Fatal error %i in strdup(%s): %s\n", errno, \
^
buddy.c:641:4: note: in expansion of macro 'STRREPLACE'
STRREPLACE(lastclose, bwin->winname);
^
../include/naim/naim.h:393:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void echof(conn_t *conn, const unsigned char *where, const unsigned char *format, ...);
^
buddy.c:659:21: warning: pointer targets in passing argument 3 of 'echof' differ in signedness [-Wpointer-sign]
echof(conn, NULL, "File transfer aborted.\n");
^
In file included from buddy.c:6:0:
../include/naim/naim.h:393:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void echof(conn_t *conn, const unsigned char *where, const unsigned char *format, ...);
^
buddy.c: In function 'naim_normalize':
buddy.c:708:8: warning: pointer targets in return differ in signedness [-Wpointer-sign]
return(newname);
^
buddy.c: In function 'playback_fopen':
buddy.c:750:36: warning: pointer targets in passing argument 1 of 'naim_normalize' differ in signedness [-Wpointer-sign]
secs_setvar("cur", naim_normalize(bwin->winname));
^
buddy.c:698:22: note: expected 'const unsigned char * const' but argument is of type 'char *'
const unsigned char *naim_normalize(const unsigned char *const name) {
^
buddy.c:750:21: warning: pointer targets in passing argument 2 of 'secs_setvar' differ in signedness [-Wpointer-sign]
secs_setvar("cur", naim_normalize(bwin->winname));
^
In file included from ../include/naim/naim.h:14:0,
from buddy.c:6:
../include/naim/secs.h:63:5: note: expected 'const char *' but argument is of type 'const unsigned char *'
int secs_setvar(const char *name, const char *val);
^
buddy.c:774:23: warning: pointer targets in passing argument 2 of 'status_echof' differ in signedness [-Wpointer-sign]
status_echof(conn, "Warning: While opening logfile for %s, two versions were found: [%s] and [%s]. I will use [%s], but you may want to look into this discrepency.\n",
^
In file included from buddy.c:6:0:
../include/naim/naim.h:391:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void status_echof(conn_t *conn, const unsigned char *format, ...);
^
buddy.c: In function 'playback':
buddy.c:800:17: warning: pointer targets in passing argument 1 of 'nw_statusbarf' differ in signedness [-Wpointer-sign]
nw_statusbarf("Redrawing window for %s.", bwin->winname);
^
In file included from buddy.c:6:0:
../include/naim/naim.h:477:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int nw_statusbarf(const unsigned char *format, ...) G_GNUC_INTERNAL;
^
buddy.c:822:46: warning: pointer targets in passing argument 3 of 'hwprintf' differ in signedness [-Wpointer-sign]
hwprintf(&(bwin->nwin), -C(IMWIN,TEXT)-1, "%s", buf);
^
In file included from buddy.c:6:0:
../include/naim/naim.h:431:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int hwprintf(win_t *, int, const unsigned char *, ...);
^
buddy.c:824:19: warning: pointer targets in passing argument 1 of 'nw_statusbarf' differ in signedness [-Wpointer-sign]
nw_statusbarf("Redrawing window for %s (%li lines left).",
^
In file included from buddy.c:6:0:
../include/naim/naim.h:477:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int nw_statusbarf(const unsigned char *format, ...) G_GNUC_INTERNAL;
^
buddy.c: In function 'bnewwin':
buddy.c:849:34: warning: pointer targets in passing argument 4 of 'nw_printf' differ in signedness [-Wpointer-sign]
nw_printf(&(bwin->nwin), 0, 0, "\n");
^
In file included from buddy.c:6:0:
../include/naim/naim.h:475:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int nw_printf(win_t *win, int, int, const unsigned char *, ...) G_GNUC_INTERNAL;
^
buddy.c:878:15: warning: pointer targets in passing argument 1 of 'aimcmp' differ in signedness [-Wpointer-sign]
if (aimcmp(lastbwin->winname, lastbwin->next->winname) == 1)
^
In file included from buddy.c:6:0:
../include/naim/naim.h:449:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int aimcmp(const unsigned char *, const unsigned char *) G_GNUC_INTERNAL;
^
buddy.c:878:34: warning: pointer targets in passing argument 2 of 'aimcmp' differ in signedness [-Wpointer-sign]
if (aimcmp(lastbwin->winname, lastbwin->next->winname) == 1)
^
In file included from buddy.c:6:0:
../include/naim/naim.h:449:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int aimcmp(const unsigned char *, const unsigned char *) G_GNUC_INTERNAL;
^
buddy.c:885:15: warning: pointer targets in passing argument 1 of 'aimcmp' differ in signedness [-Wpointer-sign]
if (aimcmp(srchbwin->next->winname, bwin->winname) == 1)
^
In file included from buddy.c:6:0:
../include/naim/naim.h:449:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int aimcmp(const unsigned char *, const unsigned char *) G_GNUC_INTERNAL;
^
buddy.c:885:40: warning: pointer targets in passing argument 2 of 'aimcmp' differ in signedness [-Wpointer-sign]
if (aimcmp(srchbwin->next->winname, bwin->winname) == 1)
^
In file included from buddy.c:6:0:
../include/naim/naim.h:449:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int aimcmp(const unsigned char *, const unsigned char *) G_GNUC_INTERNAL;
^
buddy.c:895:23: warning: pointer targets in passing argument 2 of 'status_echof' differ in signedness [-Wpointer-sign]
status_echof(conn, "Unable to open scrollback buffer file: %s\n",
^
In file included from buddy.c:6:0:
../include/naim/naim.h:391:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void status_echof(conn_t *conn, const unsigned char *format, ...);
^
buddy.c: In function 'bcoming':
buddy.c:923:22: warning: pointer targets in passing argument 2 of 'status_echof' differ in signedness [-Wpointer-sign]
status_echof(conn, "Adding %s to your buddy list due to sign-on.\n", buddy);
^
In file included from buddy.c:6:0:
../include/naim/naim.h:391:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void status_echof(conn_t *conn, const unsigned char *format, ...);
^
../include/naim/naim.h:315:24: warning: pointer targets in passing argument 3 of 'echof' differ in signedness [-Wpointer-sign]
echof(curconn, NULL, "Fatal error %i in strdup(%s): %s\n", errno, \
^
buddy.c:926:2: note: in expansion of macro 'STRREPLACE'
STRREPLACE(blist->_account, buddy);
^
../include/naim/naim.h:393:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void echof(conn_t *conn, const unsigned char *where, const unsigned char *format, ...);
^
buddy.c:938:22: warning: pointer targets in passing argument 2 of 'status_echof' differ in signedness [-Wpointer-sign]
status_echof(conn, "%s [%s] is now online =)\n",
^
In file included from buddy.c:6:0:
../include/naim/naim.h:391:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void status_echof(conn_t *conn, const unsigned char *format, ...);
^
buddy.c:941:23: warning: pointer targets in passing argument 2 of 'window_echof' differ in signedness [-Wpointer-sign]
window_echof(bwin, "%s [%s] is now online =)\n",
^
In file included from buddy.c:6:0:
../include/naim/naim.h:392:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void window_echof(buddywin_t *bwin, const unsigned char *format, ...);
^
buddy.c:947:25: warning: pointer targets in passing argument 2 of 'window_echof' differ in signedness [-Wpointer-sign]
window_echof(bwin, "Sending queued IM %i/%i [%s].\n",
^
In file included from buddy.c:6:0:
../include/naim/naim.h:392:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void window_echof(buddywin_t *bwin, const unsigned char *format, ...);
^
buddy.c: In function 'bgoing':
buddy.c:981:22: warning: pointer targets in passing argument 3 of 'echof' differ in signedness [-Wpointer-sign]
echof(conn, NULL, "Strangeness while marking %s offline: no autopeer negotiated, but autocrypt set!\n",
^
In file included from buddy.c:6:0:
../include/naim/naim.h:393:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void echof(conn_t *conn, const unsigned char *where, const unsigned char *format, ...);
^
buddy.c:993:22: warning: pointer targets in passing argument 2 of 'status_echof' differ in signedness [-Wpointer-sign]
status_echof(conn, "%s [%s] has just logged off :(\n",
^
In file included from buddy.c:6:0:
../include/naim/naim.h:391:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void status_echof(conn_t *conn, const unsigned char *format, ...);
^
buddy.c:1006:23: warning: pointer targets in passing argument 2 of 'window_echof' differ in signedness [-Wpointer-sign]
window_echof(bwin, "%s [%s] has just logged off :(\n",
^
In file included from buddy.c:6:0:
../include/naim/naim.h:392:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void window_echof(buddywin_t *bwin, const unsigned char *format, ...);
^
buddy.c: In function 'bidle':
buddy.c:1045:23: warning: pointer targets in passing argument 2 of 'window_echof' differ in signedness [-Wpointer-sign]
window_echof(bwin, "%s is now idle.\n",
^
In file included from buddy.c:6:0:
../include/naim/naim.h:392:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void window_echof(buddywin_t *bwin, const unsigned char *format, ...);
^
buddy.c:1048:23: warning: pointer targets in passing argument 2 of 'window_echof' differ in signedness [-Wpointer-sign]
window_echof(bwin, "%s is no longer idle!\n",
^
In file included from buddy.c:6:0:
../include/naim/naim.h:392:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void window_echof(buddywin_t *bwin, const unsigned char *format, ...);
^
buddy.c: In function 'baway':
buddy.c:1078:24: warning: pointer targets in passing argument 2 of 'window_echof' differ in signedness [-Wpointer-sign]
window_echof(bwin, "%s is now away.\n",
^
In file included from buddy.c:6:0:
../include/naim/naim.h:392:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void window_echof(buddywin_t *bwin, const unsigned char *format, ...);
^
buddy.c:1082:24: warning: pointer targets in passing argument 2 of 'window_echof' differ in signedness [-Wpointer-sign]
window_echof(bwin, "%s is now available: %s\n",
^
In file included from buddy.c:6:0:
../include/naim/naim.h:392:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void window_echof(buddywin_t *bwin, const unsigned char *format, ...);
^
buddy.c:1085:24: warning: pointer targets in passing argument 2 of 'window_echof' differ in signedness [-Wpointer-sign]
window_echof(bwin, "%s is no longer away!\n",
^
In file included from buddy.c:6:0:
../include/naim/naim.h:392:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void window_echof(buddywin_t *bwin, const unsigned char *format, ...);
^
buddy.c: In function 'bclearall_bwin':
buddy.c:1102:23: warning: pointer targets in passing argument 2 of 'window_echof' differ in signedness [-Wpointer-sign]
window_echof(bwin, "%s [%s] is no longer available :/\n",
^
In file included from buddy.c:6:0:
../include/naim/naim.h:392:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void window_echof(buddywin_t *bwin, const unsigned char *format, ...);
^
buddy.c:1115:23: warning: pointer targets in passing argument 2 of 'window_echof' differ in signedness [-Wpointer-sign]
window_echof(bwin, "Chat %s is no longer available :/\n",
^
In file included from buddy.c:6:0:
../include/naim/naim.h:392:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void window_echof(buddywin_t *bwin, const unsigned char *format, ...);
^
events.c:14:24: fatal error: conio_cmds.h: No such file or directory
compilation terminated.
make[2]: *** [events.o] Error 1
make[2]: *** Waiting for unfinished jobs....
buddy.c: In function 'makedir':
buddy.c:729:6: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
chdir(home);
^
buddy.c:738:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
chdir(home);
^
main.c: In function 'dummy':
main.c:92:18: warning: pointer targets in passing argument 2 of 'echof' differ in signedness [-Wpointer-sign]
echof(curconn, "SIGNAL", "Got signal %i!\n", sig);
^
In file included from main.c:6:0:
../include/naim/naim.h:393:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void echof(conn_t *conn, const unsigned char *where, const unsigned char *format, ...);
^
main.c:92:28: warning: pointer targets in passing argument 3 of 'echof' differ in signedness [-Wpointer-sign]
echof(curconn, "SIGNAL", "Got signal %i!\n", sig);
^
In file included from main.c:6:0:
../include/naim/naim.h:393:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void echof(conn_t *conn, const unsigned char *where, const unsigned char *format, ...);
^
main.c: In function 'main':
main.c:149:15: warning: pointer targets in passing argument 1 of 'nw_titlef' differ in signedness [-Wpointer-sign]
nw_titlef("");
^
In file included from main.c:6:0:
../include/naim/naim.h:476:5: note: expected 'const unsigned char *' but argument is of type 'char *'
int nw_titlef(const unsigned char *, ...) G_GNUC_INTERNAL;
^
main.c:296:24: warning: pointer targets in passing argument 3 of 'echof' differ in signedness [-Wpointer-sign]
echof(curconn, NULL, "Unable to initialize module handler: %s.\n",
^
In file included from main.c:6:0:
../include/naim/naim.h:393:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void echof(conn_t *conn, const unsigned char *where, const unsigned char *format, ...);
^
main.c:354:24: warning: pointer targets in passing argument 3 of 'echof' differ in signedness [-Wpointer-sign]
echof(curconn, NULL, "Attempting to load %s\n", naimrcfilename);
^
In file included from main.c:6:0:
../include/naim/naim.h:393:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void echof(conn_t *conn, const unsigned char *where, const unsigned char *format, ...);
^
main.c:446:19: warning: pointer targets in passing argument 2 of 'echof' differ in signedness [-Wpointer-sign]
echof(curconn, "MAIN", "firetalk_select_custom() returned error %i: %s\n",
^
In file included from main.c:6:0:
../include/naim/naim.h:393:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void echof(conn_t *conn, const unsigned char *where, const unsigned char *format, ...);
^
main.c:446:27: warning: pointer targets in passing argument 3 of 'echof' differ in signedness [-Wpointer-sign]
echof(curconn, "MAIN", "firetalk_select_custom() returned error %i: %s\n",
^
In file included from main.c:6:0:
../include/naim/naim.h:393:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void echof(conn_t *conn, const unsigned char *where, const unsigned char *format, ...);
^
main.c:497:23: warning: pointer targets in passing argument 3 of 'echof' differ in signedness [-Wpointer-sign]
echof(curconn, NULL, "Goodbye.\n");
^
In file included from main.c:6:0:
../include/naim/naim.h:393:6: note: expected 'const unsigned char *' but argument is of type 'char *'
void echof(conn_t *conn, const unsigned char *where, const unsigned char *format, ...);
^
main.c:316:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
chdir(home);
^
main.c:485:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
write(mod_fd_listar[i].fd,
^
make[2]: Leaving directory `/usr/src/RPM/BUILD/naim-0.11.8.3.2/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/RPM/BUILD/naim-0.11.8.3.2/src'
make: *** [all-recursive] Error 1
make: Leaving directory `/usr/src/RPM/BUILD/naim-0.11.8.3.2'
error: Bad exit status from /usr/src/tmp/rpm-tmp.90913 (%build)
RPM build errors:
Bad exit status from /usr/src/tmp/rpm-tmp.90913 (%build)
Command exited with non-zero status 1
10.71user 3.28system 0:12.76elapsed 109%CPU (0avgtext+0avgdata 50240maxresident)k
0inputs+0outputs (0major+1073801minor)pagefaults 0swaps
hsh-rebuild: rebuild of `naim-0.11.8.3.2-alt2.qa1.src.rpm' failed.
Command exited with non-zero status 1
17.31user 5.94system 0:24.80elapsed 93%CPU (0avgtext+0avgdata 121868maxresident)k
0inputs+0outputs (0major+1306723minor)pagefaults 0swaps