[Python-Dev] [Python-checkins] python/dist/src setup.py, 1.219, 1.220
Gregory P. Smith
greg at electricrain.com
Tue Aug 23 20:59:29 CEST 2005
On Mon, Aug 22, 2005 at 08:46:27AM -0400, Raymond Hettinger wrote:
> > A new hashlib module to replace the md5 and sha modules. It adds
> > support for additional secure hashes such as SHA-256 and SHA-512. The
> > hashlib module uses OpenSSL for fast platform optimized
> > implementations of algorithms when available. The old md5 and sha
> > modules still exist as wrappers around hashlib to preserve backwards
> > compatibility.
>
> I'm getting compilation errors:
>
> C:\py25\Modules\sha512module.c(146) : error C2059: syntax error : 'bad
> suffix on number'
> C:\py25\Modules\sha512module.c(146) : error C2146: syntax error :
> missing ')' before identifier 'L'
> C:\py25\Modules\sha512module.c(146) : error C2059: syntax error : 'bad
> suffix on number'
> C:\py25\Modules\sha512module.c(146) : error C2059: syntax error : 'bad
> suffix on number'
> C:\py25\Modules\sha512module.c(146) : error C2059: syntax error : 'bad
> suffix on number'
> C:\py25\Modules\sha512module.c(146) : error C2059: syntax error : 'bad
> suffix on number'
> C:\py25\Modules\sha512module.c(146) : error C2059: syntax error : 'bad
> suffix on number'
> C:\py25\Modules\sha512module.c(146) : fatal error C1013: compiler limit
> : too many open parentheses
>
>
> Also, there should be updating entries to Misc/NEWS,
> PC/VC6/pythoncore.dsp, and PC/config.c.
>
>
> Raymond
I don't have a win32 dev environment at the moment so i didn't see
that. Sorry.
If you remove the 'ULL' suffix from all of the 64bit constants in that
file what happens?
I added the ULLs to quelch the mass of warnings about constants being
to large for the datatype that gcc 3.3 was spewing.
-greg
More information about the Python-Dev
mailing list