[v3] fixup ldbl compat issues
Uros Bizjak
ubizjak@gmail.com
Fri Aug 14 08:34:00 GMT 2009
On Fri, Aug 14, 2009 at 10:07 AM, Uros Bizjak<ubizjak@gmail.com> wrote:
> Hello!
>
>>> Re: error in hash.cc, fixed with this.
>>
>> Sigh. With this, hopefully.
>
> Still no luck. Now compilation breaks with:
Attached patch fixes compilation on alpha. Committed as obvious.
2009-08-14 Uros Bizjak <ubizjak@gmail.com>
* src/compatibility-ldbl.cc: Include cmath.
Uros.
Index: src/compatibility-ldbl.cc
===================================================================
--- src/compatibility-ldbl.cc (revision 150735)
+++ src/compatibility-ldbl.cc (working copy)
@@ -24,6 +24,7 @@
// <http://www.gnu.org/licenses/>.
#include <locale>
+#include <cmath>
#include <tr1/functional>
#ifdef _GLIBCXX_LONG_DOUBLE_COMPAT
More information about the Libstdc++
mailing list