unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Mac OS X/Darwin compatibility issues
@ 2009-11-18  3:50 Jjgod Jiang
  2009-11-18  5:45 ` Alexander Botero-Lowry
  2009-11-18 22:27 ` Carl Worth
  0 siblings, 2 replies; 9+ messages in thread
From: Jjgod Jiang @ 2009-11-18  3:50 UTC (permalink / raw)
  To: notmuch

Hi,

When I tried to compile notmuch under Mac OS X 10.6, several issues
arisen:

1. g++ reports 'warning: command line option "-Wmissing-declarations"
is valid for C/ObjC but not for C++'

2.
notmuch-reply.c: In function ‘address_is_users’:
notmuch-reply.c:87: warning: passing argument 2 of
‘notmuch_config_get_user_other_email’ from incompatible pointer type

That's due to the size incompatibility of 'unsigned int' and 'size_t'
(size_t is uint64_t in Mac OS X).

3. Several errors about missing GNU extensions like getline() and strndup():

warning: implicit declaration of function ‘getline’
error: ‘strndup’ was not declared in this scope

We can implement these with fgets() and strncpy() though.

- Jiang

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-11-19 11:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-18  3:50 Mac OS X/Darwin compatibility issues Jjgod Jiang
2009-11-18  5:45 ` Alexander Botero-Lowry
2009-11-18  6:14   ` Jjgod Jiang
2009-11-18  6:19     ` Alexander Botero-Lowry
2009-11-18 22:27 ` Carl Worth
2009-11-18 23:45   ` Stewart Smith
2009-11-19  0:24     ` Alexander Botero-Lowry
2009-11-19  5:42       ` Stewart Smith
2009-11-19 11:34         ` Carl Worth

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).