Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.113
 
1.114
 
MAIN:ragge:20040612085728
 
pftn.c
_>22492249          * Do some basic checks.
 22502250          */
 22512251         if (f->n_df == NULL || (al = f->n_df[0].dfun) == NULL) {
<>2252 -                if (f->n_sp != NULL)
 2253 -                        werror("no prototype for function '%s()'",
 2254 -                            f->n_sp->sname);
 2255 -                else
 2256 -                        werror("no prototype for function pointer");
  2252+                if (Wimplicit_function_declaration) {
  2253+                        if (f->n_sp != NULL)
  2254+                                werror("no prototype for function '%s()'",
  2255+                                    f->n_sp->sname);
  2256+                        else
  2257+                                werror("no prototype for function pointer");
  2258+                }
22572259                 goto build;
 22582260         }
 22592261         if (al->type == VOID) {
     
 !
23272329                         } else
 23282330                                 goto out;
 23292331                 }
<> 2332+                if (BTYPE(arrt) == ENUMTY && BTYPE(type) == INT &&
  2333+                    (arrt & ~BTMASK) == (type & ~BTMASK))
  2334+                        goto skip; /* XXX enumty destroyed in optim() */
<_23302335                 if (BTYPE(arrt) == VOID && type > BTMASK)
 23312336                         goto skip; /* void *f = some pointer */
 23322337                 if (arrt > BTMASK && BTYPE(type) == VOID)
FishEye: Open Source License registered to PCC.
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-12-22 10:13 +0100