e2fsprogs/debugfs
Li Dongyang fddc423dc6 Fix compile error and warnings for old gcc versions
-Wimplicit-fallthrough option was added in gcc7 and
-Wpedantic was added in gcc4.8, while #pragma GCC diagnostic
support was not available until gcc4.6

We got following warnings:
../lib/ext2fs/fiemap.h:35: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
../lib/ext2fs/fiemap.h:36: warning: unknown option after ‘#pragma GCC diagnostic’ kind
../lib/ext2fs/fiemap.h:38: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’

and error:
filefrag.c: In function ‘main’:
filefrag.c:577: error: #pragma GCC diagnostic not allowed inside functions
filefrag.c:578: error: #pragma GCC diagnostic not allowed inside functions
filefrag.c:595: error: #pragma GCC diagnostic not allowed inside functions

when compiling latest e2fsprogs with a gcc older than 4.6
e.g. on CentOS 6.9

Signed-off-by: Li Dongyang <dongyangli@ddn.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2018-07-14 20:46:30 -04:00
..
Android.bp AOSP: use e2fsprogs-defaults for ccflags 2018-02-26 13:54:20 -05:00
debug_cmds.ct debugfs: add the debugfs copy_inode subcommand 2016-08-31 18:13:16 -04:00
debugfs.8.in debugfs: add support to display details of extended attribute structures 2018-06-13 18:41:45 -04:00
debugfs.c tests, mke2fs: add option to suppress xattr copying to fix f_extent_htree 2018-06-26 15:21:28 -04:00
debugfs.h Fix gcc and clang warnings 2018-06-23 23:00:50 -04:00
do_journal.c Add missing information to debugfs man pages and usage texts 2017-12-15 00:28:58 -05:00
dump.c Use i_size to determine whether a symlink is a fast symlink 2017-07-05 00:06:30 -04:00
extent_cmds.ct debugfs: add the ability to manipulate the extent tree directly 2012-12-24 10:49:41 -05:00
extent_inode.c debugfs: handle out of memory condition 2015-07-22 00:17:08 -04:00
filefrag.c debugfs: clean up feature test macros with predicate functions 2015-10-24 01:26:35 -04:00
htree.c Merge branch 'maint' into next 2017-10-15 23:20:53 -04:00
icheck.c debugfs: restore and tweak original error messaging 2013-12-30 16:56:19 -05:00
journal.c tune2fs/fuse2fs/debugfs: after replaying the journal, fix up s_lastcheck 2018-02-24 18:11:19 -05:00
journal.h debugfs: cleanup gcc -Wall warnings 2015-07-13 16:00:12 -04:00
logdump.c Add missing information to debugfs man pages and usage texts 2017-12-15 00:28:58 -05:00
ls.c Add missing information to debugfs man pages and usage texts 2017-12-15 00:28:58 -05:00
lsdel.c Fix various clang and gcc -Wall warnings 2016-03-18 12:45:19 -04:00
Makefile.in Update Makefile.in files using "make depend" 2018-06-25 10:10:39 -04:00
ncheck.c debugfs: fix ncheck program output 2017-12-13 10:59:39 -05:00
quota.c e2fsprogs: enable project quota reporting in debugfs 2017-01-30 12:34:16 -05:00
ro_debug_cmds.ct debugfs: add commands to query the quota information 2014-05-13 10:13:19 -04:00
set_fields.c Fix compile error and warnings for old gcc versions 2018-07-14 20:46:30 -04:00
unused.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
util.c Fix typos in code comments and developer docs 2017-10-15 23:00:11 -04:00
xattrs.c Fix gcc and clang warnings 2018-06-23 23:00:50 -04:00
zap.c debugfs: add support to display details of extended attribute structures 2018-06-13 18:41:45 -04:00