Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.162
 
1.163
 
MAIN:gmcgarry:20101117071530
 
cc.c
_>149149 char    *olist[MAXFIL];
 150150 char    *llist[MAXLIB];
 151151 char    *aslist[MAXAV];
<> 152+char    *cpplist[MAXAV];
152153 char    alist[20];
 153154 char    *xlist[100];
 154155 int     xnum;
     
 !
160161 int     nf;
 161162 int     nw;
 162163 int     sspflag;
<>163 -int     Cflag;
 164 -int     Pflag;
 165 -int     Vflag;
166164 int     dflag;
 167165 int     pflag;
 168166 int     sflag;
     
 !
324322         char *t, *u;
 325323         char *assource;
 326324         char **pv, *ptemp[MAXOPT], **pvt;
<>327 -        int nc, nl, nas, i, j, c, nxo, na;
  325+        int nc, nl, nas, ncpp, i, j, c, nxo, na;
328326 #ifdef MULTITARGET
 329327         int k;
 330328 #endif
     
 !
340338         pass0 = win32pathsubst(pass0);
 341339 #endif
 342340 
<>343 -        i = nc = nl = nas = nxo = 0;
  341+        i = nc = nl = nas = ncpp = nxo = 0;
344342         pv = ptemp;
 345343         while(++i < argc) {
 346344                 if (argv[i][0] == '-') {
     
 !
425423                                         wlist[nw++] = t;
 426424                                 } else if (strncmp(argv[i], "-Wp,", 4) == 0) {
 427425                                         /* preprocessor */
<>428 -                                        if (!strncmp(argv[i], "-Wp,-C", 6))
 429 -                                                Cflag++;
 430 -                                        else if (!strncmp(argv[i], "-Wp,-V", 6))
 431 -                                                Vflag++;
 432 -                                        else if (!strncmp(argv[i], "-Wp,-P", 6))
 433 -                                                Pflag++;
  426+                                        t = &argv[i][4];
  427+                                        while ((u = strchr(t, ','))) {
  428+                                                *u++ = 0;
  429+                                                cpplist[ncpp++] = t;
  430+                                                t = u;
  431+                                        }
  432+                                        cpplist[ncpp++] = t;
434433                                 } else if (strcmp(argv[i], "-Wall") == 0) {
 435434                                         Wallflag = 1;
 436435                                 } else if (strcmp(argv[i], "-WW") == 0) {
     
 !
594593                                 break;
 595594 #endif
 596595                         case 'C':
<>597 -                                Cflag = 1;
  596+                                cpplist[ncpp++] = argv[i];
598597                                 break;
 599598                         case 'D':
 600599                         case 'I':
     
 !
747746                         av[na++] = "-D__SSP__=1";
 748747                 if (pthreads)
 749748                         av[na++] = "-D_PTHREADS";
<>750 -                if (Cflag)
 751 -                        av[na++] = "-C";
752749                 if (Mflag)
 753750                         av[na++] = "-M";
<>754 -                if (Vflag)
 755 -                        av[na++] = "-V";
 756 -                if (Pflag)
 757 -                        av[na++] = "-P";
758751                 if (Oflag)
 759752                         av[na++] = "-D__OPTIMIZE__";
 760753 #ifdef GCC_COMPAT
     
 !
767760                         av[na++] = alist;
 768761                 for (j = 0; cppadd[j]; j++)
 769762                         av[na++] = cppadd[j];
<> 763+                for (j = 0; j < ncpp; j++)
  764+                        av[na++] = cpplist[j];
<_770765                 av[na++] = "-D__STDC_ISO_10646__=200009L";
 771766                 av[na++] = "-D__WCHAR_TYPE__=" WCT;
 772767                 av[na++] = "-D__SIZEOF_WCHAR_T__=" MKS(WCHAR_SIZE);
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-11-01 01:34 +0100