[LLVMdev] Request for help: why does the program link correctly?

Suprateeka R Hegde hegdesmailbox at gmail.com
Sun Jul 5 05:59:49 PDT 2015


On Friday 03 July 2015 08:27 PM, Tim Northover wrote:
> On 2 July 2015 at 23:32, Soumitra Chatterjee <soumitra at hp.com> wrote:
>> Someone in my team pointed to an open bug about this in gcc:
>>          https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35514
>>
>> Would this be applicable to Clang as well?
>
> It's probably open for change. We'd have to work out who (if anyone)
> was relying on the current behaviour

And if we can not find who is that, at least we can introduce a new 
option to make warnings/diagnostic stricter? It would not break 
compatibility.

> and someone would have to be
> motivated enough to write the patch.

There are enough existing LLVM enthusiasts I would say (including me) 
:-) And then zillions are joining the bandwagon.

>
> Incidentally, what linker are you using?

ELF linkers on SVR4 compliant Unix like HP-UX and Solaris do diagnose 
and warn.

--
Supra



More information about the llvm-dev mailing list