http://llvm.org/bugs/show_bug.cgi?id=3443
Summary: recent regression: undeclared function isn't infered the
right type
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
I've here a recent regression in clang:
/cvs/php5/Zend/zend_ini_parser.c:1192:34: error: invalid operands to binary
expression ('int' and 'char *')
return yystpcpy (yyres, yystr) - yyres;
~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~
code:
unsigned yytnamerr(char *yyres, char *yystr) {
return stpcpy(yyres, yystr) - yyres;
}
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs