New submission from Skip Montanaro <s...@pobox.com>:

I don't know if the Python source is supposed to be compilable with a C++
compiler or not, but I'm having trouble finding a C compiler on the
Solaris10/SPARC machines at work.  I decided to give a C++ compiler a whirl:

    /opt/gnu/bin/c++ -c -fno-strict-aliasing -DNDEBUG -g  -O3 -Wall 
-Wstrict-prototypes  -I. -IInclude -I../Include   -DPy_BUILD_CORE -o 
Parser/tokenizer.o ../Parser/tokenizer.c
    ../Parser/tokenizer.c: In function `char * 
PyTokenizer_RestoreEncoding(tok_state *, int, int *)':
    ../Parser/tokenizer.c:1614: ANSI C++ forbids implicit conversion from `void 
*' in assignment

Now this turns out to be a very old compiler:

    % /opt/gnu/bin/c++ --version
    2.95.3

Should Python be able to compile with this ancient GNU C++ compiler?

Thx,

Skip

----------
messages: 77828
nosy: skip.montanaro
severity: normal
status: open
title: Failure to compile trunk on Solaris10/SPARC using C++ compiler

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4665>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to