ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] The "war against warnings" - mission accomplished!

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Tue, 3 Apr 2007 20:28:14 +0200
On Tue, Apr 03, 2007 at 07:26:18PM +0100, Richard van der Hoff wrote:
> Richard van der Hoff wrote:
> > I'll see what I can do to squash a few.
> 
> I'm just wondering what to do about this one:
> 
> scanner.c:1571: warning: `yyunput' defined but not used
> 
> (for epan/dfilter/scanner.{c,l}, flex 2.5.33, gcc 3.3.6)
> 
> Ideally we'd add --nounput to the flex cmdline or "%option nounput" to 
> scanner.l, but they are both flex-only, so that's a bit hard.

What happens when non-flex lexes encounter that statement?

 ciao
   Joerg

-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.