Closed 50eff062-408a-4098-b1b2-8222303b9d0c closed 22 years ago
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
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 + ''
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).
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
Logged In: YES user_id=45365
The saveFP/restFP bug has been fixed in the repository. The warnings have not been fixed yet, so I'll leave the bug report open.
Logged In: YES user_id=45365
All the warnings that are under our control have been fixed. Two remain:
These are bugs in Apple-supplied headers, and they have been submitted to Apple.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields: ```python assignee = 'https://github.com/jackjansen' closed_at =
created_at =
labels = ['OS-mac']
title = 'results of build on Mac OS X 10.0.4'
updated_at =
user = 'https://bugs.python.org/anonymous'
```
bugs.python.org fields:
```python
activity =
actor = 'jackjansen'
assignee = 'jackjansen'
closed = True
closed_date = None
closer = None
components = ['macOS']
creation =
creator = 'anonymous'
dependencies = []
files = []
hgrepos = []
issue_num = 450510
keywords = []
message_count = 6.0
messages = ['5911', '5912', '5913', '5914', '5915', '5916']
nosy_count = 2.0
nosy_names = ['nobody', 'jackjansen']
pr_nums = []
priority = 'normal'
resolution = 'wont fix'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue450510'
versions = ['Python 2.2']
```