bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compile errors with MSVC


From: Gisle Vanem
Subject: Compile errors with MSVC
Date: Thu, 18 Mar 2021 13:51:02 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

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 an extra ';' inside a struct.
And:
  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 just checked out a copy and saw this when
building with MSVC and clang-cl.

--
--gv



reply via email to

[Prev in Thread] Current Thread [Next in Thread]