Tcl Source Code

Artifact [f0dbd0a2b3]
Login

Artifact f0dbd0a2b33113b3942277b52cc4e3787b4d0beb:

Attachment "warnings.txt" to ticket [976090ffff] added by wobster 2004-06-20 10:34:50.
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