Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-38

ubuntu 8.04 x86_64 w/ gcc 4.2.4

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0a
    • Component/s: Portability
    • Labels:
      None
    • Environment:

      ubuntu 8.04 x86_64 w/ gcc 4.2.4

      Description

      Warnings prevent compilation on this platform. Some casts need to be cleaned up.

      c1plus: warnings being treated as errors
      ../../libinktomi++/ink_queue.cc: In function 'void ink_freelist_init(InkFreeList*, const char*, unsigned int, unsigned int, unsigned int, unsigned int)':
      ../../libinktomi++/ink_queue.cc:136: warning: NULL used in arithmetic
      ../../libinktomi++/ink_queue.cc: In function 'void ink_atomiclist_init(InkAtomicList*, const char*, unsigned int)':
      ../../libinktomi++/ink_queue.cc:531: warning: NULL used in arithmetic
      ../../libinktomi++/ink_queue.cc: In function 'void* ink_atomiclist_popall(InkAtomicList*)':
      ../../libinktomi++/ink_queue.cc:582: warning: NULL used in arithmetic
      make[1]: *** [ink_queue.o] Error 1

        Attachments

        1. ts-64-bit-warning.patch
          7 kB
          John Plevyak

          Activity

            People

            • Assignee:
              bcall Bryan Call
              Reporter:
              jplevyak John Plevyak
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 20m
                20m
                Remaining:
                Remaining Estimate - 20m
                20m
                Logged:
                Time Spent - Not Specified
                Not Specified