ports/55228: python2.3 functions break with metakit

dirk.meyer at dinoex.sub.org dirk.meyer at dinoex.sub.org
Mon Aug 4 07:30:19 UTC 2003


>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:



More information about the freebsd-ports-bugs mailing list