]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/template1.cc
release: 0.1.63
[lilypond.git] / lily / template1.cc
index 857b1367d6c842309aa97b3cd7436e8049e02224..1ba5ae801e1e2b9ee332d4143d3cd88d75093d57 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1996,1997 Han-Wen Nienhuys <hanwen@stack.nl>
+  (c) 1996, 1997--1998 Han-Wen Nienhuys <hanwen@stack.nl>
 */
 
 #include "proto.hh"
@@ -13,6 +13,7 @@
 #include "item.hh"
 #include "musical-request.hh"
 #include "spanner.hh"
+#include "cursor.tcc"
 #include "pcursor.tcc"
 #include "plist.tcc"
 
 IPLC_INSTANTIATE(Score_elem);
 IPLC_INSTANTIATE(Spanner);
 IPLC_INSTANTIATE(Idealspacing);
+
+/* these are required at least on IRIX 5 and SunOS 4 */
+
+#if 0
+/* 
+   what gcc version?
+   they're in lib/template.cc too, and break linux/gcc-2.7.2 
+   are you sure they must be here too?
+
+   for now, i'll just change the switch in lib/template.cc
+   jcn
+ */
+
+#if defined (__linux__) && && __GNUC_MINOR__ < 8
+
+#include "list.tcc"
+
+// template class List<void *>;
+// template class Cursor<void *>;
+
+// this should work too, and
+LIST_INSTANTIATE (void *);
+
+#endif
+
+#endif