Subject: Re: rpcgen and -fshort-enums round 2
To: None <tech-toolchain@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-toolchain
Date: 02/19/2002 05:46:16
In article <Pine.SOL.4.33.0202182207290.23851-100000@virgo.cus.cam.ac.uk>,
Ben Harris <bjh21@netbsd.org> wrote:
>People suggested that hardcoding 0x7fffffff into rpcgen's output was ugly,
>so how about this? Note that the rpcgen changes are complicated by having
>to undo one of christos' fixes, and I'm not entirely sure that my defines
>either have the right names or are in the right place. I'll commit this
>if no-one comes up with a better idea by Saturday though.
I don't understand why we need fixed size enums in the api, since rpcgen
will generate code that converts back and forth to ints...
christos