[LLVMbugs] [Bug 7084] Incompatible functions in declarative region not being checked for overload compatibility

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jun 27 15:56:37 PDT 2012


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

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|FIXED                       |

--- Comment #2 from Richard Smith <richard-llvm at metafoo.co.uk> 2012-06-27 17:56:37 CDT ---
That's still not the desired behavior. We have two declarations of ::g(), with
different return types. I've not checked whether this is ill-formed, but I
think we should at least warn on this.

The segfault at runtime is still present if you use std::string instead of
string.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list