incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damjan Jovanovic <dam...@apache.org>
Subject Re: Build fails in main/drawinglayer/source/texture/texture3d.cxx
Date Wed, 17 Oct 2012 18:12:26 GMT
On Wed, Oct 17, 2012 at 10:29 AM, Armin Le Grand <Armin.Le.Grand@me.com> wrote:
>         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
>

It's most definitely NOT fixed, even in revision 1399319:

[ 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:137:78:
error: call of overloaded 'Color(const BitmapColor&)' is ambiguous
/path/to/AOO/main/drawinglayer/source/texture/texture3d.cxx:137:78:
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'



Attached is a possible patch (texture3d.patch) which gets it to
compile successfully but I don't want to apply it because it could be
semantically wrong.

Also attached is another patch (objectcontacttools.patch) for a
problem that breaks the build later on, because
"drawinglayer::processor2d::canvasProcessor2D" doesn't exist
(according to grep). Simply commenting out that section of code gets
it to compile. It seems that someone has already done similar
commenting for Windows in the "#ifdef WIN32" just above my patch?
Since when was AOO a Windows-only project?

Also it was necessary to use ld.gold for at least part of the build.

Please use those buildbots and keep AOO compiling on all platforms.

Regards
Damjan

Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message