Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-4339

ketama compilation warnings in libvbucket

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Minor
    • 2.0-beta
    • None
    • None
    • Security Level: Public
    • None
    • MacOS X 10.8 with i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)

    Description

      After integration of http://review.couchbase.org/#change,9718 to add all of the hashing functions to libvbucket, there are compilation warnings.

      src/ketama.c:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
      src/ketama.c:9: warning: function declaration isn't a prototype [-Wstrict-prototypes]
      src/ketama.c:10: warning: function declaration isn't a prototype [-Wstrict-prototypes]
      In file included from src/rfc1321/md5c.c:27,
      from src/ketama.c:14:
      src/rfc1321/md5.h:33: warning: redundant redeclaration of 'MD5Init' [-Wredundant-decls]
      src/ketama.c:8: warning: previous declaration of 'MD5Init' was here
      src/rfc1321/md5.h:34: warning: redundant redeclaration of 'MD5Update' [-Wredundant-decls]
      src/ketama.c:9: warning: previous declaration of 'MD5Update' was here
      src/rfc1321/md5.h:35: warning: redundant redeclaration of 'MD5Final' [-Wredundant-decls]
      src/ketama.c:10: warning: previous declaration of 'MD5Final' was here
      src/ketama.c: In function 'hash_md5_update':
      src/ketama.c:29: warning: implicit declaration of function 'calloc'
      src/ketama.c:29: warning: incompatible implicit declaration of built-in function 'calloc'
      src/ketama.c: In function 'hash_md5_final':
      src/ketama.c:42: warning: implicit declaration of function 'free'

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ingenthr Matt Ingenthron
            ingenthr Matt Ingenthron
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty