I am pleased to report that the recently released flex 2.5.35 generatescode for our .l files that produces no gcc warnings whatsoever.This is a first :-(, at least for versions of flex without anydownstream patches.
regards, tom lane