Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.267
 
1.268
 
MAIN:ragge:20110122220823
 
trees.c
_>997997                         t1 = DECREF(t1);
 998998                         t2 = DECREF(t2);
 999999                 }
<>1000 -                if (DEUNSIGN(t1) != DEUNSIGN(t2) || Wpointer_sign)
 1001 -                        werror("illegal pointer combination");
  1000+                if (DEUNSIGN(t1) != DEUNSIGN(t2))
  1001+                        warner(Wpointer_sign, NULL);
10021002         }
 10031003 }
 10041004 
     
 !
14111411                 tr = DEUNSIGN(tr);
 14121412         }
 14131413 
<>1414 -        if (Wsign_compare && clogop(o) && tl == tr && lu != ru &&
  1414+        if (clogop(o) && tl == tr && lu != ru &&
14151415             l->n_op != ICON && r->n_op != ICON)
<>1416 -                werror("comparison between signed and unsigned");
  1416+                warner(Wsign_compare, NULL);
14171417 
 14181418         if (tl == LDOUBLE || tr == LDOUBLE)
 14191419                 t = LDOUBLE;
     
 !
14491449            from LONG to INT and ULONG to UNSIGNED */
 14501450 
 14511451         if (t != tl || (ru && !lu)) {
<>1452 -                if (Wtruncate && o != CAST && r->n_op != ICON &&
  1452+                if (o != CAST && r->n_op != ICON &&
14531453                     tsize(tl, 0, MKAP(tl)) > tsize(tu, 0, MKAP(tu)))
<>1454 -                        werror("conversion to '%s' from '%s' may alter its value",
 1455 -                            tnames[tu], tnames[tl]);
  1454+                        warner(Wtruncate, tnames[tu], tnames[tl]);
14561455                 p->n_left = makety( p->n_left, tu, 0, 0, MKAP(tu));
 14571456         }
 14581457 
 14591458         if (t != tr || o==CAST || (lu && !ru)) {
<>1460 -                if (Wtruncate && o != CAST && r->n_op != ICON &&
  1459+                if (o != CAST && r->n_op != ICON &&
14611460                     tsize(tr, 0, MKAP(tr)) > tsize(tu, 0, MKAP(tu)))
<>1462 -                        werror("conversion to '%s' from '%s' may alter its value",
 1463 -                            tnames[tu], tnames[tr]);
  1461+                        warner(Wtruncate, tnames[tu], tnames[tr]);
14641462                 p->n_right = makety(p->n_right, tu, 0, 0, MKAP(tu));
 14651463         }
 14661464 
     
 !
23962394                 fwalk(p, eprint, 0);
 23972395 #endif
 23982396         if (!reached) {
<>2399 -                if (Wunreachable_code)
 2400 -                        werror("statement not reached");
  2397+                warner(Wunreachable_code, NULL);
<_24012398                 reached = 1;
 24022399         }
 24032400         p = optim(p);
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-09-19 05:50 +0200