Closed pavelkryukov closed 5 years ago
Thanks. Indeed, the original bug has not appeared in search results...
Coincidentally, we ran into this last month. It's filed under a title that's more technical but less understandable to users. Hopefully it'll be fixed soon.
This bug has been marked as a duplicate of bug llvm/llvm-project#39441
Extended Description
Hi
Consider two following simple C sources defining 'int func()'
lld-link.exe does not warn about duplicate symbols
However, if we disable optimizations, warning appears:
MSCV linker emits a warning in both cases (sorry for the Russian output)
GCC does the same: