parent
2b908154ca
commit
661aa989c1
@ -0,0 +1,42 @@
|
|||||||
|
From 7cbfb8749425cad73a91a543e32790455e11bf3d Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
|
||||||
|
Date: Tue, 26 Feb 2019 11:53:31 +0000
|
||||||
|
Subject: [PATCH] gcc error: size '128' of array exceeds maximum object size
|
||||||
|
|
||||||
|
an int works though
|
||||||
|
|
||||||
|
Change-Id: Ifb71df7f929b4ea950fbe6c9ba3ed8e81496fbdf
|
||||||
|
---
|
||||||
|
i18npool/inc/cclass_unicode.hxx | 2 +-
|
||||||
|
.../source/characterclassification/cclass_unicode_parser.cxx | 2 +-
|
||||||
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/i18npool/inc/cclass_unicode.hxx b/i18npool/inc/cclass_unicode.hxx
|
||||||
|
index cd77cbea275a..d11c5e8405b2 100644
|
||||||
|
--- a/i18npool/inc/cclass_unicode.hxx
|
||||||
|
+++ b/i18npool/inc/cclass_unicode.hxx
|
||||||
|
@@ -115,7 +115,7 @@ private:
|
||||||
|
ssStop
|
||||||
|
};
|
||||||
|
|
||||||
|
- static const sal_uInt8 nDefCnt;
|
||||||
|
+ static const int nDefCnt;
|
||||||
|
static const ParserFlags pDefaultParserTable[];
|
||||||
|
static const sal_Int32 pParseTokensType[];
|
||||||
|
|
||||||
|
diff --git a/i18npool/source/characterclassification/cclass_unicode_parser.cxx b/i18npool/source/characterclassification/cclass_unicode_parser.cxx
|
||||||
|
index 1b7cba461016..bca77aea2580 100644
|
||||||
|
--- a/i18npool/source/characterclassification/cclass_unicode_parser.cxx
|
||||||
|
+++ b/i18npool/source/characterclassification/cclass_unicode_parser.cxx
|
||||||
|
@@ -42,7 +42,7 @@ namespace i18npool {
|
||||||
|
|
||||||
|
// Default identifier/name specification is [A-Za-z_][A-Za-z0-9_]*
|
||||||
|
|
||||||
|
-const sal_uInt8 cclass_Unicode::nDefCnt = 128;
|
||||||
|
+const int cclass_Unicode::nDefCnt = 128;
|
||||||
|
const ParserFlags cclass_Unicode::pDefaultParserTable[ nDefCnt ] =
|
||||||
|
{
|
||||||
|
// (...) == Calc formula compiler specific, commented out and modified
|
||||||
|
--
|
||||||
|
2.21.0.rc1
|
||||||
|
|
Loading…
Reference in new issue