unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Simonas Kazlauskas <s@kazlauskas.me>
To: notmuch@notmuchmail.org
Subject: Compiling fails
Date: Thu, 18 Apr 2013 13:25:07 +0300	[thread overview]
Message-ID: <20130418102507.GA23688@godbox> (raw)

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.

             reply	other threads:[~2013-04-18 10:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-18 10:25 Simonas Kazlauskas [this message]
2013-04-18 11:44 ` Compiling fails David Bremner
2013-04-18 12:58   ` Jani Nikula
2013-08-17 21:35   ` Jani Nikula

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130418102507.GA23688@godbox \
    --to=s@kazlauskas.me \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).