This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] fixup ldbl compat issues
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: libstdc++ at gcc dot gnu dot org, Benjamin Kosnik <bkoz at redhat dot com>
- Date: Fri, 14 Aug 2009 10:34:40 +0200
- Subject: Re: [v3] fixup ldbl compat issues
- References: <5787cf470908140107h3b2a155ayb1ae991ba9e6caeb@mail.gmail.com>
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