summaryrefslogtreecommitdiff
path: root/Build/source/libs/graphite/engine-2.3.1-PATCHES/patch-06-static-const-members
blob: 9a1816663797717ae79cb507361be722e765c0c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
	Initialized static const class members may need to be defined
	in the enclosing scope.

diff -ur engine-2.3.1.orig/test/RegressionTest/RegressionTest.cpp engine-2.3.1/test/RegressionTest/RegressionTest.cpp
--- engine-2.3.1.orig/test/RegressionTest/RegressionTest.cpp	2009-01-21 23:36:42.000000000 +0100
+++ engine-2.3.1/test/RegressionTest/RegressionTest.cpp	2010-07-05 15:28:32.820883982 +0200
@@ -34,6 +34,7 @@
 
 SegmentMemoryUsage g_smu;
 FontMemoryUsage g_fmu;
+const int TestCase::kAbsent;
 
 std::string g_fontPath = ".";
 #ifdef _WIN32
diff -ur engine-2.3.1.orig/test/RegressionTest/TestCase.cpp engine-2.3.1/test/RegressionTest/TestCase.cpp
--- engine-2.3.1.orig/test/RegressionTest/TestCase.cpp	2009-01-21 23:36:42.000000000 +0100
+++ engine-2.3.1/test/RegressionTest/TestCase.cpp	2010-07-05 15:27:40.045646923 +0200
@@ -1875,6 +1875,7 @@
 		m_attGlyphs[i] = stuff[i];
 }
 
+const int ClickTest::fieldCnt;
 void TestCase::SetClickTests(int clickTestCount, int * clickStuff)
 {
 	const int fc = ClickTest::fieldCnt;