Closed GoogleCodeExporter closed 8 years ago
thanks for looking into this. I was aware of the missing <cstring> include, but
not
of <climits> and Wno-deprecated. I have added these (the latter hopefully only
temporarily) to SVN.
could you please run the compiler test set as 'python unit.py', to see if there
are
any other issues with 4.3..? warning: this can take a long time.
btw, there is no such thing as a stable version of shedskin.. :) so it's
probably
best to always test from SVN.
Original comment by mark.duf...@gmail.com
on 23 Aug 2008 at 7:05
I'm running the test suite right now. I actually started it about half an hour
ago,
but didn't think to save the output in a text file. I noticed a few exceptions
and
such, but the test just kept going, and it was already past what my xterm would
save,
so I started again. I'll post the result here when it is done.
I would hold off on switching the hash functions to unordered_*. I just tried
compiling this program with g++:
#include <unordered_map>
int main(int argc, char ** argv) {}
and I got a bunch of error messages about how this is experimental code, and
that g++
would refuse to compile it unless "-std=c++0x" was added to the command line.
Previous c++ standards did not have hash functions, and so compiler vendors,
such as
g++, would add their own extensions, such as hash_set and hash_map. But the
upcoming
standard has hash functions, and so g++ is using those instead, and, in my
opinion,
has deprecated hash_set and hash_map prematurely. I would just leave your code
as it
is until the next c++ standard comes out, which might be years from now.
Original comment by winterkn...@nerdshack.com
on 23 Aug 2008 at 8:53
Here are the results for unit test. It occurred to me a little late that using
the
version from svn would have been more useful.
Shedskin: 0.0.28
OS: Debian Testing
g++: 4.3.1-2
python: 2.5.2-1
Original comment by winterkn...@nerdshack.com
on 23 Aug 2008 at 9:53
Attachments:
Original comment by mark.duf...@gmail.com
on 26 Aug 2008 at 3:22
yes.. could you please rerun again, using SVN..? :) thanks!
Original comment by mark.duf...@gmail.com
on 26 Aug 2008 at 3:25
Shedskin: svn 314
OS: Debian Testing
g++: 4.3.1-2
python: 2.5.2-1
Original comment by winterkn...@nerdshack.com
on 26 Aug 2008 at 7:21
Attachments:
looks perfect, thanks again :)
Original comment by mark.duf...@gmail.com
on 26 Aug 2008 at 9:04
Original issue reported on code.google.com by
winterkn...@nerdshack.com
on 23 Aug 2008 at 6:36