openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mechtilde <...@mechtilde.de>
Subject Re: hello I get a problem when i compile AOO417 under ubuntu
Date Sun, 12 May 2019 10:28:52 GMT
Hello,

this is fixed for the 4.2 branch.

I built that under Debian 9 (stretch)

Regards

Mechtilde



Am 12.05.19 um 12:06 schrieb Peter Kovacs:
> The true error is:
> 
>   bit_mask=~(~0 << bits_per_pixel)
> 
> ../inc/basebmp/packedpixeliterator.hxx:86:23: error: left operand of
> shift expression ‘(-1 << 1)’ is negative [-fpermissive]
> ../inc/basebmp/packedpixeliterator.hxx:80:10: error: enumerator value
> for ‘bit_mask’ is not an integer constant
> 
> The root cause is, OpenOffice is written for older gnuCompiler. And we
> just slowly move up the Version tree. Wedo not support v11standard.
> 
> better build with
> 
>     -std=gnu++98
> 
> that is done by export, I think:
> 
>     export CFLAGS="-std=gnu++98" export CXXFLAGS="${CFLAGS}"
> 
> maybe add even the permissve flag:
> 
> export CFLAGS="-std=gnu++98 -fpermissive"
> 
> export CXXFLAGS="${CFLAGS}"
> 
> 
> 
> HTH
> Peter
> 
> On 12.05.19 10:38, 软刀 wrote:
>> the build log :
>>
>>  nohup.out.tgz
>> <https://drive.google.com/file/d/19j8aHoiV2MvC0BKzIfh6VnB_AQzSCG5e/view?usp=drive_web>
>>
>>
>> 软刀 <ljy080829@gmail.com> 于2019年5月12日周日 下午4:35写道:
>>
>>> and the full build log nohup.out.tgz
>>>
>>> 软刀 <ljy080829@gmail.com> 于2019年5月12日周日 下午4:34写道:
>>>
>>>> I learning openoffice, and build it from scratch
>>>>
>>>> the AOO417 was release branch?
>>>>
>>>>
>>>> the following was the last error:
>>>>
>>>> ------------------- start -------------------
>>>>
>>>>
>>>> deliver -- version: 275594
>>>>
>>>>                                      ^~~~~
>>>>
>>>> dmake:  Error code 1, while making '../unxlngx6.pro/slo/bitmapdevice.obj'
>>>>
>>>>
>>>> 1 module(s):
>>>>
>>>>         basebmp
>>>>
>>>> need(s) to be rebuilt
>>>>
>>>>
>>>> Reason(s):
>>>>
>>>>
>>>> ERROR: error 65280 occurred while making
>>>> /home/ubuntu/orz/main/basebmp/source
>>>>
>>>>
>>>> When you have fixed the errors in that module you can resume the build by
>>>> running:
>>>>
>>>>
>>>>         build --all:basebmp
>>>>
>>>>
>>>>
>>>> ------------------- end -------------------
>>>>
>>>> and the auto build script iorz
>>>>
>>>> and the full build log nohup.out.tgz
>>>>
>>>>
>>>> -------------------
>>>>
>>>> thank you
>>>>
>>>>
>>>>
> 

-- 
Mechtilde Stehmann
## Apache OpenOffice
## Freie Office Suite für Linux, MacOSX, Windows
## Debian Developer
## PGP encryption welcome
## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F


Mime
View raw message