lilypond-devel
[Top][All Lists]
Advanced

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

Re: Compilation fixes for GUILE 2.2 (issue 571430046 by address@hidden)


From: jonas . hahnfeld
Subject: Re: Compilation fixes for GUILE 2.2 (issue 571430046 by address@hidden)
Date: Sun, 26 Jan 2020 06:24:02 -0800

https://codereview.appspot.com/571430046/diff/551390052/lily/main.cc
File lily/main.cc (right):

https://codereview.appspot.com/571430046/diff/551390052/lily/main.cc#newcode830
lily/main.cc:830: catch (std::exception e)
On 2020/01/26 14:18:20, hanwenn wrote:
> On 2020/01/26 14:13:58, hahnjo wrote:
> > Is it really throwing C++ exceptions? If this means to catch any
from
> LilyPond,
> > I don't think we throw any and I have a patch locally which compiles
all of
> > LilyPond with -fno-exceptions to reduce binary size.
> 
> I think the C++ library might throw exceptions if you're unlucky.
> 
> I prefer we discuss getting rid of this code some other time. I just
want it to
> compile.

Even if there is an exception, catching it at the end of main is no
different from letting it unhandled. So I'm all for removing this
special case now. Or did you actually hit it?

https://codereview.appspot.com/571430046/



reply via email to

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