◐ Shell
clean mode source ↗

Message 77828 - Python tracker

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