On 25.03.2019 07:17, Gregg Smith wrote: > Hi Yann, > > No, r1856096 doesn't help, but thanks. > > I think VS just doesn't like these arrays of unknown size. > > usrc = (unsigned char[]){ }; > utarget = (unsigned char[]){ };
This is not ANSI C. Visual Studio doesn't support C99 and later extensions. -- Brane > It's fine with the ones that are initialized with values like > > usrc = (unsigned char[]){'f'}; > utarget = (unsigned char[]){'f', 'o', 'o'}; > > > > On 3/22/2019 4:42 PM, Yann Ylavic wrote: >> On Fri, Mar 22, 2019 at 6:37 PM Gregg Smith <g...@gknw.net> wrote: >>> >>> testencode doesn't want to compile on Visual Studio. >>> A showstopper maybe not but it is nice to run the tests to compare with >>> previous versions. >>> >>> abts.c >>> testencode.c >>> testencode.c(91): error C2059: syntax error: '}' >>> testencode.c(206): error C2059: syntax error: '}' >>> testencode.c(416): error C2059: syntax error: '}' >>> testencode.c(747): error C2059: syntax error: '}' >>> testskiplist.c >> >> Thanks Gregg, does r1856096 work? >>