Re: compiling issue

2023-01-21 Thread Thomas Wolff via Cygwin
Am 21.01.2023 um 06:19 schrieb Nathan via Cygwin: 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: Leaving out result types isn't legal C nowadays. You cou

Re: compiling issue

2023-01-21 Thread Jon Turney via 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.

Re: compiling issue

2023-01-20 Thread Arrigo Marchiori via Cygwin
Hello, 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: > > gcc -O -c init.c > > i

compiling issue

2023-01-20 Thread Nathan via Cygwin
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: gcc -O -c init.c init.c:167:1: warning: return type defaults to 'int' [-Wimplicit-int] 167 | initia

GCC compiling issue with python.h (multiple definitions of __BSD_VISIBLE)

2016-09-30 Thread Yan Zhu
Hi, Cygwin team With latest cygwin (python 3.4 and gcc 5.4.0), I got compiling issue with duplicated definition of macro __BSD_VISIBLE. Following is a simple example to expose the issue: #include #include #include #include //#include #include int main(int argc, char ** argv