[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] ANIS-C / ISO C90 compliance
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] ANIS-C / ISO C90 compliance
- From: René Dudfield <renesd@xxxxxxxxx>
- Date: Wed, 18 Nov 2009 18:11:49 +0100
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Wed, 18 Nov 2009 12:11:52 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=WimM/PNOoMLVPtXWHdFnCcKDxzxMqmTXWVcPEGeZJwo=; b=fKqGbY5E7GW7A00O1zonaKK8jLKBnD9fxYADo/7WI567rL7qIubSyaschnSDz1jy1P v0Tb7lS4COciMaFhr6hnr+TqAoDW2ni4UbzkCl5KdpNUgJ0IHlv/8qETSg14F2NSvb4r BE1vZ9z0ZP1SULonsMfMj9fL6isLYsis7ot8c=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=iUtb5iFho8WmPWSiT27oVivv67YWGDYqbshYMS7ccb6NBw7V8EVPDBz3IVbUFrBI7p qeTUg8BLgi1K94fcNF8y8skHHhEU2ef4kM9cejVeTwNqLCxZJzBCscni8ACwzbWF1bUU dhTnqItkVz1jc4/pHJKy8PJMM6ZJlS929eGDE=
- In-reply-to: <4B042C7A.6000401@xxxxxxxxxxxxxxxxx>
- References: <4B042C7A.6000401@xxxxxxxxxxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
On Wed, Nov 18, 2009 at 6:18 PM, Lorenz Quack <don@xxxxxxxxxxxxxxxxx> wrote:
> Hi pygame developers,
>
> I noticed that there are some non ISO C90 compliant pieces of code
> in trunk - namely some C++ comments // (two slashes). CPython itself
> claims to be ISO C90 compliant. Is there a pygame guideline which
> C standard we want to target?
> On a similar note: Which Python version do we support? I saw that
> there is a python2.4 buildbot but nothing below that. Can I assume
> from that, that python2.3 and earlier are *not* officially supported
> by pygame?
>
> yours
> //Lorenz
>
hi Lorenz,
yeah, python 2.4 is the minimum officially.
However I got a lot of it working with python2.3 just before the last
release... and even some with python 2.2 works.
// slashes should be removed if possible.
yeah, c89 (ISO C90) if possible. Since msvc doesn't support (most)
c99 stuff for example. You can test with the --std=c89 flag with gcc.
We started a page to try and list a bunch of the development notes/tips...
http://pygame.org/wiki/hacking
However the hacking guide is far from complete... but feel free to add
things as you learn anything... or encounter anything not written in
there, or have some other useful tips to share :)
cheers!