Re: [PATCH] fix C4204 errors while building swig-py with Python 3.9 on Windows

2020-11-17 Thread Jun Omae
On Tue, Nov 17, 2020 at 7:42 PM Branko Čibej wrote: > On 17.11.2020 04:09, Jun Omae wrote: > > On Tue, Nov 17, 2020 at 2:33 AM Daniel Shahaf > > wrote: > >> Branko Čibej wrote on Mon, 16 Nov 2020 09:19 +0100: > >>> On 16.11.2020 04:16, Jun Omae wrote: > The attached patch adds #pragma warni

Re: [PATCH] fix C4204 errors while building swig-py with Python 3.9 on Windows

2020-11-17 Thread Branko Čibej
On 17.11.2020 04:09, Jun Omae wrote: On Tue, Nov 17, 2020 at 2:33 AM Daniel Shahaf wrote: Branko Čibej wrote on Mon, 16 Nov 2020 09:19 +0100: On 16.11.2020 04:16, Jun Omae wrote: The attached patch adds #pragma warning to make C4204 a warning instead of an error only on building swig-py with

Re: [PATCH] fix C4204 errors while building swig-py with Python 3.9 on Windows

2020-11-16 Thread Jun Omae
On Tue, Nov 17, 2020 at 2:33 AM Daniel Shahaf wrote: > > Branko Čibej wrote on Mon, 16 Nov 2020 09:19 +0100: > > On 16.11.2020 04:16, Jun Omae wrote: > > > The attached patch adds #pragma warning to make C4204 a warning > > > instead of an > > > error only on building swig-py with Visual Studio. >

Re: [PATCH] fix C4204 errors while building swig-py with Python 3.9 on Windows

2020-11-16 Thread Yasuhito FUTATSUKI
On 2020/11/17 2:33, Daniel Shahaf wrote: > Branko Čibej wrote on Mon, 16 Nov 2020 09:19 +0100: >> On 16.11.2020 04:16, Jun Omae wrote: >>> The attached patch adds #pragma warning to make C4204 a warning >>> instead of an >>> error only on building swig-py with Visual Studio. >> >> +1 +1 > Shoul

Re: [PATCH] fix C4204 errors while building swig-py with Python 3.9 on Windows

2020-11-16 Thread Daniel Shahaf
Branko Čibej wrote on Mon, 16 Nov 2020 09:19 +0100: > On 16.11.2020 04:16, Jun Omae wrote: > > The attached patch adds #pragma warning to make C4204 a warning > > instead of an > > error only on building swig-py with Visual Studio. > > +1 Should that be added to build/generator/templates/ inst

Re: [PATCH] fix C4204 errors while building swig-py with Python 3.9 on Windows

2020-11-16 Thread Branko Čibej
On 16.11.2020 04:16, Jun Omae wrote: Hi, I tried to build swig-py with Python 3.9 on Windows, however get the following errors: [[[ C:\usr\apps\python39\include\cpython\abstract.h(205,1): error C4204: nonstandard extension used: non-constant aggregate initializer [C:\usr\src\subversion\trun