Am 02.01.17 um 11:23 schrieb Gisle Vanem:
> Fish Wang wrote:
> 
>> I'm finishing up a patch to make sure OpenVPN compiles under Visual Studio.
>> I have several questions;
> 
> I'm also compiling using TDM-MinGW and MSVC-2015. But since approx 2 years,
> the CL compiler breaks at compiling options.c:
>   src/openvpn/options.c(7937): fatal error C1026: parser stack overflow, 
> program too complex
> 
> Did you manage to work around that?
> 
> I'm using  the latest CL v.19.00.24215.1. I also reported this 2 years ago in:
>   https://sourceforge.net/p/openvpn/mailman/message/34683175/
> 

I managed to work around that. By adding a done=true;variable and then
splitting the if cascade by

else {
  done=false;
}

if (!done)

in approximately the middle. But without that hack I am not sure if you
can get it to compile.

Arne

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to