Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 2003 09:26:14 +0200 (CEST)
From:      dirk.meyer@dinoex.sub.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/55228: python2.3 functions break with metakit
Message-ID:  <200308040726.h747QEWr078356@home.dinoex.sub.de>
Resent-Message-ID: <200308040730.h747UHKK072431@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         55228
>Category:       ports
>Synopsis:       python2.3 functions break with metakit
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 04 00:30:16 PDT 2003
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308040726.h747QEWr078356>