This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: 3.0a1 Solaris w/ SUN C/C++
Type: compile error Stage:
Components: Build Versions: Python 3.0
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: MrJean1, loewis
Priority: normal Keywords:

Created on 2007-10-29 16:35 by MrJean1, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg56908 - (view) Author: Jean Brouwers (MrJean1) Date: 2007-10-29 16:35
Building 3.0a1 on Solaris 10 using SUN's C/C++ compilers fails due to 
one compilation error.

The problem is the name of the last argument 'restrict' of function 
analyze_cells on line 473 in file Python/symtable.c.  Changing that name 
to something else like 'restricted' makes the build build.

There is an '*** Error code 1' at the very end of  make test, but that 
is a separate issue.   

The ./configure command line needs to include the options  --without-gcc 
and  --with-cxx-main=CC.

This is Solaris 10 on an Ultra 20 (Opteron) machine with SUN C/C++ 5.8 
msg56925 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2007-10-29 19:54
Thanks for the report. Fixed in r58705.
Date User Action Args
2022-04-11 14:56:27adminsetgithub: 45697
2007-10-29 20:55:31gvanrossumsetstatus: open -> closed
resolution: accepted
2007-10-29 19:54:47loewissetnosy: + loewis
messages: + msg56925
2007-10-29 16:35:45MrJean1create