Re: [Openvpn-devel] [PATCH] Fix delcarion of pubkeys in test_provider.c in MSVC builds

2022-08-25 Thread Selva Nair
On Thu, Aug 25, 2022 at 4:37 PM Gert Doering wrote: > Hi, > > On Wed, Aug 24, 2022 at 06:57:18PM +0200, Arne Schwabe wrote: > > Error: test_provider.c(74): error C2099: initializer is not a constant > > > > Fix this issue by making the const char* to const char[]. This is > probably > > of one

Re: [Openvpn-devel] [PATCH] Fix delcarion of pubkeys in test_provider.c in MSVC builds

2022-08-25 Thread Gert Doering
Hi, On Thu, Aug 25, 2022 at 10:36:21PM +0200, Gert Doering wrote: > On Wed, Aug 24, 2022 at 06:57:18PM +0200, Arne Schwabe wrote: > > Error: test_provider.c(74): error C2099: initializer is not a constant > > > > Fix this issue by making the const char* to const char[]. This is probably > > of

Re: [Openvpn-devel] [PATCH] Fix delcarion of pubkeys in test_provider.c in MSVC builds

2022-08-25 Thread Gert Doering
Hi, On Wed, Aug 24, 2022 at 06:57:18PM +0200, Arne Schwabe wrote: > Error: test_provider.c(74): error C2099: initializer is not a constant > > Fix this issue by making the const char* to const char[]. This is probably > of one the weird array decay corner cases Out of curiosity - does the

Re: [Openvpn-devel] [PATCH] Fix delcarion of pubkeys in test_provider.c in MSVC builds

2022-08-25 Thread Frank Lichtenheld
Typo "delcarion" in summary line On Wed, Aug 24, 2022 at 06:57:18PM +0200, Arne Schwabe wrote: > Error: test_provider.c(74): error C2099: initializer is not a constant > > Fix this issue by making the const char* to const char[]. This is probably > of one the weird array decay corner cases >

[Openvpn-devel] [PATCH] Fix delcarion of pubkeys in test_provider.c in MSVC builds

2022-08-24 Thread Arne Schwabe
Error: test_provider.c(74): error C2099: initializer is not a constant Fix this issue by making the const char* to const char[]. This is probably of one the weird array decay corner cases I could not find another/better way around this issue. Godbolt link to try: