[issue4665] Failure to compile trunk on Solaris10/SPARC using C++ compiler
Skip Montanaro
report at bugs.python.org
Sun Dec 14 22:16:32 CET 2008
New submission from Skip Montanaro <skip at 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 <report at bugs.python.org>
<http://bugs.python.org/issue4665>
_______________________________________
More information about the Python-bugs-list
mailing list