Tcl Source Code

Attachment Details
Login
Overview

Artifact ID: 99bd54badd047e1724f655ff394df3d33044392e
Ticket: 976090ffffffffffffffffffffffffffffffffff
Date: 2004-06-20 10:34:50
User: wobster
Artifact Attached: f0dbd0a2b33113b3942277b52cc4e3787b4d0beb
Filename:warnings.txt
Description:Compiler warnings for Tcl on Cray X1
Content:
     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
   100
   101
   102
   103
   104
   105
   106
   107
   108
   109
   110
   111
   112
   113
   114
   115
   116
   117
   118
   119
   120
   121
   122
   123
   124
   125
   126
   127
   128
   129
   130
   131
   132
   133
   134
   135
   136
   137
   138
   139
   140
   141
   142
   143
   144
   145
   146
   147
   148
   149
   150
   151
   152
   153
   154
   155
   156
   157
   158
   159
   160
   161
   162
   163
   164
   165
   166
   167
   168
   169
   170
   171
   172
   173
   174
   175
   176
   177
   178
   179
   180
   181
   182
   183
   184
   185
   186
   187
   188
   189
   190
   191
   192
   193
   194
   195
   196
   197
   198
   199
   200
   201
   202
   203
   204
   205
   206
   207
   208
   209
   210
   211
   212
   213
   214
   215
   216
   217
   218
   219
   220
   221
   222
   223
   224
   225
   226
   227
   228
   229
   230
   231
   232
   233
   234
   235
   236
   237
   238
   239
   240
   241
   242
   243
   244
   245
   246
   247
   248
   249
   250
   251
   252
   253
   254
   255
   256
   257
   258
   259
   260
   261
   262
   263
   264
   265
   266
   267
   268
   269
   270
   271
   272
   273
   274
   275
   276
   277
CC-767 cc: WARNING File = ./../generic/regcomp.c, Line = 2171
  A pointer is converted to a smaller integer.

                sprintf(buf, "0x%x", (int)t);   /* may lose bits, that's okay */
                                     ^

Total warnings detected in ./../generic/regcomp.c: 1
CC-767 cc: WARNING File = ./../generic/tclCompExpr.c, Line = 444
  A pointer is converted to a smaller integer.

            opIndex = (int) Tcl_GetHashValue(hPtr);
                      ^

Total warnings detected in ./../generic/tclCompExpr.c: 1
CC-767 cc: WARNING File = ./../generic/tclEncoding.c, Line = 2351
  A pointer is converted to a smaller integer.

      state = (int) *statePtr;
              ^

CC-767 cc: WARNING File = ./../generic/tclEncoding.c, Line = 2577
  A pointer is converted to a smaller integer.

          state = (int) *statePtr;
                  ^

Total warnings detected in ./../generic/tclEncoding.c: 2
CC-767 cc: WARNING File = ./../generic/tclHash.c, Line = 310
  A pointer is converted to a smaller integer.

        hash = (unsigned int) key;
               ^

CC-767 cc: WARNING File = ./../generic/tclHash.c, Line = 322
  A pointer is converted to a smaller integer.

            if (hash != (unsigned int) hPtr->hash) {
                        ^

CC-767 cc: WARNING File = ./../generic/tclHash.c, Line = 334
  A pointer is converted to a smaller integer.

            if (hash != (unsigned int) hPtr->hash) {
                        ^

CC-767 cc: WARNING File = ./../generic/tclHash.c, Line = 408
  A pointer is converted to a smaller integer.

        hash = (unsigned int) key;
               ^

CC-767 cc: WARNING File = ./../generic/tclHash.c, Line = 420
  A pointer is converted to a smaller integer.

            if (hash != (unsigned int) hPtr->hash) {
                        ^

CC-767 cc: WARNING File = ./../generic/tclHash.c, Line = 433
  A pointer is converted to a smaller integer.

            if (hash != (unsigned int) hPtr->hash) {
                        ^

CC-767 cc: WARNING File = ./../generic/tclHash.c, Line = 537
  A pointer is converted to a smaller integer.

        index = ((unsigned int) entryPtr->hash) & tablePtr->mask;
                 ^

CC-767 cc: WARNING File = ./../generic/tclHash.c, Line = 1172
  A pointer is converted to a smaller integer.

                index = ((unsigned int) hPtr->hash) & tablePtr->mask;
                         ^

Total warnings detected in ./../generic/tclHash.c: 8
CC-175 cc: WARNING File = ./../generic/tclIO.c, Line = 3954
  The indicated subscript is out of range.

            memcpy((VOID *) (nextPtr->buf + BUFFER_PADDING - extra),
                                          ^

CC-175 cc: WARNING File = ./../generic/tclIO.c, Line = 4102
  The indicated subscript is out of range.

                        (VOID *) (nextPtr->buf + BUFFER_PADDING - extra),
                                               ^

CC-767 cc: WARNING File = ./../generic/tclIO.c, Line = 8839
  A pointer is converted to a smaller integer.

      return ((int)actualVersion) >= ((int)minimumVersion);
              ^

CC-767 cc: WARNING File = ./../generic/tclIO.c, Line = 8839
  A pointer is converted to a smaller integer.

      return ((int)actualVersion) >= ((int)minimumVersion);
                                      ^

Total warnings detected in ./../generic/tclIO.c: 4
CC-767 cc: WARNING File = ./../generic/tclThreadAlloc.c, Line = 636
  A pointer is converted to a smaller integer.

            sprintf(buf, "thread%d", (int) cachePtr->owner);
                                     ^

Total warnings detected in ./../generic/tclThreadAlloc.c: 1
CC-767 cc: WARNING File = ./../generic/tclTimer.c, Line = 533
  A pointer is converted to a smaller integer.

        if ((currentTimerId - (int)timerHandlerPtr->token) < 0) {
                              ^

Total warnings detected in ./../generic/tclTimer.c: 1
CC-767 cc: WARNING File = ./../generic/tclVar.c, Line = 406
  A pointer is converted to a smaller integer.

        int localIndex = (int) part1Ptr->internalRep.twoPtrValue.ptr2;
                         ^

CC-767 cc: WARNING File = ./../generic/tclVar.c, Line = 5030
  A pointer is converted to a smaller integer.

      unsigned int index = (unsigned int) objPtr->internalRep.twoPtrValue.ptr2;
                           ^

Total warnings detected in ./../generic/tclVar.c: 2
CC-767 cc: WARNING File = ./../unix/tclUnixChan.c, Line = 1887
  A pointer is converted to a smaller integer.

      int fd = (int) handle;
               ^

CC-767 cc: WARNING File = ./../unix/tclUnixChan.c, Line = 2804
  A pointer is converted to a smaller integer.

      statePtr->fd = (int) sock;
                     ^

CC-767 cc: WARNING File = ./../unix/tclUnixChan.c, Line = 3101
  A pointer is converted to a smaller integer.

            fd = (int) data;
                 ^

Total warnings detected in ./../unix/tclUnixChan.c: 3
CC-767 cc: WARNING File = ./../unix/tclUnixPipe.c, Line = 115
  A pointer is converted to a smaller integer.

        return MakeFile((int)data);
               ^

CC-767 cc: WARNING File = ./../unix/tclUnixPipe.c, Line = 328
  A pointer is converted to a smaller integer.

      int fd = GetFd(file);
               ^

CC-767 cc: WARNING File = ./../unix/tclUnixPipe.c, Line = 434
  A pointer is converted to a smaller integer.

        fd = GetFd(errPipeOut);
             ^

CC-767 cc: WARNING File = ./../unix/tclUnixPipe.c, Line = 487
  A pointer is converted to a smaller integer.

      fd = GetFd(errPipeIn);
           ^

CC-767 cc: WARNING File = ./../unix/tclUnixPipe.c, Line = 649
  A pointer is converted to a smaller integer.

        fd = GetFd(file);
             ^

CC-767 cc: WARNING File = ./../unix/tclUnixPipe.c, Line = 734
  A pointer is converted to a smaller integer.

        channelId = GetFd(readFile);
                    ^

CC-767 cc: WARNING File = ./../unix/tclUnixPipe.c, Line = 736
  A pointer is converted to a smaller integer.

        channelId = GetFd(writeFile);
                    ^

CC-767 cc: WARNING File = ./../unix/tclUnixPipe.c, Line = 738
  A pointer is converted to a smaller integer.

        channelId = GetFd(errorFile);
                    ^

CC-767 cc: WARNING File = ./../unix/tclUnixPipe.c, Line = 836
  A pointer is converted to a smaller integer.

          fd = GetFd(psPtr->inFile);
               ^

CC-767 cc: WARNING File = ./../unix/tclUnixPipe.c, Line = 848
  A pointer is converted to a smaller integer.

          fd = GetFd(psPtr->outFile);
               ^

CC-767 cc: WARNING File = ./../unix/tclUnixPipe.c, Line = 956
  A pointer is converted to a smaller integer.

                (ClientData) GetFd(pipePtr->errorFile), TCL_READABLE);
                             ^

CC-767 cc: WARNING File = ./../unix/tclUnixPipe.c, Line = 1016
  A pointer is converted to a smaller integer.

        bytesRead = read (GetFd(psPtr->inFile), buf, (size_t) toRead);
                          ^

CC-767 cc: WARNING File = ./../unix/tclUnixPipe.c, Line = 1064
  A pointer is converted to a smaller integer.

        written = write(GetFd(psPtr->outFile), buf, (size_t) toWrite);
                        ^

CC-767 cc: WARNING File = ./../unix/tclUnixPipe.c, Line = 1105
  A pointer is converted to a smaller integer.

            Tcl_CreateFileHandler(GetFd(psPtr->inFile), mask,
                                  ^

CC-767 cc: WARNING File = ./../unix/tclUnixPipe.c, Line = 1109
  A pointer is converted to a smaller integer.

            Tcl_DeleteFileHandler(GetFd(psPtr->inFile));
                                  ^

CC-767 cc: WARNING File = ./../unix/tclUnixPipe.c, Line = 1115
  A pointer is converted to a smaller integer.

            Tcl_CreateFileHandler(GetFd(psPtr->outFile), mask,
                                  ^

CC-767 cc: WARNING File = ./../unix/tclUnixPipe.c, Line = 1119
  A pointer is converted to a smaller integer.

            Tcl_DeleteFileHandler(GetFd(psPtr->outFile));
                                  ^

CC-767 cc: WARNING File = ./../unix/tclUnixPipe.c, Line = 1151
  A pointer is converted to a smaller integer.

        *handlePtr = (ClientData) GetFd(psPtr->inFile);
                                  ^

CC-767 cc: WARNING File = ./../unix/tclUnixPipe.c, Line = 1155
  A pointer is converted to a smaller integer.

        *handlePtr = (ClientData) GetFd(psPtr->outFile);
                                  ^

CC-767 cc: WARNING File = ./../unix/tclUnixPipe.c, Line = 1186
  A pointer is converted to a smaller integer.

      real_pid = (pid_t) pid;
                 ^

Total warnings detected in ./../unix/tclUnixPipe.c: 20
-DTCL_PACKAGE_PATH="\"/acct/rrr6399/mdopt/3dopt/UNICOS-2/lib\"" \
        ./../unix/tclUnixInit.c
CC-767 cc: WARNING File = ./../unix/tclUnixThrd.c, Line = 173
  A pointer is converted to a smaller integer.

      result = pthread_join ((pthread_t) threadId, (VOID**) state);
                             ^

Total warnings detected in ./../unix/tclUnixThrd.c: 1