public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Jon Turney <jon.turney@dronecode.org.uk>
To: internetking425@icloud.com, The Cygwin Mailing List <cygwin@cygwin.com>
Subject: Re: compiling issue
Date: Sat, 21 Jan 2023 13:07:41 +0000	[thread overview]
Message-ID: <514dd9d1-28d1-f8ee-5e84-55fb6cf9d71c@dronecode.org.uk> (raw)
In-Reply-To: <Y8uYrKpRtDcChB1D@nuvolo>

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
> 


  reply	other threads:[~2023-01-21 13:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-21  5:19 internetking425
2023-01-21  7:47 ` Arrigo Marchiori
2023-01-21 13:07   ` Jon Turney [this message]
2023-01-21 15:35 ` Thomas Wolff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=514dd9d1-28d1-f8ee-5e84-55fb6cf9d71c@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin@cygwin.com \
    --cc=internetking425@icloud.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).