[issue4558] with_stdc89

2011-05-21 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc amaur...@gmail.com added the comment:

Yes, vs2008 requires that variables must be declared at the start of a block, 
and IIRC there is a AIX compiler that does not allow // comments.

--
nosy: +amaury.forgeotdarc

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4558
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4558] with_stdc89

2011-05-20 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

Is it still useful to ensure that ISO C89 compilers are supported in 2011?

--
nosy: +haypo

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4558
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4558] with_stdc89

2011-05-19 Thread Roumen Petrov

Roumen Petrov bugtr...@roumenpetrov.info added the comment:

Issue with inline was resolved by configure macro.

--
Added file: http://bugs.python.org/file22035/python3-20110520-c89.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4558
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4558] with_stdc89

2010-07-10 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
versions: +Python 3.2 -Python 2.6, Python 2.7, Python 3.0, Python 3.1

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4558
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4558] with_stdc89

2008-12-08 Thread Roumen Petrov

Roumen Petrov [EMAIL PROTECTED] added the comment:

Socket module need to be patched too otherwise test_socket fail on UNIX
domain socket tests.

After clean build and with new patch the regression tests results are:
337 tests OK.
3 tests failed:
test_curses test_urllib2_localnet test_urllibnet
21 tests skipped:
test_aepack test_al test_applesingle test_bsddb185 test_cd test_cl
test_gl test_imgfile test_kqueue test_macos test_macostools
test_pep277 test_py3kwarn test_scriptpackages test_sqlite
test_startfile test_sunaudiodev test_unicode_file test_winreg
test_winsound test_zipfile64
Those skips are all expected on linux2.

Interesting for failed tests is that every succeed if run independently.

Added file: http://bugs.python.org/file12294/python-trunk-20081209-c89.patch

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4558
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4558] with_stdc89

2008-12-08 Thread Roumen Petrov

Changes by Roumen Petrov [EMAIL PROTECTED]:


Removed file: http://bugs.python.org/file12253/python-trunk-20081206-c89.patch

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4558
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4558] with_stdc89

2008-12-07 Thread Roumen Petrov

Roumen Petrov [EMAIL PROTECTED] added the comment:

:-( the last my comment is incomplete : work for me after minimal patch

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4558
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4558] with_stdc89

2008-12-06 Thread Georg Brandl

Georg Brandl [EMAIL PROTECTED] added the comment:

Patch looks good.

--
nosy: +georg.brandl

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4558
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4558] with_stdc89

2008-12-06 Thread Christian Heimes

Christian Heimes [EMAIL PROTECTED] added the comment:

The updated patch moves the compiler option to the right place.

Added file: http://bugs.python.org/file12247/with_stdc89_2.patch

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4558
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4558] with_stdc89

2008-12-06 Thread Roumen Petrov

Roumen Petrov [EMAIL PROTECTED] added the comment:

There is no reason to overload configure script.

Please look into pyport.h :
#define Py_LOCAL(type) static type
#define Py_LOCAL_INLINE(type) static inline type

Someone add USE_INLINE - not finished.
I guess that other source files has to use macros from one
header(pyport.h) instead every C-file to resolve issue independently.

--
nosy: +rpetrov

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4558
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4558] with_stdc89

2008-12-06 Thread Roumen Petrov

Roumen Petrov [EMAIL PROTECTED] added the comment:

P.S. About C++ comments ( // ) I think that another issue is already
opened (problem on AIX ? ) .

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4558
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4558] with_stdc89

2008-12-06 Thread Christian Heimes

Christian Heimes [EMAIL PROTECTED] added the comment:

Python core code must be compliant with the C89 standard but we don't
have any checks for C89 compatibility. This patch adds a clean way to
check our code base.

You can verify my patch by adding a // comment somewhere in the code and
./configure --with-stdc89  make.

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4558
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4558] with_stdc89

2008-12-06 Thread Roumen Petrov

Roumen Petrov [EMAIL PROTECTED] added the comment:

make EXTRA_CFLAGS='-std=c89' works for me.

Added file: http://bugs.python.org/file12253/python-trunk-20081206-c89.patch

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4558
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4558] with_stdc89

2008-12-05 Thread Christian Heimes

New submission from Christian Heimes [EMAIL PROTECTED]:

The patch adds a configure option --with-stdc89. It also fixes some edge
cases in socketmodule.h and linuxaudiodev so all related modules can be
build in c89 mode.

I'm planning to add the configure option to the build bots in order to
detect c89 incompatibilities like the usage of inline and // style
comments.

--
components: Build
files: with_stdc89.patch
keywords: patch, patch
messages: 77097
nosy: christian.heimes
priority: normal
severity: normal
stage: patch review
status: open
title: with_stdc89
type: feature request
versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1
Added file: http://bugs.python.org/file12246/with_stdc89.patch

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4558
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com