* Compiling fails
@ 2013-04-18 10:25 Simonas Kazlauskas
2013-04-18 11:44 ` David Bremner
0 siblings, 1 reply; 4+ messages in thread
From: Simonas Kazlauskas @ 2013-04-18 10:25 UTC (permalink / raw)
To: notmuch
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compiling fails
2013-04-18 10:25 Compiling fails Simonas Kazlauskas
@ 2013-04-18 11:44 ` David Bremner
2013-04-18 12:58 ` Jani Nikula
2013-08-17 21:35 ` Jani Nikula
0 siblings, 2 replies; 4+ messages in thread
From: David Bremner @ 2013-04-18 11:44 UTC (permalink / raw)
To: Simonas Kazlauskas, notmuch
Simonas Kazlauskas <s@kazlauskas.me> writes:
> Of course `#pragma GCC` has to mean something and might be a reason why
> compiling with `CXX=clang++` fails.
Yep. clang is not currently supported. I'm not sure how difficult it
would be to get working.
d
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compiling fails
2013-04-18 11:44 ` David Bremner
@ 2013-04-18 12:58 ` Jani Nikula
2013-08-17 21:35 ` Jani Nikula
1 sibling, 0 replies; 4+ messages in thread
From: Jani Nikula @ 2013-04-18 12:58 UTC (permalink / raw)
To: David Bremner, Simonas Kazlauskas, notmuch
On Thu, 18 Apr 2013, David Bremner <david@tethera.net> wrote:
> Simonas Kazlauskas <s@kazlauskas.me> writes:
>
>> Of course `#pragma GCC` has to mean something and might be a reason why
>> compiling with `CXX=clang++` fails.
>
> Yep. clang is not currently supported. I'm not sure how difficult it
> would be to get working.
Works for me.
J.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compiling fails
2013-04-18 11:44 ` David Bremner
2013-04-18 12:58 ` Jani Nikula
@ 2013-08-17 21:35 ` Jani Nikula
1 sibling, 0 replies; 4+ messages in thread
From: Jani Nikula @ 2013-08-17 21:35 UTC (permalink / raw)
To: David Bremner, Simonas Kazlauskas, notmuch
On Thu, 18 Apr 2013, David Bremner <david@tethera.net> wrote:
> Simonas Kazlauskas <s@kazlauskas.me> writes:
>
>> Of course `#pragma GCC` has to mean something and might be a reason why
>> compiling with `CXX=clang++` fails.
>
> Yep. clang is not currently supported. I'm not sure how difficult it
> would be to get working.
For reference, this should fix the build:
id:1376775001-16528-1-git-send-email-jani@nikula.org
J.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-08-17 21:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-18 10:25 Compiling fails Simonas Kazlauskas
2013-04-18 11:44 ` David Bremner
2013-04-18 12:58 ` Jani Nikula
2013-08-17 21:35 ` Jani Nikula
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).