[wmii] wmii-3.1 writing standards

From: Andrei Tanase <Andrei.Tanase_AT_alcatel.ro>
Date: Thu, 27 Jul 2006 14:50:57 -0700

making 3.1 (gcc 2.95.3) results in this:

[..]
CC client.c
client.c: In function `focus_client':
client.c:135: syntax error before `*'
client.c:142: `v' undeclared (first use in this function)
client.c:142: (Each undeclared identifier is reported only once
client.c:142: for each function it appears in.)
client.c:142: `i' undeclared (first use in this function)
client.c:143: `f' undeclared (first use in this function)
client.c:148: `old' undeclared (first use in this function)
client.c:156: `old_in_area' undeclared (first use in this function)
client.c:162: `buf' undeclared (first use in this function)
*** Error code 1
[..]

caused by declarations not beginning the statement block. now i know
that from 3.2 onwards this is allowed but since this is only one
occurence in the whole source, it looks more like an overlook to me. so
i kindly request the developers to put the declarations where they
belong and cater to us fools with non-C99 compliant compilers.

thank you.
Received on Thu Jul 27 2006 - 13:54:23 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:11:27 UTC