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!