[MacPorts] #38604: memcached @1.4.14 build fails while libc-headers is active due to -Werror
MacPorts
noreply at macports.org
Sat Mar 30 23:07:31 PDT 2013
#38604: memcached @1.4.14 build fails while libc-headers is active due to -Werror
---------------------+--------------------------------
Reporter: egall@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Keywords: | Port: memcached
---------------------+--------------------------------
An example from the log:
{{{
In file included from memcached.c:43:
/opt/local/include/string.h:172: warning: redundant redeclaration of
‘swab’
/opt/local/include/unistd.h:624: warning: previous declaration of ‘swab’
was here
/usr/bin/llvm-gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG
-I/opt/local/include -I/opt/local/include -m64 -pipe -O2 -arch x86_64
-pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-
declarations -Wredundant-decls -c -o memcached-assoc.o `test -f 'assoc.c'
|| echo './'`assoc.c
make[2]: *** [memcached-items.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [memcached-slabs.o] Error 1
make[2]: *** [memcached-memcached.o] Error 1
cc1: warnings being treated as errors
}}}
I'd vote for just removing the `-Werror` flag.
--
Ticket URL: <https://trac.macports.org/ticket/38604>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list