[pypy-commit] pypy default: Fix the error message now.

arigo noreply at buildbot.pypy.org
Mon Jun 11 20:37:43 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r55602:c900cb972b3a
Date: 2012-06-11 20:37 +0200
http://bitbucket.org/pypy/pypy/changeset/c900cb972b3a/

Log:	Fix the error message now.

diff --git a/pypy/rpython/lltypesystem/rffi.py b/pypy/rpython/lltypesystem/rffi.py
--- a/pypy/rpython/lltypesystem/rffi.py
+++ b/pypy/rpython/lltypesystem/rffi.py
@@ -938,7 +938,7 @@
 assert maxint == (1 << (8 * sizeof(llmemory.Address) - 1)) - 1, (
     "Mixed configuration of the word size of the machine:\n\t"
     "the underlying Python was compiled with maxint=%d,\n\t"
-    "but the C compiler says that 'long' is %d bytes" % (
+    "but the C compiler says that 'void *' is %d bytes" % (
     maxint, sizeof(llmemory.Address)))
 assert sizeof(lltype.Signed) == sizeof(llmemory.Address), (
     "Bad configuration: we should manage to get lltype.Signed "


More information about the pypy-commit mailing list