bug-lilypond
[Top][All Lists]
Advanced

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

Issue 1462 in lilypond: Setting page-count to a negative number breaks c


From: lilypond
Subject: Issue 1462 in lilypond: Setting page-count to a negative number breaks compilation
Date: Sat, 25 Dec 2010 18:13:49 +0000

Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Low Warning Frog

New issue 1462 by v.villenave: Setting page-count to a negative number breaks compilation
http://code.google.com/p/lilypond/issues/detail?id=1462

Greetings everybody,

It would be nice if there was a more informative error message when attempting to compile such things as:

%%%%
\version "2.13.44"

\paper {
  page-count = #-1
}

{ g }

%%%%

Here's the current error message:

programming error : number of pages is out of bounds
terminate called after throwing an instance of 'std::length_error'
  what():  vector::_M_fill_insert
Aborting.

(Actually, it /could/ be even nicer if it didn't break compiling at all -- but I think I can understand why we don't want to.)




reply via email to

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