Return-Path: X-Original-To: apmail-openoffice-dev-archive@www.apache.org Delivered-To: apmail-openoffice-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C64181859F for ; Sat, 2 Apr 2016 21:49:57 +0000 (UTC) Received: (qmail 90159 invoked by uid 500); 2 Apr 2016 21:49:57 -0000 Delivered-To: apmail-openoffice-dev-archive@openoffice.apache.org Received: (qmail 90087 invoked by uid 500); 2 Apr 2016 21:49:57 -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 90075 invoked by uid 99); 2 Apr 2016 21:49:57 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Apr 2016 21:49:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id CB72E1802E7 for ; Sat, 2 Apr 2016 21:49:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.971 X-Spam-Level: X-Spam-Status: No, score=0.971 tagged_above=-999 required=6.31 tests=[SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id ugXQ3JO3rmWA for ; Sat, 2 Apr 2016 21:49:54 +0000 (UTC) Received: from biz190.inmotionhosting.com (biz190.inmotionhosting.com [216.194.168.105]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 30CA95F257 for ; Sat, 2 Apr 2016 21:49:54 +0000 (UTC) Received: from ip70-181-175-67.sd.sd.cox.net ([70.181.175.67]:62506 helo=[192.168.1.113]) by biz190.inmotionhosting.com with esmtpsa (TLSv1.2:DHE-RSA-AES256-SHA:256) (Exim 4.86_1) (envelope-from ) id 1amTQP-000lx8-NH for dev@openoffice.apache.org; Sat, 02 Apr 2016 14:49:46 -0700 From: Patricia Shanahan Subject: Re: Exporting symbols from AOO shared libraries To: dev@openoffice.apache.org References: Message-ID: <57003E76.8020401@acm.org> Date: Sat, 2 Apr 2016 14:49:42 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - biz190.inmotionhosting.com X-AntiAbuse: Original Domain - openoffice.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - acm.org X-Get-Message-Sender-Via: biz190.inmotionhosting.com: authenticated_id: pats+patriciashanahan.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: biz190.inmotionhosting.com: pats@patriciashanahan.com A difficult one. I don't like making things public just to support testing, because later on, when someone wants to make changes, it is impossible to tell whether they can or not. In a simpler project, I might suggest doing separate builds for testing, but I hesitate to add to the AOO build complexity. How about a unit test stub class, clearly named as such, wrapping the class you want to test and itself exported? On 4/2/2016 9:44 AM, Damjan Jovanovic wrote: > Hi > > I am trying to add a unit test to Calc, and the C++ class I want to > test (ScStringUtil) isn't exported from its library (with > SC_DLLPUBLIC), so my test is failing to link. > > Can I export that class? What determines when we can/should? > > Thank you > Damjan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org > For additional commands, e-mail: dev-help@openoffice.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org For additional commands, e-mail: dev-help@openoffice.apache.org