Kaydet (Commit) a77ff844 authored tarafından Noel Grandin's avatar Noel Grandin

silence gcc4.8 warning

Change-Id: I1e433d6011de22e018b5324754f00065f2bfa6eb
üst cbd4266b
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment