Subject: Re: rpcgen fix for -fshort-enums
To: None <>
From: Todd Vierling <>
List: tech-toolchain
Date: 02/05/2002 11:19:24
On Tue, 5 Feb 2002, Richard Earnshaw wrote:

: > "Hey Richard, look, here's yet another prime example of the legacy code that
: > you don't think exists, which will cause more headaches with -fshort-enums
: > than the `benefit' is worth!"
: >
: But of course no one has ever had to fix this code before to make it
: portable to systems other than the original Sun that it originally ran
: on...
: Taking a random sample of one file:
: RCS file: /cvsroot/basesrc/usr.bin/rpcgen/rpc_cout.c,v

The revisions you site are simple fixed-size type fixups.  They aren't on
the scale of hackery required to work around the -fshort-enums braindamage.

-- Todd Vierling <>  *  Wasabi & NetBSD:  Run with it.
-- CDs, Integration, Embedding, Support --