Re: [Openvpn-devel] MSVC "parser stack overflow"

2015-12-10 Thread Gert Doering
Hi, On Thu, Dec 10, 2015 at 10:58:33AM +0100, Gisle Vanem wrote: > Gert Doering wrote: > > > For the time being we just use a compiler that is not mainly a pain in the > > back, solidly stuck in the last century before C99 - as in, none of the > > core developers compile on windows, we all do

Re: [Openvpn-devel] MSVC "parser stack overflow"

2015-12-10 Thread Gisle Vanem
Gert Doering wrote: > For the time being we just use a compiler that is not mainly a pain in the > back, solidly stuck in the last century before C99 - as in, none of the > core developers compile on windows, we all do cross-compilation with > mingw64 on Linux. Well, MSVC 2015 is pretty

Re: [Openvpn-devel] MSVC "parser stack overflow"

2015-12-10 Thread Arne Schwabe
Am 10.12.15 um 09:36 schrieb Gert Doering: > Hi, > > On Wed, Dec 09, 2015 at 11:05:06PM +0100, Gisle Vanem wrote: >> While compiling src/openvpn/options.c with MSVC 2015, I got this >> error: >> src/openvpn/options.c(5944): fatal error C1026: parser stack overflow, >> program too complex >>

Re: [Openvpn-devel] MSVC "parser stack overflow"

2015-12-10 Thread Gert Doering
Hi, On Wed, Dec 09, 2015 at 11:05:06PM +0100, Gisle Vanem wrote: > While compiling src/openvpn/options.c with MSVC 2015, I got this > error: > src/openvpn/options.c(5944): fatal error C1026: parser stack overflow, > program too complex > > I've also seen such error in GeoIP-lib due to all the

[Openvpn-devel] MSVC "parser stack overflow"

2015-12-09 Thread Gisle Vanem
While compiling src/openvpn/options.c with MSVC 2015, I got this error: src/openvpn/options.c(5944): fatal error C1026: parser stack overflow, program too complex I've also seen such error in GeoIP-lib due to all the 'if..else if' statements. Can this be written using some kind of a