Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.195
 
1.196
 
MAIN:plunky:20110813082145
 
cc.c
_>197197 int     pthreads;
 198198 int     xcflag, xgcc;
 199199 int     ascpp;
<> 200+#ifdef CHAR_UNSIGNED
  201+int     funsigned_char = 1;
  202+#else
  203+int     funsigned_char = 0;
  204+#endif
200205 
 201206 char    *passp = LIBEXECDIR PREPROCESSOR;
 202207 char    *pass0 = LIBEXECDIR COMPILER;
     
 !
503508                                 else if (strcmp(argv[i], "-ffreestanding") == 0)
 504509                                         flist[nf++] = argv[i];
 505510                                 else if (strcmp(argv[i],
<>506 -                                    "-fsigned-char") == 0)
  511+                                    "-fsigned-char") == 0) {
507512                                         flist[nf++] = argv[i];
<>508 -                                else if (strcmp(argv[i],
 509 -                                    "-fno-signed-char") == 0)
  513+                                        funsigned_char = 0;
  514+                                } else if (strcmp(argv[i],
  515+                                    "-fno-signed-char") == 0) {
510516                                         flist[nf++] = argv[i];
<>511 -                                else if (strcmp(argv[i],
 512 -                                    "-funsigned-char") == 0)
  517+                                        funsigned_char = 0;
  518+                                } else if (strcmp(argv[i],
  519+                                    "-funsigned-char") == 0) {
513520                                         flist[nf++] = argv[i];
<>514 -                                else if (strcmp(argv[i],
 515 -                                    "-fno-unsigned-char") == 0)
  521+                                        funsigned_char = 1;
  522+                                } else if (strcmp(argv[i],
  523+                                    "-fno-unsigned-char") == 0) {
516524                                         flist[nf++] = argv[i];
<>517 -                                else if (strcmp(argv[i],
  525+                                        funsigned_char = 1;
  526+                                } else if (strcmp(argv[i],
518527                                     "-fstack-protector") == 0) {
 519528                                         flist[nf++] = argv[i];
 520529                                         sspflag++;
     
 !
833842                 av[na++] = "-D__INT_MAX__=" MKS(MAX_INT);
 834843                 av[na++] = "-D__LONG_MAX__=" MKS(MAX_LONG);
 835844                 av[na++] = "-D__LONG_LONG_MAX__=" MKS(MAX_LONGLONG);
<>836 -#ifdef CHAR_UNSIGNED
 837 -                av[na++] = "-D__CHAR_UNSIGNED__";
 838 -#endif
  845+                if (funsigned_char)
  846+                        av[na++] = "-D__CHAR_UNSIGNED__";
<_839847                 if (ascpp)
 840848                         av[na++] = "-D__ASSEMBLER__";
 841849                 if (sspflag)
FishEye: Open Source License registered to PCC.
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-12-22 19:30 +0100