[PATCH] Make the ODR detector emit errors instead of warnings
Jeffrey Yasskin
jyasskin@google.com
Thu Jul 22 23:47:00 GMT 2010
In a large build, it can be very easy to miss a link that emitted
warnings. Errors are much harder to miss, and seem appropriate for
problems that cause undefined behavior. If there are false positives,
users can avoid passing --detect-odr-violations on that link line.
2010-07-22 Jeffrey Yasskin <jyasskin@google.com>
* symtab.cc (Symbol_table::detect_odr_violations): Change warning to error.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: odr_error.patch
Type: text/x-patch
Size: 902 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20100722/f8ae3001/attachment.bin>
More information about the Binutils
mailing list