Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.203
 
1.204
 
MAIN:gmcgarry:20080619080500
 
pftn.c
_>10651065                         sp->stype = WCHAR_TYPE+ARY;
 10661066                         sp->ssue = MKSUE(WCHAR_TYPE);
 10671067                 } else {
<>1068 -#ifdef CHAR_UNSIGNED
 1069 -                        sp->stype = UCHAR+ARY;
 1070 -                        sp->ssue = MKSUE(UCHAR);
 1071 -#else
 1072 -                        sp->stype = CHAR+ARY;
 1073 -                        sp->ssue = MKSUE(CHAR);
 1074 -#endif
  1068+                        if (funsigned_char) {
  1069+                                sp->stype = UCHAR+ARY;
  1070+                                sp->ssue = MKSUE(UCHAR);
  1071+                        } else {
  1072+                                sp->stype = CHAR+ARY;
  1073+                                sp->ssue = MKSUE(CHAR);
  1074+                        }
10751075                 }
 10761076                 for (wr = sp->sname, i = 1; *wr; i++)
 10771077                         if (*wr++ == '\\')
     
 !
15791579                 if (uns)
 15801580                         type = ENUNSIGN(type);
 15811581         }
<>1582 -#ifdef CHAR_UNSIGNED
 1583 -        if (type == CHAR && sig == 0)
  1582+
  1583+        if (funsigned_char && type == CHAR && sig == 0)
15841584                 type = UCHAR;
<>1585 -#endif
15861585 
 15871586         /* free the chain */
 15881587         while (q) {
     
 !
22142213                         if ((BTYPE(type) == CHAR || BTYPE(type) == UCHAR) &&
 22152214                             (BTYPE(arrt) == CHAR || BTYPE(arrt) == UCHAR))
 22162215                                 goto skip;
<> 2216+                        /* do not complain for pointers with signedness */
  2217+                        if (!Wpointer_sign &&
  2218+                            DEUNSIGN(BTYPE(type)) == DEUNSIGN(BTYPE(arrt)))
  2219+                                goto skip;
<_22172220                 }
 22182221 
 22192222                 werror("implicit conversion of argument %d due to prototype",
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-01 13:25 +0200