[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: Bug#2187: kfinger 1.1.2 compilation problem IRIX 6.5
From: Ralf Fassel <ralf () akutech ! de>
Date: 1999-10-22 12:47:48
[Download RAW message or body]
Package: kfinger
Version: 1.1.2
Irix 6.5, gcc 2.95.1, kde 1.1.2
gmake[3]: Entering directory `/disk2/ralf/Software/kde/kdenetwork-1.1.2/kfinger'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/software/kde/1.1.2/include -I/work/include \
-I/work/include -D_LANGUAGE_C_PLUS_PLUS -c finger.C
finger.C: In method `int FingerProtocol::writeString(QString)':
finger.C:141: passing `unsigned int *' as argument 5 of `getsockopt(int, int, int, \
void *, int *)' changes signedness gmake[3]: *** [finger.o] Error 1
IRIX 6.5 has `int*' instead of `unsigned int*' as 5th arg
C SYNOPSIS
#include <sys/types.h>
#include <sys/socket.h>
int getsockopt(int s, int level, int optname, void *optval,
int *optlen);
The `len' argument isn't used anyway in this function. Don't know
whether the change to `int' causes problems on other problems with
this patch:
*** kdenetwork-1.1.2/kfinger/finger.C.kde Thu Aug 12 13:01:29 1999
--- kdenetwork-1.1.2/kfinger/finger.C Fri Oct 22 14:42:47 1999
***************
*** 135,141 ****
int FingerProtocol::writeString(QString st)
{
! unsigned int len;
char val=0;
getsockopt(sock,SOL_SOCKET,SO_ERROR,(void*)&val,&len );
--- 135,141 ----
int FingerProtocol::writeString(QString st)
{
! int len;
char val=0;
getsockopt(sock,SOL_SOCKET,SO_ERROR,(void*)&val,&len );
Diff finished at Fri Oct 22 14:42:56
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic