Gisle Vanem wrote:
> > clang on Windows, by default, does not link with '-loldnames' (like mingw
> > and
> > MSVC 14 do).
>
> You mean when using 'lld-link'?
No. I'm using 'clang', and 'clang' happens to use the link.exe from the MSVC
installation directory (regardless whether I have set an envi
Bruno Haible wrote:
clang on Windows, by default, does not link with '-loldnames' (like mingw and
MSVC 14 do).
You mean when using 'lld-link'?
One can use 'link.exe' with 'clang-cl' with no problem.
And is IMHO better than clang's linker. Why assume what
linker *must* be used?
clang on Windows, by default, does not link with '-loldnames' (like mingw and
MSVC 14 do). This means that programs that use open(), close(), etc. will get
link errors by default.
For more than 10 years, Microsoft has been deprecating these function names:
access
chdir
chmod
close
creat
dup
dup2