summaryrefslogtreecommitdiff
path: root/Build/source/libs/teckit/TECkit-2.5.3-PATCHES/patch-04-pragmas
blob: a4d8d10d904ab7b75b6cd357ba63e1c57d6d940c (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
	Remove the '#pragma's, they seem to cause problems for MSVC
	and are certainly not needed otherwise.

diff -ur TECkit-2.5.3.orig/source/Engine.cpp TECkit-2.5.3/source/Engine.cpp
--- TECkit-2.5.3.orig/source/Engine.cpp	2012-03-17 17:43:26.000000000 +0100
+++ TECkit-2.5.3/source/Engine.cpp	2012-10-13 12:30:24.000000000 +0200
@@ -102,8 +102,6 @@
 #endif
 }
 
-#pragma mark --- class Stage ---
-
 Stage::Stage()
 	: oBuffer(0)
 	, oBufSize(0)
@@ -125,8 +117,6 @@
 	return 0;
 }
 
-#pragma mark --- class Normalizer ---
-
 #include "NormalizationData.c"
 
 Normalizer::Normalizer(bool compose)
@@ -396,8 +392,6 @@
 	return c;
 }
 
-#pragma mark --- class Pass ---
-
 Pass::Pass(const TableHeader* inTable, Converter* cnv)
 	: converter(cnv)
 	, tableHeader(inTable)
@@ -1282,8 +1276,6 @@
 	return 0;
 }
 
-#pragma mark --- class Converter ---
-
 Converter::Converter(const Byte* inTable, UInt32 inTableSize, bool inForward,
 						UInt16 inForm, UInt16 outForm)
 	: table(0)
@@ -1935,8 +1927,6 @@
 	return true;
 }
 
-#pragma mark --- Public "C" API functions ---
-
 TECkit_Status
 WINAPI
 TECkit_CreateConverter(
diff -ur TECkit-2.5.3.orig/source/Sample-tools/TECkit_Compile.cpp TECkit-2.5.3/source/Sample-tools/TECkit_Compile.cpp
--- TECkit-2.5.3.orig/source/Sample-tools/TECkit_Compile.cpp	2012-03-17 17:43:26.000000000 +0100
+++ TECkit-2.5.3/source/Sample-tools/TECkit_Compile.cpp	2012-10-13 12:28:29.000000000 +0200
@@ -32,8 +32,6 @@
 CALLBACK
 errFunc(void* userData, const char* msg, const char* param, UInt32 line)
 {
-#pragma unused(userData)
-
 	fprintf(stderr, "%s", msg);
 	if (param != 0)
 		fprintf(stderr, ": \"%s\"", param);