Re: Error on enum statement. Can sombody take a little time and explain the enum and the error?

2017-01-01 Thread Patricia Shanahan
If this is the 4.1.3 source, it has been compiled many times. I would 
look for a configuration problem affecting the the value of bits_per_pixel.



On 01/02/2017 06:07 AM, Dennis E. Hamilton wrote:



-Original Message-
From: Peter Kovacs [mailto:legi...@gmail.com]
Sent: Sunday, January 1, 2017 17:07
To: dev 
Subject: Error on enum statement. Can sombody take a little time and
explain the enum and the error?

Hello all,


I tried to compile the source again. since I had again missing
definition on trunc I wanted to know if I can build at least the 4.1.3
release. I checked out the branch and started all over.

And I ran into following Issue:

../inc/basebmp/packedpixeliterator.hxx:80:10: error: enumerator value
for 'bit_mask' is not an integer constant

The corresponding code is:

enum {
  /** The number of pixel within a single value_type value
   */
num_intraword_positions=sizeof(value_type)*8/bits_per_pixel,
  /** Bit mask for one pixel (least significant bits)
   */
  bit_mask=~(~0 << bits_per_pixel)

[orcmid]


Try a couple of things:

  1. Put spaces in the "=~" to be something like " = ~" in the definition of 
bit_mask.

  2. If that makes no difference, try

   bit_mask = ~ ((value_type)(~0 << bits_per_pixel))

 and if that doesn't work, see if

   bit_mask = ~ ((int)(~0 << bits_per_pixel))

 or even

   bit_mask = (int) (~(~0 << bits_per_pixel))

 get the job done.

It seems strange for an enum being used this way.  It is a clumsy way to define 
two numeric constants that are not involved in an enumeration at all.


  };


An explanation would be great. I found [1] on the net, but I am realy
unsure if this is the same. And I do not understand the code in
packedpixeliterator at all.

All the best and thanks for your time.

Peter


[1]
http://stackoverflow.com/questions/18090541/how-to-set-the-value-of-an-
enumeration-constant-outside-the-range-of-int#18090940




-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org




-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



RE: Error on enum statement. Can sombody take a little time and explain the enum and the error?

2017-01-01 Thread Dennis E. Hamilton


> -Original Message-
> From: Peter Kovacs [mailto:legi...@gmail.com]
> Sent: Sunday, January 1, 2017 17:07
> To: dev 
> Subject: Error on enum statement. Can sombody take a little time and
> explain the enum and the error?
> 
> Hello all,
> 
> 
> I tried to compile the source again. since I had again missing
> definition on trunc I wanted to know if I can build at least the 4.1.3
> release. I checked out the branch and started all over.
> 
> And I ran into following Issue:
> 
> ../inc/basebmp/packedpixeliterator.hxx:80:10: error: enumerator value
> for 'bit_mask' is not an integer constant
> 
> The corresponding code is:
> 
>enum {
>  /** The number of pixel within a single value_type value
>   */
> num_intraword_positions=sizeof(value_type)*8/bits_per_pixel,
>  /** Bit mask for one pixel (least significant bits)
>   */
>  bit_mask=~(~0 << bits_per_pixel)
[orcmid] 


Try a couple of things:

 1. Put spaces in the "=~" to be something like " = ~" in the definition of 
bit_mask.

 2. If that makes no difference, try 

  bit_mask = ~ ((value_type)(~0 << bits_per_pixel))

and if that doesn't work, see if 

  bit_mask = ~ ((int)(~0 << bits_per_pixel))

or even

  bit_mask = (int) (~(~0 << bits_per_pixel))

get the job done.

It seems strange for an enum being used this way.  It is a clumsy way to define 
two numeric constants that are not involved in an enumeration at all.

>  };
> 
> 
> An explanation would be great. I found [1] on the net, but I am realy
> unsure if this is the same. And I do not understand the code in
> packedpixeliterator at all.
> 
> All the best and thanks for your time.
> 
> Peter
> 
> 
> [1]
> http://stackoverflow.com/questions/18090541/how-to-set-the-value-of-an-
> enumeration-constant-outside-the-range-of-int#18090940
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Error on enum statement. Can sombody take a little time and explain the enum and the error?

2017-01-01 Thread Peter Kovacs

Hello all,


I tried to compile the source again. since I had again missing 
definition on trunc I wanted to know if I can build at least the 4.1.3 
release. I checked out the branch and started all over.


And I ran into following Issue:

../inc/basebmp/packedpixeliterator.hxx:80:10: error: enumerator value 
for 'bit_mask' is not an integer constant


The corresponding code is:

  enum {
/** The number of pixel within a single value_type value
 */
num_intraword_positions=sizeof(value_type)*8/bits_per_pixel,
/** Bit mask for one pixel (least significant bits)
 */
bit_mask=~(~0 << bits_per_pixel)
};


An explanation would be great. I found [1] on the net, but I am realy 
unsure if this is the same. And I do not understand the code in 
packedpixeliterator at all.


All the best and thanks for your time.

Peter


[1] 
http://stackoverflow.com/questions/18090541/how-to-set-the-value-of-an-enumeration-constant-outside-the-range-of-int#18090940





-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Proofing Tool GUI 3.0 - beta - build 100 - 2017-01-01 Released

2017-01-01 Thread Marco A.G.Pinto
Hello!

Just to announce that I have updated PTG for Windows and Linux.

It can be downloaded from its official site:
http://marcoagpinto.cidadevirtual.pt/proofingtoolgui.html

The latest build has the GUI improved a lot and also accepts items
multiselection and to choose the window size: 1024x600 or 1280x600.


In the next update I will try to implement GTK3 support (Linux) and
allow undo/redo like Shantanu suggested.

Also, notice the extra tabs which are still not working but they mean
that in a future version it will be possible to edit/create rules for
LanguageTool and have language specific operations (text processing).

Does anyone know where I can get an hyphenator so that I see how it
works and can code its tab in PTG? This tab has been blank for years.

PS->Notice that I added some persons in Bcc in this e-mail.

Thanks!

Kind regards from the English Dictionaries maintainer,
  >Marco A.G.Pinto
--

-- 


signature.asc
Description: OpenPGP digital signature


Re: [Homepage] Updated ASF logo on openoffice.apache.org

2017-01-01 Thread Matthias Seidel
Happy New Year!

In fact it has been 5 years more... ;-)

Regards, Matthias


Am 01.01.2017 um 10:01 schrieb Marcus:
> Am 12/31/2016 04:59 PM, schrieb Matthias Seidel:
>> I just updated https://openoffice.apache.org/ with the new ASF logo in
>> the footer.
>>
>> Regarding the Copyright (2011-2012), should this be updated (tomorrow)
>> to 2011-2017?!
>
> yes, since today it's indeed one year more.
>
> Marcus
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>




smime.p7s
Description: S/MIME Cryptographic Signature


missing rule for

2017-01-01 Thread Peter Kovacs

Hi all,


have a missing rule found.

make: *** No rule to make target 
'/home/legine/workspace/aoo/main/solver/420/unxlngx6.pro/workdir/CxxObject/basebmp/source/bitmapdevice.o', 
needed by 
'/home/legine/workspace/aoo/main/solver/420/unxlngx6.pro/workdir/LinkTarget/Library/libbasebmp.so'. 
Stop.

dmake:  Error code 2, while making 'all'

If you are aware on this special case, please ignore. :-D


All the Best

Peter


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: Anybody else having trouble updating from SVN?

2017-01-01 Thread Peter Kovacs

updated today with no issues.


On 31.12.2016 20:58, Phillip Rhodes wrote:

This just keeps getting better... I can't even do an svn up now.


Abranches/ia2/main/bridges/source/cpp_uno/gcc3_linux_s390x
Abranches/ia2/main/bridges/source/cpp_uno/gcc3_linux_s390x/makefile.mk
Abranches/ia2/main/bridges/source/cpp_uno/gcc3_linux_s390x/share.hxx
Abranches/ia2/main/bridges/source/cpp_uno/gcc3_linux_s390x/except.cxx
Abranches/ia2/main/bridges/source/cpp_uno/gcc3_freebsd_intel
Abranches/ia2/main/bridges/source/cpp_uno/gcc3_freebsd_intel/share.hxx
Abranches/ia2/main/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx
Abranches/ia2/main/default_images/introabout/intro.png
svn: E120105: Error running context: The server sent an improper HTTP response


Anybody else seeing anything like this, or have any ideas what might
be going on?


Phil

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org




-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: Docs missing

2017-01-01 Thread Rory O'Farrell
On Sun, 1 Jan 2017 11:15:24 +0800
thefacks  wrote:

> Hi
> 
> I went to print some documents eoday and found that not only had this  
> document gone but so to had all my other documents.
> 
> It will take many hours of work to reproduce these. Can you suggest a  
> better way?.
> 
> When you upgrade you wonderful software can't you transfer the  
> previous documents to the "new" version?
> 
> Regards
> 
> Ian Fackrell
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
> 
> 

The Recent Documents list is just a series of shortcuts to the location of the 
files, which documents should still be on your computer in the location in 
which they were originally saved.  You can start OpenOffice, use /File /Open to 
navigate to the correct location(s), and select each document in turn to open 
it.  They will thereafter appear on the /File /Recent Documents list.  

When OpenOffice upgrades from one point release to another it preserves the 
Recent Documents list, when it upgrades from a full numbered version (say OO v3 
to OO v4) it offers the option to use the existing configuration, but this is 
often not a good thing to do with such a major upgrade. 

-- 
Rory O'Farrell 

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org