X-Account-Key: account1
X-UIDL: 012f027a4b12654c977702bf624d5e67
X-Mozilla-Status: 0011
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:                                                                                 
Received: from lists.maptools.org (localhost [127.0.0.1])
	by mail.howardsilvan.com (Postfix) with ESMTPS id 89D04C42105
	for <faxguy@howardsilvan.com>; Thu, 18 Jun 2015 15:37:46 -0700 (PDT)
Received: from lists.maptools.org ([94.23.4.142] helo=lists.maptools.org)
	by fangorn.howardsilvan.com with SMTP (2.3.3); 18 Jun 2015 15:37:45 -0800
Received: from [10.1.0.241] (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id CD63935C078;
	Thu, 18 Jun 2015 17:37:18 -0500 (EST)
Received: from auth.a.painless.aa.net.uk (auth.a.painless.aa.net.uk	[90.155.4.51])
	by lists.maptools.org (Postfix) with ESMTPS id 9415435C076
	for <tiff@lists.maptools.org>; Thu, 18 Jun 2015 17:32:24 -0500 (EST)
Received: from	2.3.1.c.0.f.4.5.2.c.8.6.7.4.1.6.d.b.d.d.0.6.8.0.0.b.8.0.1.0.0.2.ip6.arpa	([2001:8b0:860:ddbd:6147:68c2:54f0:c132])
	by a.painless.aa.net.uk
	with esmtpsa (TLSv1:AES128-SHA:128)	(Exim 4.77) (envelope-from <rleigh@codelibre.net>)
	id 1Z5iMP-00029B-5J; Thu, 18 Jun 2015 23:32:40 +0100
Message-ID: <55834701.3030701@codelibre.net>
Date: Thu, 18 Jun 2015 22:32:33 +0000
From: Roger Leigh <rleigh@codelibre.net>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64;	rv:31.0) Gecko/20100101
 Thunderbird/31.7.0
MIME-Version: 1.0
To: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
References: <55833E9A.4010804@codelibre.net>
	<alpine.GSO.2.01.1506181713160.10091@freddy.simplesystems.org>
In-Reply-To: <alpine.GSO.2.01.1506181713160.10091@freddy.simplesystems.org>
Cc: tiff@lists.maptools.org
Subject: Re: [Tiff] 4.0.4beta: Symbol differences on Unix and Windows
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-Assp-ID: fangorn.howardsilvan.com m1-67066-06174
X-Assp-Session: 7F06F7614B90 (mail 1)
X-Assp-Detected-RIP: 2001:8b0:860:ddbd:6147:68c2:54f0:c132, 90.155.4.51
X-Assp-Source-IP: 2001:8b0:860:ddbd:6147:68c2:54f0:c132
X-Assp-Envelope-From: tiff-bounces@lists.maptools.org
X-Assp-Intended-For: faxguy@howardsilvan.com
X-Assp-Version: 2.3.3(14029) on fangorn.howardsilvan.com
X-Assp-Server-TLS: yes
X-Assp-Delay: not delayed (whitelisted); 18 Jun 2015 15:37:46 -0800
X-Assp-Message-Score: -40 (KnownGoodHelo)
X-Assp-IP-Score: -40 (KnownGoodHelo)
X-Assp-Whitelisted: Yes (whitelistdb)
Return-Path: tiff-bounces@lists.maptools.org
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

On 18/06/2015 22:15, Bob Friesenhahn wrote:
> On Thu, 18 Jun 2015, Roger Leigh wrote:
>
>> Looking over the exported symbols between Unix (FreeBSD/ELF with nm
>> -D) and Windows (the libtiff.def list), there are a lot of missing
>> symbols on Windows.  I've attached a list showing which are missing.
>> Would it be possible to update the symbol list for 4.0.4?  Some
>> symbols are likely not supposed to be exported on Unix (expecially
>> those without a TIFF or _TIFF prefix) and should probably be ignored.
>
> Linux/FreeBSD/ELF exports all non-static symbols by default and this is
> usually unwanted.  In this case, Windows is ahead of default ELF
> linkage.  I do see at least one new symbol which should have been
> exposed for Windows.

Which one?  Aren't there a few:

TIFFGetConfiguredCODECs   (needed to find available codecs)
TIFFReadRGBAImageOriented (all other read variants exported)
TIFFSetCompressionScheme  (all other setters exported)

TIFFSwabArrayOfTriples    (all other swab variants exported)
TIFFVGetFieldDefaulted    (all other field variants exported)

_TIFFCheckRealloc         (all other allocation variants exported)

TIFFRasterScanline*       (all strip/tile variants exported)

TIFFSetErrorHandlerExt & TIFFSetWarningHandlerExt (?)

TIFFNumberOfDirectories (?)

These four are *definitely* required:
        TIFFCreateCustomDirectory
        TIFFCreateEXIFDirectory
        TIFFWriteCustomDirectory
        _TIFFRewriteField
Without these being exported, it's not possible to link and run the unit 
tests and tools.  Should all the other custom directory functions be 
exported i.e TIFFCheckpointDirectory,TIFFReadCustomDirectory etc.?


Regards,
Roger
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/


