incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Stahl <...@openoffice.org>
Subject Re: Build braker in drawinglayer
Date Sun, 08 Jan 2012 15:31:01 GMT
On 29/12/11 21:40, Armin Le Grand wrote:
> 	Hi*,
> 
> Address of bitfield is strange, but can only be a bitfield variable. The 
> only one in the class TextBreakupHelper is mbNoDXArray, and it is only 
> used internally. Address of bitfield implies that it gets somewhere 
> casted or given as pointer/reference to some call, but it gets not. The 
> only thing which I stumbled upon is that it gets not really initialized 
> (see constructor of TextBreakupHelper), so please try:
> 
> ln44: 'mbNoDXArray()' -> 'mbNoDXArray(true)'
> 
> If this helps this is a hint that the compiler tries to make this a 
> function call...

AFAIK this is valid C++ syntax and should initialize the member to 0, cast
to the integral type of the member variable (presumably, bool here).

yet another bug in SunStudio's so-called C++ compiler.

btw, the value would be "false", not "true".



Mime
View raw message