[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A disappointing C++ error
From: |
David Kastrup |
Subject: |
Re: A disappointing C++ error |
Date: |
Tue, 08 Jun 2021 02:04:01 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
David Kastrup <dak@gnu.org> writes:
> I tried inserting the following into
> Time_signature_performer::process_music ():
>
> Moment base_moment = from_scm (get_property (this, "baseMoment"),
> Moment (Rational (1, 4)));
>
> and I get the following out:
Well, the problem appears to be that there were so few eligible
conversions that I (and nobody else) bothered actually putting the code
into lily-guile.hh. Hm.
lily/auto-beam-engraver.cc: = robust_scm2moment (get_property (this,
"measurePosition"), Moment (0));
lily/bar-number-engraver.cc: = robust_scm2moment (get_property
(this, "measurePosition"), 0);
lily/beam-engraver.cc: Moment mp (robust_scm2moment (get_property (this,
"measurePosition"),
lily/beaming-pattern.cc: base_moment_ = robust_scm2moment (get_property
(context, "baseMoment"),
lily/beaming-pattern.cc: measure_length_ = robust_scm2moment (get_property
(context, "measureLength"),
lily/context.cc: return robust_scm2moment (get_property (context,
"measureLength"),
lily/context.cc: auto m = robust_scm2moment (get_property (context,
"measurePosition"),
lily/context.cc: Moment mp = robust_scm2moment (smp, Moment (0));
lily/double-percent-repeat-engraver.cc: Moment meas_len (robust_scm2moment
(get_property (this, "measureLength"),
lily/drum-note-performer.cc: len = robust_scm2moment (scm_call_2
(f, len.smobbed_copy (),
lily/include/moment.hh:Moment robust_scm2moment (SCM, Moment);
lily/item.cc: iv[d] = robust_scm2moment (get_property
(bounds[d]->get_column (), "when"),
lily/moment.cc:robust_scm2moment (SCM m, Moment d)
lily/multi-measure-rest.cc: Moment mlen = robust_scm2moment (get_property
(li, "measure-length"),
lily/note-performer.cc: len = robust_scm2moment (scm_call_2 (f,
len.smobbed_copy (),
lily/note-performer.cc: Moment len = robust_scm2moment (scm_call_2 (f,
available.smobbed_copy (),
lily/page-turn-engraver.cc: Rational min_turn = robust_scm2moment
(get_property (this, "minimumPageTurnLength"), Moment (1)).main_part_;
lily/partial-iterator.cc: auto mp = robust_scm2moment (mp_scm, 0);
lily/partial-iterator.cc: Moment mp = robust_scm2moment (get_property (timing,
"measurePosition"), 0);
lily/spacing-options.cc: Moment shortest_dur = robust_scm2moment (get_property
(me, "common-shortest-duration"),
lily/time-signature-performer.cc: Moment base_moment = robust_scm2moment
(get_property (this, "baseMoment"),
lily/timing-translator.cc: auto mom = robust_scm2moment (get_property (this,
"measurePosition"), now);
lily/tuplet-bracket.cc: auto start_mom = robust_scm2moment (get_property
(start_col, "when"), 0);
lily/tuplet-bracket.cc: auto end_mom = robust_scm2moment (get_property
(end_col, "when"), 0);
lily/tuplet-engraver.cc: d.length_ = robust_scm2moment (get_property
(d.event_, "length"),
Hm. No idea.
--
David Kastrup