[Patch] libstdc++/13943

Gabriel Dos Reis gdr@integrable-solutions.net
Mon May 23 01:27:00 GMT 2005


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



More information about the Libstdc++ mailing list