Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.118
 
1.119
 
MAIN:gmcgarry:20080807003006
 
cc.c
_>172172 int     pgflag;
 173173 int     exfail;
 174174 int     Xflag;
<> 175+int     Wallflag;
  176+int     Wflag;
175177 int     nostartfiles, Bstatic, shared;
 176178 int     nostdinc, nostdlib;
 177179 int     onlyas;
     
 !
299301                                         if (!strncmp(argv[i], "-Wp,-C", 6))
 300302                                                 Cflag++;
 301303                                 } else if (strcmp(argv[i], "-Wall") == 0) {
<>302 -                                        /* Set only the same flags as gcc */
 303 -                                        for (Wf = Wflags; Wf->name; Wf++) {
 304 -                                                if (Wf->flags != INWALL)
 305 -                                                        continue;
 306 -                                                wlist[nw++] = Wf->name;
 307 -                                        }
  304+                                        Wallflag = 1;
308305                                 } else if (strcmp(argv[i], "-WW") == 0) {
<>309 -                                        /* set all positive flags */
 310 -                                        for (Wf = Wflags; Wf->name; Wf++) {
 311 -                                                if (Wf->flags == NEGATIVE)
 312 -                                                        continue;
 313 -                                                wlist[nw++] = Wf->name;
 314 -                                        }
  306+                                        Wflag = 1;
315307                                 } else {
 316308                                         /* check and set if available */
 317309                                         for (Wf = Wflags; Wf->name; Wf++) {
     
 !
637629         com:
 638630                 na = 0;
 639631                 av[na++]= "ccom";
<> 632+                if (Wallflag) {
  633+                        /* Set only the same flags as gcc */
  634+                        for (Wf = Wflags; Wf->name; Wf++) {
  635+                                if (Wf->flags != INWALL)
  636+                                        continue;
  637+                                av[na++] = Wf->name;
  638+                        }
  639+                }
  640+                if (Wflag) {
  641+                        /* set all positive flags */
  642+                        for (Wf = Wflags; Wf->name; Wf++) {
  643+                                if (Wf->flags == NEGATIVE)
  644+                                        continue;
  645+                                av[na++] = Wf->name;
  646+                        }
  647+                }
<_640648                 for (j = 0; j < nw; j++)
 641649                         av[na++] = wlist[j];
 642650                 for (j = 0; j < nf; j++)
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-30 17:58 +0200