Ethereal-dev: Re: [ethereal-dev] ethereal plugin (gryphon) on AIX-4.3.2

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Sat, 1 Jan 2000 13:34:41 -0800
> * plugins/gryphon/packet-gryphon.c
>      line 210, Syntax error
>   workaround: comment out default: clause (empty anyway)....

I checked in a fix for that (adding a "break;" statement to the default
clause).

> * packet-ncp.c
>      line 97.11: 1506-275 (S) Unexpected text '/' encountered.
>   workaround: add -qcpluscmt to CFLAGS

I converted the comments to C-style comments; either all Ethereal
developers should avoid using C++-style comments, or we need to tweak
our configuration files to enable, on *all* C compilers that need a flag
for that, support for C++-style compilers - I vote for the former, as
it's easier, and can cope with the case of a compiler that has not flag
to tell it to accept them in C code.

Alas, I don't think there's a GCC flag (there's none documented in the
man page for 2.7.2.3) to tell it to reject C++-style comments without
enabling a pile of other checks that we might not want to enable
(because they'd produce too much noise, e.g. because they reject stuff
that we need and that all modern C compilers support).

> * packet-srvloc.c
>      line 155.11: 1506-068 (W) Operation between types "struct tm* " and "int"
>      line 156.16: 1506-285 (S) The indirection operator cannot be applied
>   workaround: include time.h

I checked that in as well.

> I also manually redid the links performed by libtool, since AIX seems to
> disagree with it,

Do you have an example of the problems?  This might just be "libtool"
not handling AIX very well.