Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.237
 
1.238
 
MAIN:ragge:20120809130725
 
cc.c
_>278278 int     Mflag, needM, MDflag;   /* dependencies only */
 279279 int     pgflag;
 280280 int     Xflag;
<>281 -int     Wallflag;
 282 -int     Wflag;
283281 int     nostartfiles, Bstatic, shared;
 284282 int     nostdinc, nostdlib;
 285283 int     pthreads;
     
 !
545543                         } else if (strcmp(argp, "-Werror") == 0) {
 546544                                 strlist_append(&compiler_flags, "-Werror");
 547545                         } else if (strcmp(argp, "-Wall") == 0) {
<>548 -                                Wallflag = 1;
  546+                                for (Wf = Wflags; Wf->name; Wf++)
  547+                                        if (Wf->flags & INWALL)
  548+                                                strlist_append(&compiler_flags,
  549+                                                    cat("-W", Wf->name));
549550                         } else if (strcmp(argp, "-WW") == 0) {
<>550 -                                Wflag = 1;
  551+                                for (Wf = Wflags; Wf->name; Wf++)
  552+                                        strlist_append(&compiler_flags,
  553+                                            cat("-W", Wf->name));
551554                         } else {
 552555                                 /* pass through, if supported */
 553556                                 t = &argp[2];
     
 !
16191622 void
 16201623 setup_ccom_flags(void)
 16211624 {
<>1622 -        struct Wflags *Wf;
16231625 
 16241626         cksetflags(ccomflgcheck, &compiler_flags, 'a');
<>1625 -        if (Wflag || Wallflag) {
 1626 -                /* -Wall is same as gcc, -WW is all flags */
 1627 -                for (Wf = Wflags; Wf->name; Wf++) {
 1628 -                        if (Wflag || Wf->flags == INWALL)
 1629 -                                strlist_append(&compiler_flags,
 1630 -                                    cat("-W", Wf->name));
 1631 -
 1632 -                }
 1633 -        }
<_16341627 }
 16351628 
 16361629 static int one = 1;
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 13:49 +0200