Subject: pkg/22624: jade 1.2.1nb7 compile error with gcc 3.3.1 [i386]
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <d.den.brok@oavw.net>
List: netbsd-bugs
Date: 08/28/2003 12:03:22
>Number: 22624
>Category: pkg
>Synopsis: jade 1.2.1nb7 compile error with gcc 3.3.1 [i386]
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Aug 28 12:04:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Dennis den Brok
>Release: 1.6.1_STABLE
>Organization:
>Environment:
NetBSD ogox 1.6.1_STABLE NetBSD 1.6.1_STABLE (ogox) #0: Sun Aug 17 01:50:02 CEST 2003 i386
>Description:
A certain file of the jade library does not compile with GCC c++ 3.3.1. Here the output during the build:
gmake[2]: Entering directory `/usr/pkgsrc/textproc/jade/work/jade-1.2.1/lib'
g++ -O2 -march=pentium4 -finline-functions -ffast-math -fomit-frame-pointer -msse -msse2 -pipe -g0 -I/usr/pkgsrc/textproc/jade/work/.buildlink/include -O0 -fno-implicit-templates -I. -I./../include -I./../generic -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_ST_BLKSIZE=1 -DSP_HAVE_BOOL=1 -DSP_HAVE_LOCALE=1 -DSP_ANSI_CLASS_INST=1 -DJADE_MIF=1 -DSP_MULTI_BYTE=1 -DSGML_CATALOG_FILES_DEFAULT=\"/usr/pkg/share/sgml/jade/catalog\" -c parser_inst.cxx -fPIC -DPIC -o .libs/parser_inst.o
In file included from parser_inst.cxx:36:
../include/Ptr.cxx: In destructor `Ptr<T>::~Ptr() [with T = AttributeValue]':
../include/Ptr.h:55: instantiated from `ConstPtr<T>::ConstPtr() [with T = AttributeValue]'
../include/Attribute.h:36: instantiated from here
../include/Ptr.cxx:22: error: `unref' undeclared (first use this function)
../include/Ptr.cxx:22: error: (Each undeclared identifier is reported only once
for each function it appears in.)
../include/Ptr.cxx:23: warning: invalid use of undefined type `struct
AttributeValue'
../include/Attribute.h:28: warning: forward declaration of `struct
AttributeValue'
In file included from ../include/UnivCharsetDesc.h:13,
from ../include/CharsetInfo.h:11,
from ../include/Sd.h:13,
from ../include/Markup.h:13,
from ../include/Entity.h:22,
from ../include/Dtd.h:14,
from parser_inst.cxx:40:
../include/RangeMap.h: At global scope:
../include/RangeMap.h:57: warning: `Vector<RangeMapRange<From, To>
>::const_iterator' is implicitly a typename
../include/RangeMap.h:57: warning: implicit typename is deprecated, please see
the documentation for details
In file included from Recognizer.h:15,
from parser_inst.cxx:61:
../include/Owner.cxx: In destructor `Owner<T>::~Owner() [with T = BlankTrie]':
../include/CopyOwner.h:16: instantiated from `CopyOwner<T>::CopyOwner() [with T = BlankTrie]'
Trie.h:22: instantiated from here
../include/Owner.cxx:15: warning: invalid use of undefined type `struct
BlankTrie'
Trie.h:18: warning: forward declaration of `struct BlankTrie'
gmake[2]: *** [parser_inst.lo] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/textproc/jade/work/jade-1.2.1/lib'
>How-To-Repeat:
Issue 'make' in textproc/jade using GCC c++ 3.3.1.
>Fix:
Switch back to gcc 2.95.3.
>Release-Note:
>Audit-Trail:
>Unformatted: