From: Randal L. Schwartz Date: Sun, 12 Mar 2006 19:08:16 GMT Subject: Re: [BUG] imap-send.c fails to build on OSX Message-ID: <86k6azjxb3.fsf@blue.stonehenge.com> In-Reply-To: <863bhnlo3r.fsf@blue.stonehenge.com> >>>>> "Randal" == Randal L Schwartz writes: Randal> gcc -o imap-send.o -c -g -O2 -Wall -I/sw/include -I/opt/local/include -DSHA1_HEADER='' 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 Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!