bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: enum vs int and API/ABI compatibility


From: Paul Eggert
Subject: Re: enum vs int and API/ABI compatibility
Date: Wed, 19 Oct 2011 07:53:01 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15

On 10/19/11 04:06, Simon Josefsson wrote:
> 1) Is there any platform where this has any implications for the ABI?

OS/400.  libcurl ran into this problem; see
<http://multitheftauto.googlecode.com/svn/trunk/vendor/curl/packages/OS400/README.OS400>.

Android users are constantly worrying about whether to compile
with -fno-short-enums, citing ABI incompatibilities.  E.g., see
<http://osdir.com/ml/android-ndk/2010-10/msg00559.html>.

I expect you'll probably run into an ABI problem somewhere,
though I couldn't find anything specifically on point to your
coding example.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]