2 // template.cc -- implementemplate
3 // ugh: must have unique name for Cygnus' gcc:
4 // liblily.a(template.o): In function `GLOBAL_$I$template.cc':
5 // template.cc:28: multiple definition of `global constructors keyed to template.cc'
7 // copyright 1997 Jan Nieuwenhuizen <jan@digicash.com>
17 #include "mudela-item.hh"
18 #include "mudela-column.hh"
19 #include "mudela-staff.hh"
20 #include "mudela-voice.hh"
21 #include "mudela-staff.hh"
22 #include "mudela-score.hh"
25 #include "pcursor.tcc"
28 POINTERLIST_INSTANTIATE(Mudela_item);
29 POINTERLIST_INSTANTIATE(Mudela_staff);
30 POINTERLIST_INSTANTIATE(Mudela_voice);
31 POINTERLIST_INSTANTIATE(Mudela_column);
32 POINTERLIST_INSTANTIATE(Mudela_score);
37 they're in lib/template.cc too, and break linux/gcc-2.7.2
38 are you sure they must be here too?
40 for now, i'll just change the switch in lib/template.cc
45 #if defined (__linux__) && && __GNUC_MINOR__ < 8
49 // template class List<void *>;
50 // template class Cursor<void *>;
52 // this should work too, and
53 LIST_INSTANTIATE (void *);