diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-12 11:40:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-12 11:41:36 +0200 |
commit | a77ff8446e7ed2255b11406b4ccce7ec742d7c67 (patch) | |
tree | 6924b7a1f8621fe1381427d797ff73348714a781 /sc | |
parent | cbd4266beff52cf210f1532b50f8bab74cb8ba8c (diff) |
silence gcc4.8 warning
Change-Id: I1e433d6011de22e018b5324754f00065f2bfa6eb
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/formularesult.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sc/inc/formularesult.hxx b/sc/inc/formularesult.hxx index 43ff6555a6b7..9150ab939869 100644 --- a/sc/inc/formularesult.hxx +++ b/sc/inc/formularesult.hxx @@ -73,7 +73,15 @@ class ScFormulaResult bool mbToken :1; // whether content of union is a token bool mbEmpty :1; // empty cell result bool mbEmptyDisplayedAsString :1; // only if mbEmpty +// GCC4.8 complains about 'ScFormulaResult::meMultiline is too small to hold all values of enum class ScFormulaResult::Multiline' +#if defined __GNUC__ && !defined __clang__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Werror" +#endif Multiline meMultiline :2; // result is multiline +#if defined __GNUC__ && !defined __clang__ +#pragma GCC diagnostic pop +#endif /** Reset mnError, mbEmpty and mbEmptyDisplayedAsString to their defaults prior to assigning other types */ |