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.

Author skip.montanaro
Recipients skip.montanaro
Date 2008-12-14.21:16:31
SpamBayes Score 6.6652983e-06
Marked as misclassified No
Message-id <18757.30636.523605.327524@montanaro-dyndns-org.local>
In-reply-to
Content
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
History
Date User Action Args
2008-12-14 21:16:32skip.montanarosetrecipients: + skip.montanaro
2008-12-14 21:16:32skip.montanarolinkissue4665 messages
2008-12-14 21:16:31skip.montanarocreate