------- Comment #4 from ppluzhnikov at google dot com 2010-05-15 00:59 ------- For reference, here is what clang currently prints (I am told):
t.cc:8:9: error: no matching function for call to 'foo' return foo(&pos); ^~~ t.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. I do like both the 'typedef for', and the extra notes ideas. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44122