Ethereal-dev: Re: [Ethereal-dev] external plugin and exported symbols

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Sun, 05 Feb 2006 17:15:26 -0800
Paolo Abeni wrote:

I checked out svn revision 17164 and tryed to fix the issue you
reported. Quite anomaly, with the fresh checkout source I got a list of
warning shorter or the one you reported.
Anyway with the attached patch the code compiles on my machine without
any warning.

Checked in, with fixes to a couple of format-vs.-argument-list warnings, to put the GNUC_FORMAT_CHECK macro call in the middle of the function declaration (the GCC 4.x I have doesn't allow

	static inline void
	foo(const char *fmt, ...) GNUC_FORMAT_CHECK(...)

but requires the GNUC_FORMAT_CHECK call to be before the "foo"), to make ssl_debug_printf() void in all cases, and to include epan/gnuc_format_check.h in packet-ssl-utils.h so GNUC_FORMAT_CHECK is defined before it's used in aall cases.