Re: improve clang support (29)

2020-08-15 Thread Bruno Haible
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

Re: improve clang support (29)

2020-08-15 Thread Gisle Vanem
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?

improve clang support (29)

2020-08-15 Thread Bruno Haible
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