[openbox] obconf gcc 2.95 compatibility
Ben Jansens
ben at orodu.net
Mon Oct 13 04:07:05 EDT 2003
On Mon, Oct 13, 2003 at 02:54:49AM -0500, Corey Wright wrote:
> while compiling obconf for debian woody, which only includes gcc 2.95, i
> found that one of the files takes advantage of c99 (i believe),
> something 2.95 doesn't allow.
>
> this may even be glade autogenerate code as i've seen this before in
> another recent package i've compiled with 2.95.
>
> the fix is simple: make sure all local variables are declared before any
> operations or function calls. some people still do this out of habit,
> some consider it good style even with c++ which allows this.
This is already fixed in CVS and will appear in the next release :)
Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://icculus.org/pipermail/openbox/attachments/20031013/1f3de3ae/attachment.pgp>
More information about the openbox
mailing list