From dm@home.dinoex.sub.de  Mon Aug  4 00:26:29 2003
Return-Path: <dm@home.dinoex.sub.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9D96637B401
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  4 Aug 2003 00:26:29 -0700 (PDT)
Received: from uucp.dinoex.sub.de (uucp.dinoex.sub.de [212.184.201.182])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E132C43FA3
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  4 Aug 2003 00:26:27 -0700 (PDT)
	(envelope-from dm@home.dinoex.sub.de)
Received: from home.dinoex.sub.de (home.dinoex.sub.de [217.6.200.196])
	by uucp.dinoex.sub.de (8.12.9/8.12.9) with ESMTP id h747QCNx026276
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 4 Aug 2003 09:26:12 +0200 (CEST)
	(envelope-from dm@home.dinoex.sub.de)
Received: (from dm@localhost)
	by home.dinoex.sub.de (8.12.9/8.12.8/Submit) id h747QEWr078356;
	Mon, 4 Aug 2003 09:26:14 +0200 (CEST)
	(envelope-from dm)
Message-Id: <200308040726.h747QEWr078356@home.dinoex.sub.de>
Date: Mon, 4 Aug 2003 09:26:14 +0200 (CEST)
From: dirk.meyer@dinoex.sub.org
Reply-To: dirk.meyer@dinoex.sub.org
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: python2.3 functions break with metakit
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         55228
>Category:       ports
>Synopsis:       python2.3 functions break with metakit
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    dinoex
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 04 00:30:16 PDT 2003
>Closed-Date:    Wed Aug 06 05:08:58 CEST 2003
>Last-Modified:  Wed Aug 06 05:08:58 CEST 2003
>Originator:     Dirk Meyer
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
privat
>Environment:

>Description:

	when buildung metakit with python bindings:

[...]
In file included from ../unix/../python/scxx/PWONumber.h:9,
                 from ./../unix/../python/PyProperty.cpp:11:
../unix/../python/scxx/PWOSequence.h: In method `class PWOSequence PWOSequence::operator +(const PWOSequence &) cons
t':
../unix/../python/scxx/PWOSequence.h:36: warning: function returns an aggregate
../unix/../python/scxx/PWOSequence.h: In method `class PWOBase PWOSequence::operator [](int) const':
../unix/../python/scxx/PWOSequence.h:50: warning: function returns an aggregate
../unix/../python/scxx/PWOSequence.h: In method `class PWOSequence PWOSequence::getSlice(int, int) const':
../unix/../python/scxx/PWOSequence.h:58: warning: function returns an aggregate
../unix/../python/scxx/PWOSequence.h: In method `class PWOSequence PWOSequence::operator *(int) const':
../unix/../python/scxx/PWOSequence.h:83: warning: function returns an aggregate
../unix/../python/scxx/PWOSequence.h:83: warning: declaration of `count' shadows a member of `this'
../unix/../python/scxx/PWOSequence.h: In method `PWOString::PWOString(const char *)':
../unix/../python/scxx/PWOSequence.h:131: warning: cast discards qualifiers from pointer target type
../unix/../python/scxx/PWOSequence.h: In method `PWOString::PWOString(const char *, int)':
../unix/../python/scxx/PWOSequence.h:133: warning: cast discards qualifiers from pointer target type
../unix/../python/scxx/PWOSequence.h: In function `static class PWOString PWOString::format(const PWOString &, PWOTu
ple &)':
../unix/../python/scxx/PWOSequence.h:160: warning: function returns an aggregate
In file included from ./../unix/../python/PyProperty.cpp:11:
../unix/../python/scxx/PWONumber.h: At top level:
../unix/../python/scxx/PWONumber.h:19: syntax error before `i'
../unix/../python/scxx/PWONumber.h:21: semicolon missing after declaration of `class PWONumber'
../unix/../python/scxx/PWONumber.h: In function `int PWONumber(double)':
../unix/../python/scxx/PWONumber.h:21: warning: `int PWONumber(double)' hides constructor for `class PWONumber'

>How-To-Repeat:

	build ports/databases/metakit:
	cd /usr/ports/databases/metakit &&
	make WITH_PHYTON PYTHON_VERSION=python2.3

>Fix:

	workaround build with python2.2

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->dinoex 
Responsible-Changed-By: oliver 
Responsible-Changed-When: Mon Aug 4 02:49:09 PDT 2003 
Responsible-Changed-Why:  
Over the maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=55228 
Responsible-Changed-From-To: dinoex->perky 
Responsible-Changed-By: dinoex 
Responsible-Changed-When: Mon Aug 4 17:42:08 CEST 2003 
Responsible-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=55228 
Responsible-Changed-From-To: perky->dinoex 
Responsible-Changed-By: dinoex 
Responsible-Changed-When: Mon Aug 4 17:43:54 CEST 2003 
Responsible-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=55228 
State-Changed-From-To: open->closed 
State-Changed-By: dinoex 
State-Changed-When: Wed Aug 6 05:08:42 CEST 2003 
State-Changed-Why:  
Fix committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=55228 
>Unformatted:
