Subject: Re: rpcgen and -fshort-enums round 2
To: Christos Zoulas <christos@zoulas.com>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-toolchain
Date: 02/18/2002 22:29:08
On Tue, Feb 19, 2002 at 05:46:16AM +0000, Christos Zoulas wrote:

 > 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...

rpcgen'd enums might be passed around as arguments or used in structures
visible to the user of a shared library, at which point the size of the
resulting type is quite important.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>