Re: [PATCH] Cygwin: Make safe for c89 compilations

2023-07-03 Thread Mark Geisert
Hi Corinna, Corinna Vinschen wrote: On Jul 3 02:27, Mark Geisert wrote: Brian Inglis wrote: On 2023-07-03 00:17, Mark Geisert wrote: Three modifications to include/sys/cpuset.h: * Change C++-style comments to C-style also supported by C++ * Change "inline" to "__inline" on code lines *

Re: [PATCH] Cygwin: Make safe for c89 compilations

2023-07-03 Thread Corinna Vinschen
Hi Mark, On Jul 3 02:27, Mark Geisert wrote: > Hi Brian, > > Brian Inglis wrote: > > On 2023-07-03 00:17, Mark Geisert wrote: > > > Three modifications to include/sys/cpuset.h: > > > * Change C++-style comments to C-style also supported by C++ > > > * Change "inline" to "__inline" on code lines

Re: [PATCH] Cygwin: Make safe for c89 compilations

2023-07-03 Thread Mark Geisert
Hi Brian, Brian Inglis wrote: On 2023-07-03 00:17, Mark Geisert wrote: Three modifications to include/sys/cpuset.h: * Change C++-style comments to C-style also supported by C++ * Change "inline" to "__inline" on code lines * Don't declare loop variables on for-loop init clauses Tested by

Re: [PATCH] Cygwin: Make safe for c89 compilations

2023-07-03 Thread Brian Inglis
On 2023-07-03 00:17, Mark Geisert wrote: Three modifications to include/sys/cpuset.h: * Change C++-style comments to C-style also supported by C++ * Change "inline" to "__inline" on code lines * Don't declare loop variables on for-loop init clauses Tested by first reproducing the reported issue

[PATCH] Cygwin: Make safe for c89 compilations

2023-07-03 Thread Mark Geisert
Three modifications to include/sys/cpuset.h: * Change C++-style comments to C-style also supported by C++ * Change "inline" to "__inline" on code lines * Don't declare loop variables on for-loop init clauses Tested by first reproducing the reported issue with home-grown test programs by compiling