git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [BUG] imap-send.c fails to build on OSX

From
Randal L. Schwartz <merlyn@stonehenge.com>
Date
Mar 12, 2006, 19:08 UTC
Message-ID
<86k6azjxb3.fsf@blue.stonehenge.com>
In-Reply-To
<863bhnlo3r.fsf@blue.stonehenge.com>
>>>>> "Randal" == Randal L Schwartz <merlyn@stonehenge.com> writes:

Randal> gcc -o imap-send.o -c -g -O2 -Wall -I/sw/include -I/opt/local/include -DSHA1_HEADER='<openssl/sha.h>' imap-send.c Randal> imap-send.c:376: error: static declaration of 'vasprintf' follows non-static declaration Randal> /usr/include/stdio.h:297: error: previous declaration of 'vasprintf' was here Randal> make: *** [imap-send.o] Error 1

By the way, /usr/include/stdio.h near the line in question looks like:
int      vasprintf(char **, const char *, va_list) __DARWIN_LDBL_COMPAT(vasprintf);
-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
Previous: Randal L. SchwartzNext: Shawn Pearce
Message 2 of 5 in “[BUG] imap-send.c fails to build on OSX”
  1. Randal L. SchwartzMar 12, 2006
  2. Randal L. SchwartzMar 12, 2006
  3. Shawn PearceMar 13, 2006
  4. Randal L. SchwartzMar 13, 2006
  5. Shawn PearceMar 13, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.