blob: 42ebedbd7f78c098159a202bd1e3a53593735558 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-al,v 1.1 2011/07/22 03:03:28 mrg Exp $
enable GCC 4.5 support
--- cppu/inc/uno/lbnames.h.orig 2008-12-08 06:37:56.000000000 -0800
+++ cppu/inc/uno/lbnames.h 2011-07-20 20:07:27.000000000 -0700
@@ -65,12 +65,12 @@
#error "Tested gcc 2 versions are 2.91 and 2.95. Patch uno/lbnames.h to try your gcc 2 version."
#elif (__GNUC__ == 3 && __GNUC_MINOR__ <= 4)
#define __CPPU_ENV gcc3
-#elif (__GNUC__ == 4 && __GNUC_MINOR__ <= 4)
+#elif (__GNUC__ == 4 && __GNUC_MINOR__ <= 5)
#define __CPPU_ENV gcc3
#elif (__GNUC__ == 3)
#error "Tested gcc 3 version is <= 3.4. Patch uno/lbnames.h to try your gcc 3 version."
#else
-#error "Supported gcc majors are 2 , 3 and 4 <= 4.4. Unsupported gcc major version."
+#error "Supported gcc majors are 2 , 3 and 4 <= 4.5. Unsupported gcc major version."
#endif /* defined (__GNUC__) */
#endif /* defined (_MSC_VER) */
|