[llvm-bugs] [Bug 42001] incompatible pointer types warning when restrict qualifier involved
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri May 24 11:43:50 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=42001
Eli Friedman <efriedma at quicinc.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
CC| |efriedma at quicinc.com
--- Comment #2 from Eli Friedman <efriedma at quicinc.com> ---
I agree, the warning is correct in C. (C++ has different rules for implicit
conversions involving qualifiers which might allow something like this if
"restrict" were part of the standard.)
I'm pretty sure we aren't going to change our defaults for warnings here unless
the standard changes. Implicit conversions in C are confusing enough as it is.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190524/acdb5d8d/attachment.html>
More information about the llvm-bugs
mailing list