lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lilly_libcxx.patch for building against libc++


From: Jack Howarth
Subject: Re: lilly_libcxx.patch for building against libc++
Date: Thu, 14 Nov 2013 16:40:05 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, Nov 14, 2013 at 09:55:33PM +0100, David Kastrup wrote:
> Jack Howarth <address@hidden> writes:
> 
> >    The attached patch, lilly_libcxx.patch, contains the changes which allow 
> > lilypond 2.17.95
> > to build against libc++ on Xcode 10.9 with the clang++ compiler. There is a 
> > glitch in the
> > configure/makefiles currently that requires that the user pass 
> > -DHAVE_STL_DATA_METHOD on
> > CXXFLAGS. The problem is odd as configure seems able to set...
> >
> > /* define if you have stl data () method */
> > #define HAVE_STL_DATA_METHOD 1
> >
> > in the top level config.hh but it doesn't seem to get passed down to 
> > flowers/include/std-vector.hh
> > when included in file-path.cc.
> 
> See <URL:http://code.google.com/p/lilypond/issues/detail?id=3656>
> 
> Can you explain what the problem with to_string is actually about?  Can
> we fix this in a way that does not require explicit scoping?
> 
> -- 
> David Kastrup

David,
    As for http://code.google.com/p/lilypond/issues/detail?id=3656, the problem 
would appear to be,
from inspection, that flower/include/file-path.hh is included before config.hh 
in file-path.cc.
This prevents HAVE_STL_DATA_METHOD from being set properly for 
flower/include/file-path.hh to use.
           Jack




reply via email to

[Prev in Thread] Current Thread [Next in Thread]