[llvm-bugs] [Bug 33065] false(?) -Wsequence warning

via llvm-bugs llvm-bugs at lists.llvm.org
Tue May 30 12:43:20 PDT 2017


Stephen Hines <srhines at google.com> changed:

           What    |Removed                     |Added
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #10 from Stephen Hines <srhines at google.com> ---
Moving this back to Resolved/Invalid. Unfortunately, the C and C++ Standards
Committees don't always see eye-to-eye on every potential related issue. This
is one such example. I have no evidence that Clang is leveraging the ordering
of these arguments to do something different in C vs. C++ today, but that
doesn't prevent them from doing something like that in the future. The right
thing is to fix your code based on the warning, since the warning does complain
exactly about what the C standard requires here.

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/20170530/6c1e14a6/attachment.html>

More information about the llvm-bugs mailing list