ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: Re: [Ethereal-dev] ITU/ANSI TCAP dissector

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 11 Sep 2003 01:18:37 -0700
On Wed, Sep 10, 2003 at 10:15:52AM -0400, Jeff Morriss wrote:
> BTW, on Solaris 8, 'gcc' is called with "-Wno-return-type" so some of us 
> don't see these warnings by default...

The comment in configure.in says

	# the X11 headers don't automatically include prototype info
	# and a lot don't include the return type

Perhaps Sun need to pick up some X11 headers that antedate 1988 or so? 
The ones I've seen on other UNIXes don't seem to lack prototype
information.  (I forget whether the Solaris ones I saw lacked them or
needed some special #define to be turned on to get them.  In either
case, it's 2003, and it's time for Sun to stop worrying about C
compilers that can't handle function prototypes, if they haven't already
done so.)

If they've done so in Solaris 8 or 9, we might want to see if we can add
that flag only in older versions.