Compilation warning levels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi David,

I'm curious about your compilation flags since they apparently show warnings I do not see :-) Here is what I have, with gcc version 4.8.2

/bin/bash ../libtool  --tag=CXX   --mode=compile ccache g++ -DHAVE_CONFIG_H -I.  -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -D__STDC_FORMAT_MACROS -D_GNU_SOURCE -DCEPH_LIBDIR=\"/usr/local/lib\" -DCEPH_PKGLIBDIR=\"/usr/local/lib/ceph\" -DGTEST_HAS_TR1_TUPLE=0  -Wall -Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith -Werror=format-security -fno-strict-aliasing -fsigned-char -rdynamic -ftemplate-depth-1024 -Wnon-virtual-dtor -Wno-invalid-offsetof   -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -Wstrict-null-sentinel -Wuninitialized -Wall -g -MT erasure-code/lrc/libec_lrc_la-ErasureCodeLrc.lo -MD -MP -MF erasure-code/lrc/.deps/libec_lrc_la-ErasureCodeLrc.Tpo -c -o erasure-code/lrc/libec_lrc_la-ErasureCodeLrc.lo `test -f 'erasure-code/lrc/ErasureCodeLrc.cc' || echo './'`erasure-code/lrc/ErasureCodeLrc.cc

and it fails to notice the warning that requires this patch https://github.com/ceph/ceph/pull/2393/files

Cheers

-- 
Loïc Dachary, Artisan Logiciel Libre

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux