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: [v3] fixup ldbl compat issues


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


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