From: "Fish Wang" References: <015601d0b436$d555ad60$80010820$@gmail.com> In-Reply-To: Date: Wed, 1 Jul 2015 14:29:57 -0700 Message-ID: <016801d0b445$169c4eb0$43d4ec10$@gmail.com> MIME-Version: 1.0 Content-Language: zh-cn Subject: Re: [Openvpn-devel] Compiling issue on Visual Studio 2010 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable To: 'Steffan Karger' Cc: 'openvpn-devel' Hi, Thank you for the suggestion. I'm sticking with VS since I already have an = entire automation environment set up for compiling OpenVPN with Visual Stud= io. Also I believe Visual Studio provides better security guarantees (like = stack canaries, buffer checks etc.). Best, Fish -----Original Message----- From: Steffan Karger [mailto:steffan@...1856...]=20 Sent: Wednesday, July 1, 2015 2:16 PM To: Fish Wang Cc: openvpn-devel Subject: Re: [Openvpn-devel] Compiling issue on Visual Studio 2010 Hi, On Wed, Jul 1, 2015 at 9:47 PM, Fish Wang wrote: > Visual Studio 2010 refuses to compile the latest code on branch release/2= .3 > because __func__ is not supported. Microsoft supports __FUNCTION__ instead > of __func__ in their compiler. VS 2013 complains the same. Thanks for reporting. That's probably my fault, sorry. I think we still support VS, so we'll fix it, but you might want to consider using mingw. That's what the current openvpn developers use for Windows builds (either native, or cross-compile from linux/BSD). -Steffan