Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 203C1200BFE for ; Mon, 2 Jan 2017 02:06:44 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 1771C160B41; Mon, 2 Jan 2017 01:06:44 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5F5F8160B38 for ; Mon, 2 Jan 2017 02:06:43 +0100 (CET) Received: (qmail 65461 invoked by uid 500); 2 Jan 2017 01:06:37 -0000 Mailing-List: contact dev-help@openoffice.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openoffice.apache.org Delivered-To: mailing list dev@openoffice.apache.org Received: (qmail 65445 invoked by uid 99); 2 Jan 2017 01:06:37 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jan 2017 01:06:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 89139C036F for ; Mon, 2 Jan 2017 01:06:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.379 X-Spam-Level: X-Spam-Status: No, score=0.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id TgORYnpmXdma for ; Mon, 2 Jan 2017 01:06:35 +0000 (UTC) Received: from mail-wj0-f174.google.com (mail-wj0-f174.google.com [209.85.210.174]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id CB7275F295 for ; Mon, 2 Jan 2017 01:06:34 +0000 (UTC) Received: by mail-wj0-f174.google.com with SMTP id v7so416150107wjy.2 for ; Sun, 01 Jan 2017 17:06:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=dRw4BnKdah8pbMx4vLBiLeasV1Z8MN6p+wKBNhVlvmM=; b=ZMJqi13QBYpKLH/uMWHvTMp/wzmO7Rc4aBGhcghM/AFlK08/1TS7g9Y5LPrUU5wLQQ 0PmX8jZov7AmN2jTWHaFZYQoNvU3PJD2+ThOlSiWm5/o1jgM9obtBulFQ7FAcw1xkoDT GyL7LA1oVDPS+QT12W6RvSEQGBlpR+PMPfJrgmYv1kYZW+g8b9fcvbhnkwC96X6jgLN0 PEz5FR28O7Z5Eu93htuILeejNLDBEaS8aWf2W/YfmqqgtzA/Hkk0gszDQyf8bvOrjDD4 JhEtvAMDuoU7PQOAeB5o2CPRZiTDK2mk3ThahrRurlmm/EPQRnQhyw4xIRXXndvnvmdY 9dFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=dRw4BnKdah8pbMx4vLBiLeasV1Z8MN6p+wKBNhVlvmM=; b=m4XErf1cMfG7+9DfBMimScYymHbbc2/WMz7noDRWtKv6wNPOqtXuAeZ6RW6Y4nLjkl i7sWklA8n02l3LdSozFgzg8umR6IS2A2cvWhkWf8BtQOzPpqpRklbpDVxExvgSvPYLq0 kHrgpcrGCB9rZtgidFZxtekhsc3s/Y0BfIyi/WuFSKMKKkNFzgTkg0bra1dX5ePZ2xPD PNExRwv3IJgL2NallHw2NNWAR1Z67Khs897llP1GmOJtZM2LNe1CUFFGElO1BKc5riJm vAe/Ft0KftqA437Q0If8z7V5zCNDbwEkoXkP/mguseZGP5nAYTppfedHHIR4+IO3hLc/ UM5g== X-Gm-Message-State: AIkVDXK4sCkAbk6NY8+kztW5SwEJQoZ+KDRmXeXk2Cfgzyp7lJe1fvNpCVarQAR+nfZMng== X-Received: by 10.194.108.10 with SMTP id hg10mr58376708wjb.58.1483319193377; Sun, 01 Jan 2017 17:06:33 -0800 (PST) Received: from [192.168.192.35] (ip-95-222-160-38.hsi15.unitymediagroup.de. [95.222.160.38]) by smtp.googlemail.com with ESMTPSA id kq7sm85131705wjb.30.2017.01.01.17.06.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Jan 2017 17:06:32 -0800 (PST) To: dev From: Peter Kovacs Subject: Error on enum statement. Can sombody take a little time and explain the enum and the error? Message-ID: <32a8c6d1-6fa6-3b80-2c5b-fdd22e0b7b65@gmail.com> Date: Mon, 2 Jan 2017 02:06:32 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit archived-at: Mon, 02 Jan 2017 01:06:44 -0000 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-unsubscribe@openoffice.apache.org For additional commands, e-mail: dev-help@openoffice.apache.org