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.

_______________________________________________
[email protected] mailing list
http://wmii.de/cgi-bin/mailman/listinfo/wmii

Reply via email to