[LLVMbugs] [Bug 3443] New: recent regression: undeclared function isn' t infered the right type

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Jan 30 07:27:12 PST 2009


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: unassignedclangbugs at nondot.org
        ReportedBy: nunoplopes at sapo.pt
                CC: llvmbugs at cs.uiuc.edu


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.



More information about the llvm-bugs mailing list