Re: -fsanitize=undefined, and some fishy commits

2015-03-05 Thread Stephan Bergmann
On 03/05/2015 02:58 PM, Jan-Marek Glogowski wrote: Interestingly this didn't find the above instance of inline sal_uInt16 GetPos(const SwFmt *p) const { return SwVectorModifyBase::GetPos( static_cast( const_cast( p ) ) ); } but as it's a template it is probably not used anywhere (anymore?).

Re: -fsanitize=undefined, and some fishy commits

2015-03-05 Thread Jan-Marek Glogowski
Am 05.03.2015 um 11:58 schrieb Stephan Bergmann: > LO master now successfully passes "make check" under > -fsanitize=undefined (which instruments the C/C++ code to do various > runtime checks for undefined behavior; see >

-fsanitize=undefined, and some fishy commits

2015-03-05 Thread Stephan Bergmann
LO master now successfully passes "make check" under -fsanitize=undefined (which instruments the C/C++ code to do various runtime checks for undefined behavior; see for enabling it in LO). However, I had to co