Re: Compile errors with MSVC

2021-03-28 Thread Paul Smith
On Thu, 2021-03-18 at 13:51 +0100, Gisle Vanem wrote: > I just checked out a copy and saw this when > building with MSVC and clang-cl. I pushed some changes just now that allowed the Windows port to compile and run tests using Visual Studio. I didn't check with clang-cl. There are still 7 tests

Re: Compile errors with MSVC

2021-03-19 Thread Gisle Vanem
I wrote:   dir.c(528,24): error: use of undeclared identifier 'p'   memcpy (tem, name, p - name + 1); ^   dir.c(532,24): error: use of undeclared identifier 'p'   for (tend = tem + (p - name - 1); ^ I fixed this by: --- a/src/dir

Compile errors with MSVC

2021-03-18 Thread Gisle Vanem
Hello list. The Windows port of Gnu-make has some issues: dep.h(60): error C2059: syntax error: ';' dep.h(61): error C2059: syntax error: '}' dep.h(69): error C2059: syntax error: ';' dep.h(70): error C2365: 'error': redefinition; previous definition was 'function' MSVC does not handle