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