[Openvpn-devel] [PATCH (master)] Drop gnu89/c89 support, switch to c99

2016-08-28 Thread Steffan Karger
Previously, we would use the compiler's default C version, which defaults to gnu89 for GCC < 5, gnu11 for GCC > 5, and c11 for clang, but might even differ per distro. One of the reasons to accept the gnu89 default of GCC < 4.9, was that MSVC didn't support c99. But in MSVC 2015, MS finanally fix

[Openvpn-devel] [PATCH (2.3)] Make gnu89 support explicit

2016-08-28 Thread Steffan Karger
In the release/2.3 branch we support gnu89, basically to keep pre-2015 MSVC happy. Old gcc (<5) defaulted to gnu89. But gcc 5+ and clang default to gnu11/c11. This patch makes our gnu89 support explicit, such these newer compilers will also point out gnu89 violations to developers. Signed-off-b

Re: [Openvpn-devel] [PATCH (master)] Drop gnu89/c89 support, switch to c99

2016-08-28 Thread Steffan Karger
On 28 August 2016 at 21:42, Steffan Karger wrote: > Previously, we would use the compiler's default C version, which defaults > to gnu89 for GCC < 5, gnu11 for GCC > 5, and c11 for clang, but might even > differ per distro. > > One of the reasons to accept the gnu89 default of GCC < 4.9, was that

[Openvpn-devel] [PATCH (master)] Updated build parameters to match openvpn-install-2.3.12-I601

2016-08-28 Thread Bojan Komazec
OpenVPN/openvpn-build has to be updated so it fetches and builds OpenVpn v2.3.12. >From 87a0ca6307ea9c772fc5fa584efc2f2f0f3805a8 Mon Sep 17 00:00:00 2001 From: Bojan Komazec Date: Sun, 28 Aug 2016 20:49:02 +0100 Subject: [PATCH] Updated build parameters to match openvpn-install-2.3.12-I601 Signe

[Openvpn-devel] [PATCH v2] Drop gnu89/c89 support, switch to c99

2016-08-28 Thread Steffan Karger
Previously, we would use the compiler's default C version, which defaults to gnu89 for GCC < 5, gnu11 for GCC > 5, and c11 for clang, but might even differ per distro. One of the reasons to accept the gnu89 default of GCC < 4.9, was that MSVC didn't support c99. But in MSVC 2015, MS finanally fix