[LLVMbugs] [Bug 7126] Clang should always provide (aka ...) info

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 13 05:13:28 PDT 2010


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

Chandler Carruth <chandlerc at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Chandler Carruth <chandlerc at gmail.com> 2010-05-13 07:13:28 CDT ---
As of r103712:

% ./bin/clang++ t7.cc
t7.cc:8:9: error: no matching function for call to 'foo'
 return foo(&pos);
        ^~~
t7.cc:3:5: note: candidate function not viable: no known conversion from
'Py_ssize_t *' (aka 'int *') to 'Py_ssize_t *' (aka 'long *') for 1st argument
int foo(Py_ssize_t *);
    ^
1 error generated.

Which is I think enough detail to clear up the confusion. If folks really want
a note on the colliding typedefs, reopen, but I'm not entirely sold on the
idea. I think the aka tells you why the conversion failed, and looking up the
types shouldn't be that bad.

-- 
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