[Python-bugs-list] [ python-Bugs-450510 ] results of build on Mac OS X 10.0.4

noreply@sourceforge.net noreply@sourceforge.net
Fri, 17 Aug 2001 08:25:22 -0700


Bugs item #450510, was opened at 2001-08-13 08:03
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=450510&group_id=5470

Category: Macintosh
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Jack Jansen (jackjansen)
Summary: results of build on Mac OS X 10.0.4

Initial Comment:
I simply wanted to post my list of compiler warnings
and so on, as maybe these are things that need to be
addressed/fixed, or maybe not :)

-John Buell

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2001-08-17 08:25

Message:
Logged In: NO 

Okay, since posting my .txt file failed miserably the other
day (darn Netscape 6.1 preview ;), I'm going to cut and
paste a couple of the warnings I got building yesterday.
None are "doozies", it WILL build and install.

In file included from
/System/Library/Frameworks/CoreServices.framework/Framewor
ks/CarbonCore.framework/Headers/CarbonCore.h:25,
                 from
/System/Library/Frameworks/CoreServices.framework/Headers/
CoreServices.h:22,
                 from
/System/Library/Frameworks/Carbon.framework/Headers/Carbon
.h:21,
                 from Include/pymactoolbox.h:19,
                 from Python/mactoolboxglue.c:27:
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framewor
k/Headers/MacTypes.h:317: warning: function declaration
isn't a prototype
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framewor
k/Headers/MacTypes.h:318: warning: function declaration
isn't a prototype
Python/mactoolboxglue.c:97: warning: function declaration
isn't a prototype

./Modules/signalmodule.c:93: warning: function declaration
isn't a prototype
./Modules/signalmodule.c: In function `signal_signal':
./Modules/signalmodule.c:217: warning: function declaration
isn't a prototype
./Modules/signalmodule.c:219: warning: function declaration
isn't a prototype
./Modules/signalmodule.c:230: warning: function declaration
isn't a prototype
./Modules/signalmodule.c: In function `initsignal':
./Modules/signalmodule.c:337: warning: function declaration
isn't a prototype
./Modules/signalmodule.c:341: warning: function declaration
isn't a prototype
./Modules/signalmodule.c:360: warning: function declaration
isn't a prototype
./Modules/signalmodule.c:362: warning: function declaration
isn't a prototype
./Modules/signalmodule.c: In function `finisignal':
./Modules/signalmodule.c:561: warning: function declaration
isn't a prototype
./Modules/signalmodule.c:569: warning: function declaration
isn't a prototype

/Users/jbuell/Documents/Python/python/dist/src/Modules/getaddrinfo.c:240:
warnin
g: function declaration isn't a prototype
/Users/jbuell/Documents/Python/python/dist/src/Modules/getaddrinfo.c:
In functio
n `fake_getaddrinfo':
/Users/jbuell/Documents/Python/python/dist/src/Modules/getaddrinfo.c:370:
warnin
g: suggest explicit braces to avoid ambiguous `else'
In file included from
/Users/jbuell/Documents/Python/python/dist/src/Modules/soc
ketmodule.c:240:
/Users/jbuell/Documents/Python/python/dist/src/Modules/getnameinfo.c:
At top lev
el:
/Users/jbuell/Documents/Python/python/dist/src/Modules/getnameinfo.c:86:
warning
: function declaration isn't a prototype
/Users/jbuell/Documents/Python/python/dist/src/Modules/socketmodule.c:
In functi
on `PySocket_socket':
/Users/jbuell/Documents/Python/python/dist/src/Modules/socketmodule.c:2146:
warn
ing: function declaration isn't a prototype
/Users/jbuell/Documents/Python/python/dist/src/Modules/socketmodule.c:
In functi
on `PySocket_fromfd':
/Users/jbuell/Documents/Python/python/dist/src/Modules/socketmodule.c:2184:
warn
ing: function declaration isn't a prototype
/Users/jbuell/Documents/Python/python/dist/src/Modules/dbmmodule.c:
In function 
`dbm_subscript':
/Users/jbuell/Documents/Python/python/dist/src/Modules/dbmmodule.c:104:
warning:
 implicit declaration of function `dbm_error'
/Users/jbuell/Documents/Python/python/dist/src/Modules/dbmmodule.c:105:
warning:
 implicit declaration of function `dbm_clearerr'
/Users/jbuell/Documents/Python/python/dist/src/Modules/nismodule.c:
In function 
`nis_cat':
/Users/jbuell/Documents/Python/python/dist/src/Modules/nismodule.c:159:
warning:
 assignment from incompatible pointer type

In file included from /System/Library/Fra
meworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCor
e.h:25,
                 from
/System/Library/Frameworks/CoreServices.framework/Headers/
CoreServices.h:22,
                 from
/System/Library/Frameworks/Carbon.framework/Headers/Carbon
.h:21,
                 from
/Users/jbuell/Documents/Python/python/dist/src/Mac/Include
/macglue.h:31,
                 from
/Users/jbuell/Documents/Python/python/dist/src/Mac/Modules
/gestaltmodule.c:28:
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framewor
k/Headers/MacTypes.h:317: warning: function declaration
isn't a prototype
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framewor
k/Headers/MacTypes.h:318: warning: function declaration
isn't a prototype
/Users/jbuell/Documents/Python/python/dist/src/Mac/Modules/gestaltmodule.c:39:
w
arning: function declaration isn't a prototype
/Users/jbuell/Documents/Python/python/dist/src/Mac/Modules/gestaltmodule.c:67:
w
arning: function declaration isn't a prototype

In file included from
/System/Library/Frameworks/CoreServices.framework/Framewor
ks/CarbonCore.framework/Headers/CarbonCore.h:25,
                 from
/System/Library/Frameworks/CoreServices.framework/Headers/
CoreServices.h:22,
                 from
/System/Library/Frameworks/Carbon.framework/Headers/Carbon
.h:21,
                 from
/Users/jbuell/Documents/Python/python/dist/src/Mac/Include
/macglue.h:31,
                 from
/Users/jbuell/Documents/Python/python/dist/src/Mac/Modules
/macosmodule.c:28:
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framewor
k/Headers/MacTypes.h:317: warning: function declaration
isn't a prototype
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framewor
k/Headers/MacTypes.h:318: warning: function declaration
isn't a prototype

In file included from
/System/Library/Frameworks/CoreServices.framework/Framewor
ks/CarbonCore.framework/Headers/CarbonCore.h:25,
                 from
/System/Library/Frameworks/CoreServices.framework/Headers/
CoreServices.h:22,
                 from
/System/Library/Frameworks/Carbon.framework/Headers/Carbon
.h:21,
                 from
/Users/jbuell/Documents/Python/python/dist/src/Mac/Include
/macglue.h:31,
                 from
/Users/jbuell/Documents/Python/python/dist/src/Mac/Modules
/icgluemodule.c:33:
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framewor
k/Headers/MacTypes.h:317: warning: function declaration
isn't a prototype
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framewor
k/Headers/MacTypes.h:318: warning: function declaration
isn't a prototype
/Users/jbuell/Documents/Python/python/dist/src/Mac/Modules/icgluemodule.c:173:
w
arning: function declaration isn't a prototype
/Users/jbuell/Documents/Python/python/dist/src/Mac/Modules/icgluemodule.c:193:
w
arning: function declaration isn't a prototype
/Users/jbuell/Documents/Python/python/dist/src/Mac/Modules/icgluemodule.c:214:
w
arning: function declaration isn't a prototype
/Users/jbuell/Documents/Python/python/dist/src/Mac/Modules/icgluemodule.c:236:
w
arning: function declaration isn't a prototype
/Users/jbuell/Documents/Python/python/dist/src/Mac/Modules/icgluemodule.c:262:
w
arning: function declaration isn't a prototype
/Users/jbuell/Documents/Python/python/dist/src/Mac/Modules/icgluemodule.c:282:
w
arning: function declaration isn't a prototype
/Users/jbuell/Documents/Python/python/dist/src/Mac/Modules/icgluemodule.c:303:
w
arning: function declaration isn't a prototype
/Users/jbuell/Documents/Python/python/dist/src/Mac/Modules/icgluemodule.c:324:
w
arning: function declaration isn't a prototype
/Users/jbuell/Documents/Python/python/dist/src/Mac/Modules/icgluemodule.c:344:
w
arning: function declaration isn't a prototype
/Users/jbuell/Documents/Python/python/dist/src/Mac/Modules/icgluemodule.c:365:
w
arning: function declaration isn't a prototype
/Users/jbuell/Documents/Python/python/dist/src/Mac/Modules/icgluemodule.c:391:
w
arning: function declaration isn't a prototype
/Users/jbuell/Documents/Python/python/dist/src/Mac/Modules/icgluemodule.c:416:
w
arning: function declaration isn't a prototype
/Users/jbuell/Documents/Python/python/dist/src/Mac/Modules/icgluemodule.c:446:
w
arning: function declaration isn't a prototype
/Users/jbuell/Documents/Python/python/dist/src/Mac/Modules/icgluemodule.c:521:
w
arning: function declaration isn't a prototype
/Users/jbuell/Documents/Python/python/dist/src/Mac/Modules/icgluemodule.c:529:
w
arning: function declaration isn't a prototype
/Users/jbuell/Documents/Python/python/dist/src/Mac/Modules/icgluemodule.c:574:
w
arning: function declaration isn't a prototype
/Users/jbuell/Documents/Python/python/dist/src/Mac/Modules/icgluemodule.c:601:
w
arning: function declaration isn't a prototype

In file included from
/System/Library/Frameworks/CoreServices.framework/Framewor
ks/CarbonCore.framework/Headers/CarbonCore.h:25,
                 from
/System/Library/Frameworks/CoreServices.framework/Headers/
CoreServices.h:22,
                 from
/System/Library/Frameworks/Carbon.framework/Headers/Carbon
.h:21,
                 from
/Users/jbuell/Documents/Python/python/dist/src/Mac/Include
/macglue.h:31,
                 from
/Users/jbuell/Documents/Python/python/dist/src/Mac/Modules
/macfsmodule.c:26:
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framewor
k/Headers/MacTypes.h:317: warning: function declaration
isn't a prototype
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framewor
k/Headers/MacTypes.h:318: warning: function declaration
isn't a prototype

In file included from
/System/Library/Frameworks/CoreServices.framework/Framewor
ks/CarbonCore.framework/Headers/CarbonCore.h:25,
                 from
/System/Library/Frameworks/CoreServices.framework/Headers/
CoreServices.h:22,
                 from
/System/Library/Frameworks/Carbon.framework/Headers/Carbon
.h:21,
                 from
/Users/jbuell/Documents/Python/python/dist/src/Mac/Modules
/../Python/getapplbycreator.c:49:
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framewor
k/Headers/MacTypes.h:317: warning: function declaration
isn't a prototype
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framewor
k/Headers/MacTypes.h:318: warning: function declaration
isn't a prototype

If anyone wants to see my complete log of this build, e-mail
me personally: dadaist@mac.com

-John Buell

----------------------------------------------------------------------

Comment By: Jack Jansen (jackjansen)
Date: 2001-08-14 18:31

Message:
Logged In: YES 
user_id=45365

Ah, thanks! I had noticed the saveFP and restFP errors suddenly popping up but I didn't know where they came from.

I'll fix this shortly, but depending on platform (I assume the '-shared' option wasn't added for nothing, so it'll be needed on some other platform, probably).

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2001-08-14 10:48

Message:
Logged In: NO 

I had to make a change to setup.py to get some of the
modules to build correctly (even after Jack's changes in
cvs 8/13).  I think there is an interaction with the 
-bundle and -shared ld flags.

--Bill Noon

Index: setup.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/setup.py,v
retrieving revision 1.47
diff -r1.47 setup.py
144c144
<             args['linker_so'] = linker_so + ' -shared'
---
>             args['linker_so'] = linker_so + ''


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=450510&group_id=5470