mnunberg / perl-Couchbase-Client

Perl Client for Couchbase
http://www.couchbase.com
16 stars 11 forks source link

A few warnings when building the library #21

Closed ivulfson closed 10 years ago

ivulfson commented 10 years ago

Not sure if important, I thought I'd report it instead of just ignoring it. Compiling on RHEL6.4 64-bit, gcc 4.4.7.

cp lib/Couchbase/IO/Event.pm blib/lib/Couchbase/IO/Event.pm
cp lib/Couchbase/Constants.pm blib/lib/Couchbase/Constants.pm
cp lib/Couchbase/Test/ClientSync.pm blib/lib/Couchbase/Test/ClientSync.pm
cp lib/Couchbase/Test/Netfail.pm blib/lib/Couchbase/Test/Netfail.pm
cp lib/Couchbase/View/Handle.pm blib/lib/Couchbase/View/Handle.pm
cp lib/Couchbase/Settings.pm blib/lib/Couchbase/Settings.pm
cp lib/Couchbase/IO/Adapter/IOAsync.pm blib/lib/Couchbase/IO/Adapter/IOAsync.pm
cp lib/Couchbase/View.pm blib/lib/Couchbase/View.pm
cp lib/Couchbase/View/HandleInfo.pm blib/lib/Couchbase/View/HandleInfo.pm
cp lib/Couchbase/Core.pm blib/lib/Couchbase/Core.pm
cp lib/Couchbase/Test/Settings.pm blib/lib/Couchbase/Test/Settings.pm
cp lib/Couchbase.pm blib/lib/Couchbase.pm
cp README.pod blib/lib/README.pod
cp lib/Couchbase/Bucket.pm blib/lib/Couchbase/Bucket.pm
cp lib/Couchbase/Test/Views.pm blib/lib/Couchbase/Test/Views.pm
cp lib/Couchbase/OpContext.pm blib/lib/Couchbase/OpContext.pm
cp lib/Couchbase/IO/Constants.pm blib/lib/Couchbase/IO/Constants.pm
cp lib/Couchbase/BucketConfig.pm blib/lib/Couchbase/BucketConfig.pm
cp lib/Couchbase/Test/Common.pm blib/lib/Couchbase/Test/Common.pm
cp lib/Couchbase/Document.pm blib/lib/Couchbase/Document.pm
cp lib/Couchbase/_GlueConstants.pm blib/lib/Couchbase/_GlueConstants.pm
cp lib/Couchbase/MockServer.pm blib/lib/Couchbase/MockServer.pm
/usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp  -typemap /usr/share/perl5/ExtUtils/typemap  xs/Couchbase.xs > xs/Couchbase.xsc && mv xs/Couchbase.xsc xs/Couchbase.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"2.0.0_3\" -DXS_VERSION=\"2.0.0_3\" -o xs/Couchbase.o -fPIC "-I/usr/lib64/perl5/CORE"   xs/Couchbase.c
xs/Couchbase.c: In function ‘XS_Couchbase__Bucket_user_data’:
xs/Couchbase.xs:484: warning: unused variable ‘arg’
xs/Couchbase.xs: In function ‘XS_Couchbase_lcb_version’:
xs/Couchbase.xs:618: warning: value computed is not used
xs/Couchbase.xs:619: warning: value computed is not used
xs/Couchbase.xs:621: warning: value computed is not used
/usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp  -typemap /usr/share/perl5/ExtUtils/typemap  xs/View.xs > xs/View.xsc && mv xs/View.xsc xs/View.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"2.0.0_3\" -DXS_VERSION=\"2.0.0_3\" -o xs/View.o -fPIC "-I/usr/lib64/perl5/CORE"   xs/View.c
/usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp  -typemap /usr/share/perl5/ExtUtils/typemap  xs/BucketConfig.xs > xs/BucketConfig.xsc && mv xs/BucketConfig.xsc xs/BucketConfig.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"2.0.0_3\" -DXS_VERSION=\"2.0.0_3\" -o xs/BucketConfig.o -fPIC "-I/usr/lib64/perl5/CORE"   xs/BucketConfig.c
/usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp  -typemap /usr/share/perl5/ExtUtils/typemap  xs/IO.xs > xs/IO.xsc && mv xs/IO.xsc xs/IO.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"2.0.0_3\" -DXS_VERSION=\"2.0.0_3\" -o xs/IO.o -fPIC "-I/usr/lib64/perl5/CORE"   xs/IO.c
xs/IO.xs: In function ‘XS_Couchbase__IO_data’:
xs/IO.xs:18: warning: statement with no effect
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"2.0.0_3\" -DXS_VERSION=\"2.0.0_3\" -o xs/args.o -fPIC "-I/usr/lib64/perl5/CORE"   xs/args.c
xs/args.c: In function ‘load_doc_options’:
xs/args.c:198: warning: comparison with string literal results in unspecified behavior
xs/args.c:200: warning: comparison with string literal results in unspecified behavior
xs/args.c:202: warning: comparison with string literal results in unspecified behavior
xs/args.c:204: warning: comparison with string literal results in unspecified behavior
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"2.0.0_3\" -DXS_VERSION=\"2.0.0_3\" -o xs/async.o -fPIC "-I/usr/lib64/perl5/CORE"   xs/async.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"2.0.0_3\" -DXS_VERSION=\"2.0.0_3\" -o xs/callbacks.o -fPIC "-I/usr/lib64/perl5/CORE"   xs/callbacks.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"2.0.0_3\" -DXS_VERSION=\"2.0.0_3\" -o xs/constants.o -fPIC "-I/usr/lib64/perl5/CORE"   xs/constants.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"2.0.0_3\" -DXS_VERSION=\"2.0.0_3\" -o xs/convert.o -fPIC "-I/usr/lib64/perl5/CORE"   xs/convert.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"2.0.0_3\" -DXS_VERSION=\"2.0.0_3\" -o xs/operations.o -fPIC "-I/usr/lib64/perl5/CORE"   xs/operations.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"2.0.0_3\" -DXS_VERSION=\"2.0.0_3\" -o xs/opcontext.o -fPIC "-I/usr/lib64/perl5/CORE"   xs/opcontext.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"2.0.0_3\" -DXS_VERSION=\"2.0.0_3\" -o xs/viewhandle.o -fPIC "-I/usr/lib64/perl5/CORE"   xs/viewhandle.c
Running Mkbootstrap for Couchbase ()
chmod 644 Couchbase.bs
rm -f blib/arch/auto/Couchbase/Couchbase.so
gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic xs/Couchbase.o xs/View.o xs/BucketConfig.o xs/IO.o xs/args.o xs/async.o xs/callbacks.o xs/constants.o xs/convert.o xs/operations.o xs/opcontext.o xs/viewhandle.o  -o blib/arch/auto/Couchbase/Couchbase.so    \
       -lcouchbase      \

chmod 755 blib/arch/auto/Couchbase/Couchbase.so
cp Couchbase.bs blib/arch/auto/Couchbase/Couchbase.bs
chmod 644 blib/arch/auto/Couchbase/Couchbase.bs
Manifying blib/man3/Couchbase.3pm
Manifying blib/man3/Couchbase::Constants.3pm
Manifying blib/man3/README.3pm
Manifying blib/man3/Couchbase::View::Handle.3pm
Manifying blib/man3/Couchbase::Settings.3pm
Manifying blib/man3/Couchbase::View::HandleInfo.3pm
Manifying blib/man3/Couchbase::Bucket.3pm
Manifying blib/man3/Couchbase::OpContext.3pm
Manifying blib/man3/Couchbase::Document.3pm