From ea2abf39117eb8265150824d7baaae2b95b82008 Mon Sep 17 00:00:00 2001 From: Daniel Glassey Date: Wed, 31 Oct 2018 16:24:45 +0700 Subject: patch-04-pragmas Remove the '#pragma's, they seem to cause problems for MSVC and are certainly not needed otherwise. Gbp-Pq: Name patch-04-pragmas --- source/Engine.cpp | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/source/Engine.cpp b/source/Engine.cpp index 8d050c1..dd47e54 100644 --- a/source/Engine.cpp +++ b/source/Engine.cpp @@ -102,10 +102,6 @@ READ(const UInt32 p) #endif } -#ifndef __GNUC__ -#pragma mark --- class Stage --- -#endif - Stage::Stage() : oBuffer(0) , oBufSize(0) @@ -127,10 +123,6 @@ Stage::lookaheadCount() const return 0; } -#ifndef __GNUC__ -#pragma mark --- class Normalizer --- -#endif - #include "NormalizationData.c" Normalizer::Normalizer(bool compose) @@ -400,10 +392,6 @@ Normalizer::getChar() return c; } -#ifndef __GNUC__ -#pragma mark --- class Pass --- -#endif - Pass::Pass(const TableHeader* inTable, Converter* cnv) : converter(cnv) , tableHeader(inTable) @@ -1288,10 +1276,6 @@ if (traceLevel > 0) return 0; } -#ifndef __GNUC__ -#pragma mark --- class Converter --- -#endif - Converter::Converter(const Byte* inTable, UInt32 inTableSize, bool inForward, UInt16 inForm, UInt16 outForm) : table(0) @@ -1942,10 +1926,6 @@ Converter::Validate(const Converter* cnv) return true; } -#ifndef __GNUC__ -#pragma mark --- Public "C" API functions --- -#endif - TECkit_Status WINAPI TECkit_CreateConverter( -- cgit v1.2.3