https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7778
--- Comment #3 from Guy Harris <guy@xxxxxxxxxxxx> 2012-10-01 10:59:06 PDT ---
That is equivalent to removing the _U_ and subsequently renaming the argc and
errsym parameters to argc_U_ and errsym_U_, so it's equivalent to removing the
_U_.
In the current top-of-trunk version of Wireshark, config.h defines _U_ as
nothing if the compiler doesn't support marking parameters as unused (perhaps
because it doesn't check for unused variables and parameters) and as the
appropriate tag if it does - for example, on my machine, where it's currently
compiling with (llvm-)gcc, config.h includes the line
#define _U_ __attribute__((unused))
If whichever config.h is included by lemon.c - which is the config.h in the
top-level directory when Lemon is built with the standard generated Makefiles,
as it's built with "gcc -I../.. -o lemon lemon.c" - defines _U_, as it does,
this isn't an issue.
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.