pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/36399: centericq doesnt compile on amd64 - NetBSD-Current



The following reply was made to PR pkg/36399; it has been noted by GNATS.

From: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/36399: centericq doesnt compile on amd64 - NetBSD-Current
Date: Tue, 29 May 2007 22:40:33 +0900

 On Tue, 29 May 2007 20:55:00 +0900, <a-burghardt%gmx.de@localhost> wrote:
 
 >> Description:
 > chat/centericq doesn`t build on NetBSD-Current (amd64). The build exit=
 s  =
 
 > as follows:
 >
 > c++ -DPACKAGE=3D\"kkconsui\" -DVERSION=3D\"0.1\"  -I. -I.  -I../includ=
 e  =
 
 > -I../../kkstrtext -I../../kkstrtext-0.1    -O2 -I/usr/include  =
 
 > -I/usr/pkg/include -I/usr/pkg/include -c texteditor.cc
 > texteditor.cc: In static member function 'static int  =
 
 > ktool::texteditor::findint(void*, void*)':
 > texteditor.cc:1943: error: cast from 'void*' to 'int' loses precision
 
 Replacement cast '(int)' to '(intptr_t)' for 'void*' would fix this  =
 
 problem.
 But intptr_t is C99 feature, more generalized methods exist?
 
 -- =
 
 "Of course I love NetBSD":-)
 OBATA Akio / obache%NetBSD.org@localhost
 



Home | Main Index | Thread Index | Old Index