Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-881

Subobject initialization compiler warnings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.8.4
    • 2.8.3
    • library
    • None

    Description

      When performing builds of libcouchbase on Mac OS X, various code locations display warnings due to using zero-value brace initialization on objects which contain sub-objects.

      For instance:
      lcb_host_t reqhost = {0};
      As well as:
      lcb_host_t tmphost = {0};

      Attachments

        For Gerrit Dashboard: CCBC-881
        # Subject Branch Project Status CR V

        Activity

          People

            avsej Sergey Avseyev
            brett19 Brett Lawson
            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