[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
getopt compilation problem
From: |
Reuben Thomas |
Subject: |
getopt compilation problem |
Date: |
Mon, 5 Oct 2009 20:28:03 +0100 |
Using getopt-posix on FreeBSD 6, with current git gnulib, I get the
following compilation error:
/usr/bin/cc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
-I/usr/local/include -Wall -W -Wmissing-prototypes -Wstrict-prototypes
-D_FORTIFY_SOURCE=2 -MT getopt.o -MD -MP -MF .deps/getopt.Tpo -c -o
getopt.o getopt.c
In file included from getopt.c:62:
getopt_int.h:25: error: conflicting types for '_getopt_internal'
/usr/local/include/getopt.h:128: error: previous declaration of
'_getopt_internal' was here
getopt_int.h:25: error: conflicting types for '_getopt_internal'
/usr/local/include/getopt.h:128: error: previous declaration of
'_getopt_internal' was here
getopt.c:228: warning: unused parameter 'argc'
getopt.c:228: warning: unused parameter 'argv'
make[4]: *** [getopt.o] Error 1
I'm not sure if this is a bug or if I'm doing something wrong.
--
http://rrt.sc3d.org
Belief marks the line at which our thinking stops (Carse)
- getopt compilation problem,
Reuben Thomas <=