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

Wireshark-bugs: [Wireshark-bugs] [Bug 2493] Wireshark compile errors for cygwin flex (v 2.5.35)

Date: Tue, 22 Apr 2008 16:34:06 -0700 (PDT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2493





--- Comment #8 from LEGO <luis.ontanon@xxxxxxxxx>  2008-04-22 16:34:06 GMT ---
1. we should pass --nounistd to flex in Makefile.nmake(s).

2. 
ascend-scanner.c(1693) : warning C4003: not enough actual parameters for macro
'ascendwrap'

must be a bug in flex.

is there while "%option noyywrap" is set, or at least why:

- ascendwrap is defined with one argument in line 339
- then called with no arguments there 
  BTW it is how it is defined around line 1035


to workarround I guess we can

remove "%option noyywrap" and define

int ascendwrap (void ) {}

in the code section of the scanner (the tail after the last "%%")


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.