Subject: Re: rpcgen and -fshort-enums round 2
To: Todd Vierling <tv@wasabisystems.com>
From: Christos Zoulas <christos@zoulas.com>
List: tech-toolchain
Date: 02/19/2002 08:16:36
On Feb 19,  5:21am, tv@wasabisystems.com (Todd Vierling) wrote:
-- Subject: Re: rpcgen and -fshort-enums round 2

Yes, and I fixed that.

christos

| bjh noted, in an earlier thread, that rpcgen generates code that casts "enum
| foo *" to "enum_t *" -- something that will break without these "size
| forcing" constants.  (Think of an 8-bit enum:  On little endian ARM, you get
| 24 bits of junk.  On an as-yet unavailable big-endian ARM, you'd get an enum
| shifted 24 bits.)