Hi,

On 17.10.2012 06:24, Pedro Giffuni wrote:


----- Original Message -----
From: Damjan Jovanovic
...

Hi

With the latest SVN, on Ubuntu 12.04 amd64, I am getting this error
when building:

[ build CXX ] drawinglayer/source/texture/texture3d
/path/to/AOO/main/drawinglayer/source/texture/texture3d.cxx: In member
function 'sal_uInt8
drawinglayer::texture::GeoTexSvxBitmapEx::impGetTransparence(sal_Int32&,
sal_Int32&) const':
/path/to/AOO/main/drawinglayer/source/texture/texture3d.cxx:135:70:
error: call of overloaded 'Color(BitmapColor)' is ambiguous
/path/to/AOO/main/drawinglayer/source/texture/texture3d.cxx:135:70:
note: candidates are:
/path/to/AOO/main/solver/350/unxlngx6.pro/inc/tools/color.hxx:120:7:
note: Color::Color(ColorData)
/path/to/AOO/main/solver/350/unxlngx6.pro/inc/tools/color.hxx:113:23:
note: Color::Color(const Color&)
make: ***
[/path/to/AOO/main/solver/350/unxlngx6.pro/workdir/CxxObject/drawinglayer/source/texture/texture3d.o]
Error 1
dmake:  Error code 2, while making 'all'

I made some changes, got no errors on win (what means nothing as we know). It's strange since ColorData is just a typedef (to sal_Int32) and I see no way to auto-convert BitmapColor to it, so 'operator Color()' in class Color should be used.
Made that more explicit now in revision 1399148, please have a try.

Armin

FWIW,

I am also getting similar issues in drawinglayer today.

Pedro.


--
ALG

Reply via email to