]> git.donarmstrong.com Git - lilypond.git/blob - lily/template1.cc
partial: 0.1.65.jcn
[lilypond.git] / lily / template1.cc
1 /*
2   template1.cc -- instantiate some List classes
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1996, 1997--1998 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9 #include "proto.hh"
10 #include "idealspacing.hh"
11 #include "plist.hh"
12 #include "p-col.hh"
13 #include "item.hh"
14 #include "musical-request.hh"
15 #include "spanner.hh"
16 #include "cursor.tcc"
17 #include "pcursor.tcc"
18 #include "plist.tcc"
19
20
21 #define IPLC_INSTANTIATE(a) POINTERLIST_INSTANTIATE(a)
22
23 IPLC_INSTANTIATE(Score_elem);
24 IPLC_INSTANTIATE(Spanner);
25 IPLC_INSTANTIATE(Idealspacing);
26
27 /* these are required at least on IRIX 5 and SunOS 4 */
28
29 #if 0
30 /* 
31    what gcc version?
32    they're in lib/template.cc too, and break linux/gcc-2.7.2 
33    are you sure they must be here too?
34
35    for now, i'll just change the switch in lib/template.cc
36    jcn
37  */
38
39 #if defined (__linux__) && && __GNUC_MINOR__ < 8
40
41 #include "list.tcc"
42
43 // template class List<void *>;
44 // template class Cursor<void *>;
45
46 // this should work too, and
47 LIST_INSTANTIATE (void *);
48
49 #endif
50
51 #endif