[Python-Dev] gcc barfs on recent stringobject changes...

Mark Favas mark@per.dem.csiro.au
Wed, 9 May 101 13:52:09 +0800 (WST)


Changes in the last few hours (hi Tim!) to stringobject compile (I'd guess) on
MS (and on Compaq's Tru64 compiler), but produce the following with gcc on
Solaris and FreeBSD:

gcc -c -g -O2 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/stringobject.o Objects/stringobject.c
Objects/stringobject.c: In function `PyString_FromStringAndSize':
Objects/stringobject.c:76: invalid lvalue in unary `&'
Objects/stringobject.c:80: invalid lvalue in unary `&'
Objects/stringobject.c: In function `PyString_FromString':
Objects/stringobject.c:130: invalid lvalue in unary `&'
Objects/stringobject.c:134: invalid lvalue in unary `&'
*** Error code 1


-- 
Email - m.favas@per.dem.csiro.au        Postal - Mark C Favas
Phone - +61 8 9333 6268, 041 892 6074            CSIRO Exploration & Mining
Fax   - +61 8 9387 8642                          Private Bag No 5
                                                 Wembley, Western Australia 6913