Ethereal-dev: Re: [Ethereal-dev] Use of C99 code in 0.10.8

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, 02 Jan 2005 21:00:27 -0800
Andrew Hood wrote:

IIRC all you need to do is supply the right compiler options to get proper prototypes.

I don't have the Solaris one at hand, but with AIX 4.x headers it is -DFUNCPROTO=15

We currently use that on Solaris, but I think I remember seeing problems even with that, but I might be misremembering.

We should probably add to the "Add any platform-specific compiler flags needed" case in configure.in an item to add -DFUNCPROTO=15 on AIX - and perhaps to add them for non-GCC compilers (Sun C, XLC or whatever IBM's compiler is called) as well.