Hi Mark,
Which gcc are you using/is it currently tested?
With current master (f9d0004a1) it fails with this:
$ ./run.py -f
*** test: 0
*** SHED SKIN Python-to-C++ Compiler 0.9.2 ***
Copyright 2005-2011 Mark Dufour; License GNU GPL version 3 (See LICENSE)
[analyzing types..]
********************************100%
[generating c++ code..]
[elapsed time: 2.12 seconds]
rm -f 0 0_prof 0_debug
g++ -O2 -march=native -Wno-deprecated -I.
-I/shedskin.git/shedskin/lib 0.cpp /shedskin.git/shedskin/lib/re.cpp
/shedskin.git/shedskin/lib/builtin.cpp -lgc -lpcre -o 0
In file included from /shedskin.git/shedskin/lib/builtin.cpp:140:0:
/shedskin.git/shedskin/lib/builtin/file.cpp: In member function
‘virtual __shedskin__::__ss_bool __shedskin__::file::isatty()’:
/shedskin.git/shedskin/lib/builtin/file.cpp:190:20: error: ‘::isatty’
has not been declared
/shedskin.git/shedskin/lib/builtin/file.cpp: In member function
‘virtual void* __shedskin__::file::truncate(int)’:
/shedskin.git/shedskin/lib/builtin/file.cpp:200:37: error: ‘ftruncate’
was not declared in this scope
make: *** [0] Error 1
*** failure: 0
$ rpm -q gcc gc-devel pcre-devel python
gcc-4.7.0-4.fc17.x86_64
gc-devel-7.2-0.6.alpha6.fc17.x86_64
pcre-devel-8.21-5.fc17.x86_64
python-2.7.3-6.fc17.x86_64
Greetings,
Tom