FW: libffi on HP-UX

Paul Schlie schlie@comcast.net
Thu Feb 17 18:17:00 GMT 2005


> Anthony Green <green at redhat dot com>
>> On Tue, 2005年02月15日 at 14:37 -0800, Boehm, Hans wrote:
>> My impression is that most of the client code presumes that char,
>> short, and int are returned as int, and everything else is returned
>> using the actual data size. Effectively, the C "integral promotions"
>> are applied to the return type. Is that the intended convention?
>> Yes, that's right, although in hindsight it was probably a mistake.
>>> If that's unclear, can we make it the intended convention?
>> If that's what will work best for HP-UX and doesn't require changes
> for other ports then I'm ok with that.

- or wonder if it may be best (with hindsight) to actually return the
 data in it's specified precision, as it's not clear to me that the
 a compiler need implement (int) as being any particular size; however
 expecting an explicitly sized type to be returned as such is not
 ambiguous (in either big or little-endian form).


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /