From db8da13fa9caff008ac9413be85ee5f71477e0ab Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 20:06:02 +0000 Subject: [PATCH] lilypond-0.1.47 --- flower/string.cc | 4 ++++ lily/identifier.cc | 3 ++- lily/score.cc | 1 + lily/symtable.cc | 2 ++ 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/flower/string.cc b/flower/string.cc index 9f5fca9dad..0e479de3e5 100644 --- a/flower/string.cc +++ b/flower/string.cc @@ -6,6 +6,10 @@ */ +#ifndef _GNU_SOURCE // we want memmem +#define _GNU_SOURCE +#endif + #include #include diff --git a/lily/identifier.cc b/lily/identifier.cc index 62f0a3a840..107bd2417d 100644 --- a/lily/identifier.cc +++ b/lily/identifier.cc @@ -118,7 +118,8 @@ IMPLEMENT_ID_CLASS(Request_id, Request, request); IMPLEMENT_ID_CLASS(Midi_def_id, Midi_def, mididef); IMPLEMENT_ID_CLASS(Paper_def_id, Paper_def, paperdef); -Identifier::Identifier (Identifier const&) +Identifier::Identifier (Identifier const&s) + : Input (s) { assert (false); } diff --git a/lily/score.cc b/lily/score.cc index b628441475..5dac696086 100644 --- a/lily/score.cc +++ b/lily/score.cc @@ -30,6 +30,7 @@ Score::Score() } Score::Score (Score const &s) + : Input (s) { music_p_ = (s.music_p_) ? s.music_p_->clone() : 0; for (int i=0; i < s.def_p_arr_.size (); i++) diff --git a/lily/symtable.cc b/lily/symtable.cc index d247fa6494..0be5fbf742 100644 --- a/lily/symtable.cc +++ b/lily/symtable.cc @@ -19,7 +19,9 @@ Symtables::Symtables() { } + Symtables::Symtables (Symtables const &s) + : Dictionary (s) { for (Assoc_iter i (s); i.ok(); i++) { -- 2.39.5