Neil Conway <neilc(at)samurai(dot)com> writes:
> I think this is the better course. At least here, flex-generated files
> produce warnings even without -Wold-style-definition:
That's because you're using a badly broken flex:
> % flex --version
> flex 2.5.31
I'd recommend reverting to 2.5.4. IIRC we have found worse problems
than just warnings with 2.5.31.
regards, tom lane