X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:content-type:content-transfer-encoding
	:mime-version:date:subject:message-id:to; q=dns; s=default; b=dj
	h4pEm3vT6hOlhbsDx+4bvoXx2KaPx6DCCtmoD8fUBgM31xP8fe/2JhZ6HYatQM1h
	SvYm09D7JTVTMu7Ai/G8XPsmakqCggHu8kpNRGW9lbgW3bbKAiU1ZiXsk86s9UyC
	ROyI1pTPmgwbZwlMYks90nVhon2LAYLVvtQON7m2U=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:content-type:content-transfer-encoding
	:mime-version:date:subject:message-id:to; s=default; bh=21TCC9C+
	cPGJNGFY4lCReOVl2hY=; b=glb6EAWyO+axoB2+wuZbcRm/r4FPHZxsxQo61+7H
	1B0sVoYvyWH2R9AQaERevzXkYts7gWEPHMCwVfTQ+sHTTx3dtSglhMRHuJ13Rk9w
	BoTW4P5lR5NPIpAquOiskBGAJRCIeC/5jZM5J+9OK0AFrDw4zJ9z+s3gcllnVpJ6
	sYQ=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*F:U*cygwin, excoffier, Excoffier
X-HELO: smtp5-g21.free.fr
From: Denis Excoffier <cygwin@Denis-Excoffier.org>
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Date: Wed, 13 Sep 2017 23:44:03 +0200
Subject: fail to compile last perl source under cygwin 2.9.0
Message-Id: <6782632E-5520-4744-81F1-C0F1B028B724@Denis-Excoffier.org>
To: The Cygwin Mailing List <cygwin@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id v8DLiIs6003564

Hello,

I tried to build perl-5.26.0 with GCC 7.2.0 (build from source with cygwin's GCC 5.4.0) and failed with the following error:

pp.c: In function 'Perl_pp_crypt':
pp.c:3743:43: error: invalid application of 'sizeof' to incomplete type 'struct crypt_data'
    (struct crypt_data *)safemalloc(sizeof(struct crypt_data));
                                           ^~~~~~

Currently i cannot figure out whether this is crypt's or perl's fault. Any help appreciated.

When i was under cygwin 2.8.2, everything was ok.
If, under 2.9.0, i force "#undef HAS_CRYPT_R" in config.h, everything is ok.
I cannot say if it works with GCC 5.4.0, but i'm pretty sure that it doesn't.

Regards,

Denis Excoffier.
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


