[LLVMbugs] [Bug 20532] Provide a way to compile legacy code that uses argument-less return in non-void functions

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Aug 4 10:34:35 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20532

Robert Clausecker <fuzxxl at gmail.com> changed:

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

--- Comment #3 from Robert Clausecker <fuzxxl at gmail.com> ---
I think the situation could be improved here as the behavior from clang differs
from that of gcc. It would be great for drop-in-compatibility if clang could
set -Wno-error=return-type by default when compiling code in any GNU standard.

-- 
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/20140804/1bb36623/attachment.html>


More information about the llvm-bugs mailing list