X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2D4853858434 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1674306502; bh=GNv3YkDT5N1dFbioHoHIPmbha+YZEeN0zWTsFHFCMAw=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=Mxz17Gg0nk4T+lQZmrh07IDfaszscHBC/pftNr6S+EpAuuEkUjC3Vy8oh/lPXKZC6 fV0s5te5Mk1OAQAlwUYVF9YenpXp2zgvQ+b3RqJiIWBPeEfFEm8zd5CgvmqnosF48+ cVcY1Mn3wk7Ft3KIRseMWHnXSSWFqS2xUV7Y1uE0= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BF22D3858D20 X-SNCR-Rigid: 6139452E4CBE84DB X-Originating-IP: [81.153.98.246] X-OWM-Source-IP: 81.153.98.246 (GB) X-OWM-Env-Sender: jonturney AT btinternet DOT com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvhedruddugedgvdegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucggtffrrghtthgvrhhnpeevtdeffedvuedvtdekhfekgedtudeiffegveetudefhedthfegteduhefgteehudenucffohhmrghinhepihhfrghrtghhihhvvgdrohhrghdptgihghifihhnrdgtohhmnecukfhppeekuddrudehfedrleekrddvgeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurddutdeingdpihhnvghtpeekuddrudehfedrleekrddvgeeipdhmrghilhhfrhhomhepjhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukhdpnhgspghrtghpthhtohepvddprhgtphhtthhopegthihgfihinhestgihghifihhnrdgtohhmpdhrtghpthhtohepihhnthgvrhhnvghtkhhinhhggedvheesihgtlhhouhgurdgtohhm X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Message-ID: <514dd9d1-28d1-f8ee-5e84-55fb6cf9d71c@dronecode.org.uk> Date: Sat, 21 Jan 2023 13:07:41 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: compiling issue Content-Language: en-GB To: internetking425 AT icloud DOT com, The Cygwin Mailing List References: <034c01d92d57$fc35f6e0$f4a1e4a0$@icloud.com> In-Reply-To: X-Spam-Status: No, score=-1191.7 required=5.0 tests=BAYES_00, FORGED_SPF_HELO, GB_TO_NAME_FREEMAIL, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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 List-Archive: List-Post: List-Help: List-Subscribe: , From: Jon Turney via Cygwin Reply-To: Jon Turney Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "Cygwin" On 21/01/2023 07:47, Arrigo Marchiori via Cygwin wrote: > On Fri, Jan 20, 2023 at 09:19:49PM -0800, Nathan via Cygwin wrote: > >> The file here for a game I wanted to use is >> http://www.ifarchive.org/if-archive/games/source/Adventure2.5.tar.gz and it >> all compiled but one file getting the error is init.c as follows: >> [...] > >> so any tips or suggestions to fix this would be appreciated. You might also find the package 'nfrotz' of some interest. https://cygwin.com/packages/summary/nfrotz-src.html > I guess that this code was written to work older compilers, that > allowed different (looser) constructs. > > The problem is not Cygwin, but rather the compiler installed with > Cygwin. > > For this reason, what follows is off-topic here. > > The attached patch should allow compilation with today's compilers. > Copy the file in the same directory as the sources and run: > > $ patch < adventure.patch > -- 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