Re: Tired of -Wold-style-definition already

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Tired of -Wold-style-definition already
Date: 2004-11-18 01:41:47
Message-ID: 10684.1100742107@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Neil Conway <neilc(at)samurai(dot)com> writes:
> Why not just disable warnings for just the flex-generated files?

Because it's a pain in the neck to do so; it'll require klugery in half
a dozen different Makefiles. (I don't see any easy way to make the
change apply only to the flex files, and not to the other .c files in
the same subdirectories, either.) If I thought the old-style-definition
warning was actually useful, then I'd be up for that, but I don't find
it worth the trouble. We can run a build every so often with it turned
on just to see if any old-style defs have snuck in, but we don't need
to have it on as a regular thing. IMHO anyway.

>> IIRC we have found worse problems than just warnings with 2.5.31.

> Do you think these problems are sufficiently bad that we need to declare
> 2.5.31 unsupported?

We have. You'll notice that releases are still made with 2.5.4. You
can probably find something about this in the archives.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-11-18 01:44:53 Re: Tired of -Wold-style-definition already
Previous Message Arman Bostani 2004-11-18 01:39:58 bug/issue tracking system?