]> git.donarmstrong.com Git - lilypond.git/blob - mi2mu/template9.cc
partial: 0.1.65.jcn
[lilypond.git] / mi2mu / template9.cc
1 //
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'
6 //
7 // copyright 1997 Jan Nieuwenhuizen <jan@digicash.com>
8
9 #include "proto.hh"
10 #include "list.hh"
11 #include "list.tcc"
12 #include "cursor.tcc"
13
14 class istream;
15 class ostream;
16
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"
23 #include "pcursor.hh"
24 #include "plist.hh"
25 #include "pcursor.tcc"
26 #include "plist.tcc"
27
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);
33
34 #if 0
35 /* 
36    what gcc version?
37    they're in lib/template.cc too, and break linux/gcc-2.7.2 
38    are you sure they must be here too?
39
40    for now, i'll just change the switch in lib/template.cc
41    jcn
42
43  */
44
45 #if defined (__linux__) && && __GNUC_MINOR__ < 8
46
47 #include "list.tcc"
48
49 // template class List<void *>;
50 // template class Cursor<void *>;
51
52 // this should work too, and
53 LIST_INSTANTIATE (void *);
54
55 #endif
56
57 #endif
58