summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo.btrfs@gmx.com>2017-08-15 09:17:12 +0900
committerDavid Sterba <dsterba@suse.com>2017-08-24 19:06:33 +0200
commitcd30857cebbb36a9a8c458de419610a46c3f3ca9 (patch)
tree4e26c0cfa9a2c52e79756878a2e0a0d64eac738b /Documentation
parentdab4a85eb5c0a309fedc888355bb51a0e9a5c725 (diff)
btrfs-progs: Specify C standard to gnu90 explicitly
Different C compilers have different default language standard. This sometimes causes problem on different system. For distribution like CentOS/RHEL7, its gcc is still 4.8 and will report error for c90 style declaration, while most developers are using newer gcc which will just ignore it. This makes us hard to detect such language standard problem. This patch will specify standard to gnu90 explicitly to avoid such problem. Gnu90 is a good mix of c90 while provide a lot of useful gnu extension, and is supported by all modern gcc and clang. Reported-by: Marco Lorenzo Crociani <marcoc@prismatelecomtesting.com> Signed-off-by: Qu Wenruo <quwenruo.btrfs@gmx.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions