Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(285)

Side by Side Diff: gypfiles/standalone.gypi

Issue 1952703002: Turn on -Wmissing-field-initializers on Linux. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/wasm/module-decoder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ 703 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
704 or OS=="netbsd" or OS=="aix"', { 704 or OS=="netbsd" or OS=="aix"', {
705 'target_defaults': { 705 'target_defaults': {
706 'cflags': [ 706 'cflags': [
707 '-Wall', 707 '-Wall',
708 '<(werror)', 708 '<(werror)',
709 '-Wno-unused-parameter', 709 '-Wno-unused-parameter',
710 '-Wno-long-long', 710 '-Wno-long-long',
711 '-pthread', 711 '-pthread',
712 '-pedantic', 712 '-pedantic',
713 # Don't warn about the "struct foo f = {0};" initialization pattern. 713 '-Wmissing-field-initializers',
Jakob Kummerow 2016/05/04 16:48:12 Omitting this entirely appears to *not* turn on th
714 '-Wno-missing-field-initializers',
715 '-Wno-gnu-zero-variadic-macro-arguments', 714 '-Wno-gnu-zero-variadic-macro-arguments',
716 ], 715 ],
717 'cflags_cc': [ 716 'cflags_cc': [
718 '-Wnon-virtual-dtor', 717 '-Wnon-virtual-dtor',
719 '-fno-exceptions', 718 '-fno-exceptions',
720 '-fno-rtti', 719 '-fno-rtti',
721 '-std=gnu++11', 720 '-std=gnu++11',
722 ], 721 ],
723 'ldflags': [ '-pthread', ], 722 'ldflags': [ '-pthread', ],
724 'conditions': [ 723 'conditions': [
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after
1452 '-fsanitize=cfi-vcall', 1451 '-fsanitize=cfi-vcall',
1453 '-fsanitize=cfi-derived-cast', 1452 '-fsanitize=cfi-derived-cast',
1454 '-fsanitize=cfi-unrelated-cast', 1453 '-fsanitize=cfi-unrelated-cast',
1455 ], 1454 ],
1456 }], 1455 }],
1457 ], 1456 ],
1458 }, 1457 },
1459 }], 1458 }],
1460 ], 1459 ],
1461 } 1460 }
OLDNEW
« no previous file with comments | « no previous file | src/wasm/module-decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698