Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.157
 
1.158
 
MAIN:ragge:20100606083545
 
cc.c
_>272272 
 273273 #define SZWFL   (sizeof(Wflags)/sizeof(Wflags[0]))
 274274 
<> 275+#ifndef USHORT
  276+/* copied from mip/manifest.h */
  277+#define USHORT          5
  278+#define INT             6
  279+#define UNSIGNED        7
  280+#endif
  281+
275282 /*
 276283  * Wide char defines.
 277284  */
 278285 #if WCHAR_TYPE == USHORT
 279286 #define WCT "short unsigned int"
 280287 #define WCM "65535U"
<> 288+#if WCHAR_SIZE != 2
  289+#error WCHAR_TYPE vs. WCHAR_SIZE mismatch
  290+#endif
281291 #elif WCHAR_TYPE == INT
 282292 #define WCT "int"
 283293 #define WCM "2147483647"
<> 294+#if WCHAR_SIZE != 4
  295+#error WCHAR_TYPE vs. WCHAR_SIZE mismatch
  296+#endif
284297 #elif WCHAR_TYPE == UNSIGNED
 285298 #define WCT "unsigned int"
<>286 -#define WCM "294967295U"
  299+#define WCM "4294967295U"
  300+#if WCHAR_SIZE != 4
  301+#error WCHAR_TYPE vs. WCHAR_SIZE mismatch
287302 #endif
<> 303+#else
  304+#error WCHAR_TYPE not defined or invalid
  305+#endif
288306 
 289307 int
 290308 main(int argc, char *argv[])
     
 !
656674                 tmp4 = gettmp();
 657675         }
 658676         if (Bflag) {
<>659 -                incdir = Bflag;
660677                 altincdir = Bflag;
<>661 -                libdir = Bflag;
662678                 pccincdir = Bflag;
 663679                 pcclibdir = Bflag;
 664680         }
     
 !
727743                 for (j = 0; cppadd[j]; j++)
 728744                         av[na++] = cppadd[j];
 729745                 av[na++] = "-D__STDC_ISO_10646__=200009L";
<>730 -#ifdef WCHAR_SIZE
731746                 av[na++] = "-D__WCHAR_TYPE__=" WCT;
 732747                 av[na++] = "-D__SIZEOF_WCHAR_T__=" MKS(WCHAR_SIZE);
 733748                 av[na++] = "-D__WCHAR_MAX__=" WCM;
<>734 -#endif
<_735749                 av[na++] = "-D__WINT_TYPE__=unsigned int";
 736750                 av[na++] = "-D__SIZE_TYPE__=unsigned long";
 737751                 av[na++] = "-D__PTRDIFF_TYPE__=int";
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-07-10 02:15 +0200