Fix gnbd/server build warning
PATCH 1/1 Fix gnbd/server build warning
gcc -Wall -I/usr/src/ubuntu/mypkgs/rhcluster/cluster/config -DRELEASE_VERSION=\"DEVEL.1188196448\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/src/ubuntu/mypkgs/rhcluster/cluster/gnbd-kernel/src -I/usr/src/ubuntu/mypkgs/rhcluster/cluster/cman/lib -I../include -I../utils -I/usr/include -c -o gserv.o gserv.c
gserv.c:15:1: warning: "__USE_XOPEN2K" redefined
In file included from /usr/include/unistd.h:26,
from gserv.c:13:
/usr/include/features.h:218:1: warning: this is the location of the previous definition
the patch in attachment will fix the warning and retain backwards compatibility.
Please apply or ACK.
Thanks
Fabio
Signature · 5 lines
I'm going to make him an offer he can't refuse. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: gnbd_server.diff URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20070829/9916eca3/attachment.ksh>
PATCH 1/1 Fix gnbd/server build warning
Quoted 8 lines · Fabio Massimo Di Nitto
gcc -Wall -I/usr/src/ubuntu/mypkgs/rhcluster/cluster/config
(quoted diff) +0
-4-DRELEASE_VERSION=\"DEVEL.1188196448\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/src/ubuntu/mypkgs/rhcluster/cluster/gnbd-kernel/src -I/usr/src/ubuntu/mypkgs/rhcluster/cluster/cman/lib -I../include -I../utils -I/usr/include -c -o gserv.o gserv.cgserv.c:15:1: warning: "
__USE_XOPEN2K" redefined
In file included from/usr/include/unistd.h:26,
Quoted 7 lines
from gserv.c:13:
/usr/include/features.h:218:1: warning: this is the location of the previous definitionthe patch in attachment will fix the warning and retain backwards compatibility.
Please apply or ACK.
Ack.
Signature · 1 line
Lon Hohberger - Software Engineer - Red Hat, Inc.