https://bz.apache.org/ooo/show_bug.cgi?id=126668
--- Comment #5 from [email protected] --- (In reply to Pathangi Jatinshravan from comment #4) > (In reply to damjan from comment #3) > > (In reply to Pathangi Jatinshravan from comment #2) > > > Created attachment 85143 [details] > > > Patch with review comments incorporated > > > > > > I have made it such that at only two arguments are supported, and by using > > > sal_uInt64, ensured that result up to 2^48 - 1 are also supported. Also > > > dropped unnecessary logging line. > > > > It doesn't compile (FreeBSD 10.2, Clang 3.4.1): > > > > /AOO/main/sc/source/core/tool/interpr1.cxx:1166:37: error: expected a class > > or namespace > > if (bitOp == ScInterpreter::bitArithmetic::BITAND) > > ~~~~~~~~~~~~~~~^ > > /AOO/main/sc/source/core/tool/interpr1.cxx:1168:42: error: expected a class > > or namespace > > else if (bitOp == ScInterpreter::bitArithmetic::BITOR) > > ~~~~~~~~~~~~~~~^ > > /AOO/main/sc/source/core/tool/interpr1.cxx:1170:42: error: expected a class > > or namespace > > else if (bitOp == ScInterpreter::bitArithmetic::BITXOR) > > ~~~~~~~~~~~~~~~^ > > > Can you try enabling c++11 on the compiler? The scope resolution for enum > was added in c++11 Our ports to OS/2, Solaris, Android etc. won't necessarily have c++11 either. -- You are receiving this mail because: You are the assignee for the issue.
