New submission from Akira Kitada <akit...@gmail.com>: Modules/mmapmodule.c contains code that makes it incompatible with C89 compiler.
People using recent gcc can check this by running following commands. $ ./configure CFLAGS='-Wdeclaration-after-statement' && make Attached patch fixes the issue. (verified on Linux 2.6.39-2-amd64 with gcc 4.6.1) ---------- components: Build files: c89compat_mmap.patch keywords: patch messages: 139020 nosy: akitada priority: normal severity: normal status: open title: c99 code in mmapmodule type: compile error versions: Python 2.7, Python 3.2 Added file: http://bugs.python.org/file22453/c89compat_mmap.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12404> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com