Hi James!

On Sun, Apr 06, 2014 at 05:49:06PM +0100, James wrote:
> Thomas,
> 
> On 06/04/14 15:19, Thomas Klausner wrote:
> >A recent git commit introduced a call to to_string. To make lilypond
> >compile with clang again, please commit the attached diff (fixed like
> >other instances of the same issue).
> >
> >Thanks,
> >  Thomas
> >
> >
> >_______________________________________________
> >bug-lilypond mailing list
> >bug-lilypond@gnu.org
> >https://lists.gnu.org/mailman/listinfo/bug-lilypond
> This doesn't apply to current master (or I cannot get it to apply anyway).
> 
> Can you re-check and send a git-formatted patch please?

Sure, attached. Hope this works better!

Thanks for looking at this,
 Thomas
>From 8b60575a517a37928924852e855a1b708252b19d Mon Sep 17 00:00:00 2001
From: Thomas Klausner <w...@netbsd.org>
Date: Sun, 6 Apr 2014 19:17:30 +0200
Subject: [PATCH] Fix namespace issue with clang.

Signed-off-by: Thomas Klausner <w...@netbsd.org>
---
 lily/misc.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lily/misc.cc b/lily/misc.cc
index 2adc250..6021380 100644
--- a/lily/misc.cc
+++ b/lily/misc.cc
@@ -31,7 +31,7 @@ int
 intlog2 (int d)
 {
   if (d <= 0)
-    error ("intlog2 with negative argument: " + to_string (d));
+    error ("intlog2 with negative argument: " + ::to_string (d));
   int i = 0;
   while ((d != 1))
     {
-- 
1.9.0

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to