pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/33914: devel/prcs fails to build with gcc4
>Number: 33914
>Category: pkg
>Synopsis: devel/prcs fails to build with gcc4
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 04 13:45:00 +0000 2006
>Originator: Ryo HAYASAKA
>Release: NetBSD 3.99.21, pkgsrc-current
>Organization:
Japan Advanced Institute of Science and Technology (JAIST)
>Environment:
System: NetBSD bonnie.jaist.ac.jp 3.99.21 NetBSD 3.99.21 (BONNIE) #614: Thu Jun
29 12:20:58 JST 2006
ryoh%bonnie.jaist.ac.jp@localhost:/usr/src/sys/arch/i386/compile/BONNIE i386
Architecture: i386
Machine: i386
>Description:
devel/prcs fails to build with gcc4 as follows:
$ make
...
source='projdesc.cc' object='projdesc.o' libtool=no
depfile='.deps/projdesc.Po' tmpdepfile='.deps/projdesc.TPo' depmode=gcc3
/bin/sh ../depcomp c++ -DHAVE_CONFIG_H -I. -I. -I.. -I./include -O2 -pipe
-march=athlon -pipe -march=athlon -Wall -c -o projdesc.o `test -f 'projdesc.cc'
|| echo './'`projdesc.cc
projdesc.cc: In member function 'PrVoidError
ProjectDescriptor::init_from_file(const char*, const char*, bool, FILE*,
ProjectReadData)':
projdesc.cc:302: error: 'attrs_hash' was not declared in this scope
projdesc.cc:302: error: 'attrs_equal' was not declared in this scope
prj-names.h: In member function 'int ProjectDescriptor::prj_lookup_hash(const
char*, int)':
prj-names.h:35: warning: array subscript has type 'char'
prj-names.h:35: warning: array subscript has type 'char'
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/prcs/work/prcs-1.3.3/src
*** Error code 1
>How-To-Repeat:
>Fix:
$NetBSD$
--- src/include/projdesc.h.orig 2004-05-10 09:40:55.000000000 +0900
+++ src/include/projdesc.h
@@ -130,6 +130,9 @@ public:
class AttrDesc { public: const char* name; AttrType type; };
+bool attrs_equal(const PrcsAttrs*const& x, const PrcsAttrs*const& y);
+int attrs_hash(const PrcsAttrs*const& s, int M);
+
class PrcsAttrs {
friend class ProjectDescriptor;
friend class FileEntry;
Home |
Main Index |
Thread Index |
Old Index