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.)


_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to