Comment 8 for bug 404687

Revision history for this message
Ross M. (rwmcfa1) wrote : Re: [Bug 404687] [NEW] patch for freebsd support in drizzle

On Sun, Jul 26, 2009 at 12:24 PM, Monty Taylor<email address hidden> wrote:

> gnulib/getopt.c:
>  It's a file provided by gnulib, so I'd like to not patch it if we can.
> Was the char *const *argv breaking FreeBSD? (Don't, btw, get me started
> on why _getopt_internal doesn't take char *const *argv itself. sloppy)

...
g-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align
-I/usr/local/include -D__APPLE_CC__ -MT getopt.lo -MD -MP -MF
.deps/getopt.Tpo -c getopt.c -fPIC -DPIC -o .libs/getopt.o
getopt.c:1115: error: conflicting types for 'rpl_getopt'
getopt.h:205: error: previous declaration of 'rpl_getopt' was here
*** Error code 1

there doesn't seem to be a way around it :( i guess the freebsd
version of gcc is more particular, which we've seen at work.)

--
-rm