delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/04/06/11:00:12

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 939CF3857415
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
bh=6N3JuOcsbL+yo5ECBdEjb4KZPgjQwSzNFo7HhGEx0Rg=;
b=JRPNTEprl2tMRiLTWdlN+JkR2I8XMxLtDEEnN0w9LCUd+dCLnGqEhmgRdbbKdVHMex
SdtYsqSaBAx+PLlgENe2tTjwo8XRZMmBTj97DyoU8qeq/x5x3Yl20dAh2KczeeTywVzL
nkWTnNQprqS2bmLnTeWoVk/YClQjY2MgQg6P4+sbINTPPNhxWE+2FSYPADQd5uJwMG8S
eTryGzftkNa7NjX2EILG4cqxAvRMRmAUAzOV4/wzuq2qz9Fr451iHwyS+9u1y/VW/3Vr
wcJPsf88OD8Q/0YwSXGW1b4ylrcXpeI4GNiOViP+a6MOybbMZkqHyRiwokEKx4Tq3M6z
IOjA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to;
bh=6N3JuOcsbL+yo5ECBdEjb4KZPgjQwSzNFo7HhGEx0Rg=;
b=HIEt5qsauZmBut6PD1A8TJYyEsIMnivuyzhO/FDb/IskzQnXQD1wRnZlPYt8RkxNMg
tjKfARm54ilsyTp1d5Wyo6iryddTIotSLHoVEXW7DqwAszXEzXdFGaq5SgD1IEvDUWT9
bq3SJanNLtUrkb/yAZLJIbsGMnZaTTS75+YK6Xbm/baJoCdJOefW2rwn2SOFXZSIOkba
4GQYhTOeaJNcnZtcrJnpQF/PIeAbZ5Ski09GV0d+HBmNFhqEODvME6JAnSFIwN6IhljD
t+a3i+QSPR5+nrPFKOAEu5tmheTyItO8zv/a9e9StMMPagkHKN+DCnH/FCna6gdT4INk
iQ9w==
X-Gm-Message-State: AOAM532em3Fax1/qmQrjZGuNI6vjnVCFc/8uTNBg+bC9zsclPFvTnAwt
+HsT1RPtsCFUHe45Gs4PWL/PlRZMSN3UJ4QUTqflb9GpxEs=
X-Google-Smtp-Source: ABdhPJy8hR4s8mBjrpn0itK1IV8xNg9putg20+FqH8ttNUG32yUixkwPlbHeTvQ/9tRUs7PtONp/jTbPcPGPGA0CkSo=
X-Received: by 2002:a05:622a:11c7:b0:2e1:b594:cb1d with SMTP id
n7-20020a05622a11c700b002e1b594cb1dmr7742521qtk.59.1649257173846; Wed, 06 Apr
2022 07:59:33 -0700 (PDT)
MIME-Version: 1.0
References: <CAFWoy7ESdsGMzn7cxcnG1TCy1tJq1CQ7v6hfcmt80-1RdkUMLQ AT mail DOT gmail DOT com>
<CAEhDDbAZ04bPnsxbfehtU-2cxopp1kTpZ8J6Wfi2sfuHyjK7AQ AT mail DOT gmail DOT com>
In-Reply-To: <CAEhDDbAZ04bPnsxbfehtU-2cxopp1kTpZ8J6Wfi2sfuHyjK7AQ@mail.gmail.com>
From: Keith Christian <keith1christian AT gmail DOT com>
Date: Wed, 6 Apr 2022 08:59:23 -0600
Message-ID: <CAFWoy7GOz-O2BD=2=6=qMCPyi_L-Vi+SzgtfmTyAgCiyyiYFAg@mail.gmail.com>
Subject: Re: Compiling gnu diction on Cygwin
To: cygwin AT cygwin DOT com
X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Brian, Csaba, I was able to complete the compile with your assistance.

Brian: I'll experiment with your suggestions of:  #include <stdlib.h>
and remove casts (should not normally be required or used in C) as
well.
Csaba:  Adding the -Wall -Wpedantic -Wextra fixed the issue, thanks.

This will help a great deal as I pursue troubleshooting failed C compiles.

THANKS!

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019