Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 16DA9431FBC for ; Thu, 18 Apr 2013 03:25:08 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id at3naR+hQKVm for ; Thu, 18 Apr 2013 03:25:06 -0700 (PDT) Received: from mail-ea0-f178.google.com (mail-ea0-f178.google.com [209.85.215.178]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id D6566431FB6 for ; Thu, 18 Apr 2013 03:25:05 -0700 (PDT) Received: by mail-ea0-f178.google.com with SMTP id o10so1200920eaj.23 for ; Thu, 18 Apr 2013 03:25:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:date:from:to:subject:message-id:mime-version :content-type:content-disposition:user-agent:x-gm-message-state; bh=6yBCoAgytUb4xQjTv/uarCvyKy/shDZf+qEEAUiBO9I=; b=aut4hUhdAhMZeJv3M/MO2WxI5/4XsDp/g9MHYJZqLur301IeQVl5i44QTETV1it1MZ DOHYswYVKV5+z8ebMuE6h3TgZe0eNhJ1prVOdBc+rR/auiFv1z9vpemmXz+2bCo1X5zo k4QNdL8Gm/i0EVjTlq63dzJb0TTsnjT9G7Hy/Y+3VbomxfnazVvrl5zl0RVfGD3m7YbO 211230tSzqgX6B8xT6qhonKxYvQgw9bEMzGU2PqW5Eipav/N0Ui4UZ7SdkFF04xoSuuy MZNBLpIFRo8KR93sPUwUmn6gh9n3kYSelRN4ZoR3VxpqWZeY8nfHuPAH5CZWPxm9e/XU 3D2w== X-Received: by 10.14.223.72 with SMTP id u48mr21678276eep.44.1366280703152; Thu, 18 Apr 2013 03:25:03 -0700 (PDT) Received: from localhost ([78.63.244.234]) by mx.google.com with ESMTPS id x42sm14752242eee.0.2013.04.18.03.25.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 18 Apr 2013 03:25:01 -0700 (PDT) Date: Thu, 18 Apr 2013 13:25:07 +0300 From: Simonas Kazlauskas To: notmuch@notmuchmail.org Subject: Compiling fails Message-ID: <20130418102507.GA23688@godbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQmZsT+4jnqNhH0NgBjX9HipuYacvRrbV+HS/m6QPbuDkhUhmZrB2vGUJ8M7o5HM+aXn/VPV X-Mailman-Approved-At: Thu, 18 Apr 2013 03:36:42 -0700 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Apr 2013 10:25:08 -0000 Compiling current HEAD (as of 2013-04-18 13:20) fails with following error: CXX -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 lib/parse-time-vrp.o In file included from lib/parse-time-vrp.cc:23: In file included from ./lib/database-private.h:33: ./lib/notmuch-private.h:478:8: error: visibility does not match previous declaration struct visible _notmuch_string_list { ^ ./lib/notmuch-private.h:67:33: note: expanded from macro 'visible' # define visible __attribute__((visibility("default"))) ^ ./lib/notmuch-private.h:52:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ In file included from lib/database.cc:21: In file included from ./lib/database-private.h:33: ./lib/notmuch-private.h:478:8: error: visibility does not match previous declaration struct visible _notmuch_string_list { ^ ./lib/notmuch-private.h:67:33: note: expanded from macro 'visible' # define visible __attribute__((visibility("default"))) ^ ./lib/notmuch-private.h:52:13: note: previous attribute is here #pragma GCC visibility push(hidden) ^ 1 error generated. make: *** [lib/parse-time-vrp.o] Error 1 make: *** Waiting for unfinished jobs.... 1 error generated. make: *** [lib/database.o] Error 1 Of course `#pragma GCC` has to mean something and might be a reason why compiling with `CXX=clang++` fails.