This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] libstdc++/13943


Paolo Carlini <pcarlini@suse.de> writes:

| Gabriel Dos Reis wrote:
| 
| >| -  inline long long
| >| -  llabs(long long __x) { return __x >= 0 ? __x : -__x; }
| >| -
| >|  #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
| >| +  using ::llabs;
| >
| >This means that we provide llabs() only if 
| >!_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC.  That looks to me like a ABI breakage
| >from previous version.  Similar to the lldiv() case.  
| >Is my reading correct?
| >  
| >
| Well, I would not call it an ABI breakage, because, simply, if
| _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC the code would not compile. Which
| binary interface are we breaking? Also, I think that when
| _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC, indeed, the user expects long long
| functions *not* being available.

OK then.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]