Return-Path: <tiff-bounces@remotesensing.org>
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx019.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j52Hnc2Q013145
        for <joris.at.lebbeke@skynet.be>; Thu, 2 Jun 2005 19:49:39 +0200
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from adsl-065-083-169-202.sip.mco.bellsouth.net (localhost [127.0.0.1])
	by xserve.flids.com (Postfix) with ESMTP
	id 2BBD025D1FFA; Thu,  2 Jun 2005 13:49:19 -0400 (EDT)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196])
	by xserve.flids.com (Postfix) with ESMTP id EC62A25D1FD6
	for <tiff@remotesensing.org>; Thu,  2 Jun 2005 13:49:16 -0400 (EDT)
Received: by wproxy.gmail.com with SMTP id 68so465989wri
	for <tiff@remotesensing.org>; Thu, 02 Jun 2005 10:49:16 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
	b=YD0PPpBcflTmbl1FrMY3MNZ21Dpj+JVc2u6lGZlrQ8Trq4VzdIrlIkoD2vXeYuQdwUlG0U3WnwEXUD6abmdClcF12I4xHCXoYHzuQWKCOAuN98Lav4ezxFGXvDFQJ13tHE74Wghen5C2XTZQY43CrM5KWATq17pDFkbYbI5VqsQ=
Received: by 10.54.50.12 with SMTP id x12mr596606wrx;
	Thu, 02 Jun 2005 10:48:33 -0700 (PDT)
Received: by 10.54.100.7 with HTTP; Thu, 2 Jun 2005 10:48:33 -0700 (PDT)
Message-ID: <92d3a495050602104860b2e929@mail.gmail.com>
Date: Thu, 2 Jun 2005 19:48:33 +0200
From: Antoine <melser.anton@gmail.com>
To: tiff@remotesensing.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
Subject: [Tiff] trying to compile with different compiler options
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: Antoine <melser.anton@gmail.com>
List-Id: TIFF and libtiff discussion  <tiff.remotesensing.org>
List-Unsubscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://xserve.flids.com/pipermail/tiff>
List-Post: <mailto:tiff@remotesensing.org>
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Subscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
Sender: tiff-bounces@remotesensing.org
Errors-To: tiff-bounces@remotesensing.org
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by inmx019.isp.belgacom.be id j52Hnc2Q013145
X-UIDL: 000000000023ceae.0000031b
X-MSP-STORE: Thu, 02 Jun 2005 19:49:44 +0200
Status:   

Hi,
I see that it is possible to compile in __stdcall on the cl, so it
turns out that things aren't so bad for trying to call from vb6 - or
are they:

        cl /nologo /Ox /MD /Gz /W3 -I.   -DCHECK_JPEG_YCBCR_SUBSAMPLING -DDEFAUL
T_EXTRASAMPLE_AS_ALPHA -DSTRIPCHOP_DEFAULT=TIFF_STRIPCHOP -DLOGLUV_SUPPORT -DNEX
T_SUPPORT -DTHUNDER_SUPPORT -DLZW_SUPPORT -DPACKBITS_SUPPORT -DCCITT_SUPPORT -DT
IF_PLATFORM_CONSOLE -DFILLODER_LSB2MSB  /c tif_dirinfo.c
tif_dirinfo.c
tif_dirinfo.c(326) : error C2152: 'function' : pointers to functions with differ
ent attributes
tif_dirinfo.c(326) : warning C4024: 'qsort' : different types for formal and act
ual parameter 4
tif_dirinfo.c(422) : error C2152: 'function' : pointers to functions with differ
ent attributes
tif_dirinfo.c(422) : warning C4024: 'bsearch' : different types for formal and a
ctual parameter 5
tif_dirinfo.c(450) : error C2152: 'function' : pointers to functions with differ
ent attributes
tif_dirinfo.c(450) : warning C4024: 'bsearch' : different types for formal and a
ctual parameter 5
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\VC98\bin\N
MAKE.EXE"' : return code '0x2'
Stop.

It compiles fine if I leave the parameter in nmake.opt at GX, but
fails here if I change to Gz. Is this just going to be an impossible
task? Can someone with some winders C knowledge comment on this?
Cheers
Antoine

-- 
G System, The Evolving GUniverse - http://www.g-system.at
_______________________________________________
Tiff mailing list: Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/

