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

ep-engine.h fails to compile on ubuntu (warnings as errors)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • 1.6.0 beta1
    • 1.6.0 beta4
    • couchbase-bucket
    • None
    • Operating System: All
      Platform: All

    Description

      but seems to compile ok on rhel...

      see...

      http://builds.hq.northscale.net:8010/builders/wallace_ubuntu_9.04_64/builds/112/steps/compile/logs/stdio

      ---------------

      libtool: compile: g++ -DHAVE_CONFIG_H -I../../repo_memcached/memcached/include -I. -I. -I. -ggdb3 -DSQLITE_HAS_CODEC=0 -I../../repo_memcached/memcached/include -pipe -O3 -Werror -pedantic -Wall -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat -fno-strict-aliasing -Wno-strict-aliasing -Wextra -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy -Wno-long-long -Wmissing-declarations -Wno-redundant-decls -std=gnu++0x -MT ep_la-ep_engine.lo -MD -MP -MF .deps/ep_la-ep_engine.Tpo -c ep_engine.cc -fPIC -DPIC -o .libs/ep_la-ep_engine.o
      cc1plus: warnings being treated as errors
      ep_engine.h: In member function ‘ENGINE_ERROR_CODE EventuallyPersistentEngine::initialize(const char*)’:
      ep_engine.h:478: error: array subscript is above array bounds [-Warray-bounds]
      make[1]: *** [ep_la-ep_engine.lo] Error 1
      make[1]: Leaving directory `/var/lib/buildbot/ubuntu_9.04_x86_64/wallace_ubuntu_9.04_64/wallace/components/tmp/repo_ep-engine/ep-engine'
      make: *** [all] Error 2
      rake aborted!
      ERROR: cmd failed: make
      ERROR: with result: false, 512
      /var/lib/buildbot/ubuntu_9.04_x86_64/wallace_ubuntu_9.04_64/wallace/Rakefile:162:in `call'

      Attachments

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

        Activity

          People

            dustin@sallings.org Dustin Sallings (Inactive)
            steve.yen@northscale.com Steve Yen
            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