blob: f66fb27197f85b3c73e8d823c8bd9779ab4b417b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-ab,v 1.1.1.1 2006/07/23 11:50:25 rillig Exp $
--- plugins/vibed/vibrating_string.cpp.orig 2006-07-23 12:20:50.000000000 +0200
+++ plugins/vibed/vibrating_string.cpp 2006-07-23 13:07:47.000000000 +0200
@@ -23,6 +23,18 @@
*/
#include <math.h>
+/* These two headers need to be included very early to work around a
+ * parse error in g++-3.3.3:
+ *
+ * g++/bits/stl_pair.h: In function `bool std::operator<(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)':
+ * g++/bits/stl_pair.h:103: error: parse error before `)' token
+ *
+ * qt3/include/qpair.h: In function `bool operator<(const QPair<T1, T2>&, const QPair<T1, T2>&)':
+ * qt3/include/qpair.h:80: error: parse error before `)' token
+ */
+#include <utility>
+#include <qpair.h>
+
#include "vibrating_string.h"
#include "templates.h"
#include "interpolation.h"
|