Skip to content

Commit 2a41604

Browse files
committed
Update flags.
(cherry picked from commit 82a6e34)
1 parent 032c68c commit 2a41604

1 file changed

Lines changed: 75 additions & 25 deletions

File tree

generate.xml

Lines changed: 75 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -112,19 +112,24 @@
112112

113113
<flag name="std=c++11" comment="Require c++11 for all c++ products." context="c++" />
114114

115-
<!-- boost -->
116-
<flag name="Wno-deprecated-declarations" compiler="gcc" comment="Clean up boost 1.55 headers." context="c++" />
117-
118115
<flag name="Wall" comment="Warn on all stuff." context="c" />
116+
<flag name="Wall" comment="Warn on all stuff." context="c++" />
119117
<flag name="Wextra" comment="Warn on extra stuff." context="c" />
118+
<flag name="Wextra" comment="Warn on extra stuff." context="c++" />
120119
<flag name="Wpedantic" alternate="pedantic" comment="Be really annoying." context="c" />
121-
<flag name="Wno-long-long" comment="Allow use of C99 'long long' type." context="c" />
120+
<flag name="Wpedantic" alternate="pedantic" comment="Be really annoying." context="c++" />
121+
<flag name="Wno-reorder" comment="Disallow warning on style order of declarations." context="c++" />
122+
<flag name="Wno-missing-field-initializers" comment="Suppress warning for incomplete field initialization." context="c++" />
122123
<flag name="Wno-missing-braces" comment="Conform to style." context="c++" />
123124
<flag name="Wno-mismatched-tags" compiler="clang" comment="Conflict in stdlib under clang." context="c++" />
124125

126+
<flag name="Wno-long-long" comment="Allow use of C99 'long long' type." context="c" />
127+
<flag name="Wno-comment" comment="Allow for multi-line commenting." context="c++" />
128+
<flag name="Wno-type-limits" comment="Disallow warning always true conditions related to types (allows generalization related to constants)." context="c++" />
129+
125130
<flag name="fstack-protector" comment="Protect stack." context="link" />
126131
<flag name="fstack-protector-all" comment="Protect stack comprehensively." context="link" />
127-
<flag name="fvisibility-hidden" compiler="gcc" comment="Hide internal functions from external libs." context="c++" />
132+
<!-- <flag name="fvisibility=hidden" compiler="gcc" comment="Hide internal functions from external libs." context="c++" /> -->
128133
<flag name="fvisibility-inlines-hidden" compiler="gcc" comment="Hide inlines from external libs." context="c++" />
129134
<flag name="fno-var-tracking-assignments" compiler="gcc" comment="Limit delays and warnings." context="c++" />
130135

@@ -341,18 +346,23 @@
341346
<flag name="std=c++11" comment="Require c++11 for all c++ products." context="c++" />
342347

343348
<flag name="Wall" comment="Warn on all stuff." context="c" />
349+
<flag name="Wall" comment="Warn on all stuff." context="c++" />
344350
<flag name="Wextra" comment="Warn on extra stuff." context="c" />
351+
<flag name="Wextra" comment="Warn on extra stuff." context="c++" />
345352
<flag name="Wpedantic" alternate="pedantic" comment="Be really annoying." context="c" />
353+
<flag name="Wpedantic" alternate="pedantic" comment="Be really annoying." context="c++" />
354+
<flag name="Wno-reorder" comment="Disallow warning on style order of declarations." context="c++" />
355+
<flag name="Wno-missing-field-initializers" comment="Suppress warning for incomplete field initialization." context="c++" />
346356
<flag name="Wno-missing-braces" comment="Conform to style." context="c++" />
347357
<flag name="Wno-mismatched-tags" compiler="clang" comment="Conflict in stdlib under clang." context="c++" />
348358

349359
<!-- boost -->
350-
<flag name="Wno-deprecated-declarations" compiler="gcc" comment="Clean up boost 1.55 headers." context="c++" />
351-
<flag name="Wno-redeclared-class-member" compiler="clang" comment="Clean up boost 1.55 headers." context="c++" />
360+
<!-- <flag name="Wno-deprecated-declarations" compiler="gcc" comment="Clean up boost 1.55 headers." context="c++" /> -->
361+
<!-- <flag name="Wno-redeclared-class-member" compiler="clang" comment="Clean up boost 1.55 headers." context="c++" /> -->
352362

353363
<flag name="fstack-protector" comment="Protect stack." context="link" />
354364
<flag name="fstack-protector-all" comment="Protect stack comprehensively." context="link" />
355-
<flag name="fvisibility-hidden" compiler="gcc" comment="Hide internal functions from external libs." context="c++" />
365+
<!-- <flag name="fvisibility=hidden" compiler="gcc" comment="Hide internal functions from external libs." context="c++" /> -->
356366
<flag name="fvisibility-inlines-hidden" compiler="gcc" comment="Hide inlines from external libs." context="c++" />
357367
</configure>
358368

@@ -513,17 +523,22 @@
513523
<flag name="std=c++11" comment="Require c++11 for all c++ products." context="c++" />
514524

515525
<flag name="Wall" comment="Warn on all stuff." context="c" />
526+
<flag name="Wall" comment="Warn on all stuff." context="c++" />
516527
<flag name="Wextra" comment="Warn on extra stuff." context="c" />
528+
<flag name="Wextra" comment="Warn on extra stuff." context="c++" />
517529
<flag name="Wpedantic" alternate="pedantic" comment="Be really annoying." context="c" />
530+
<flag name="Wpedantic" alternate="pedantic" comment="Be really annoying." context="c++" />
531+
<flag name="Wno-reorder" comment="Disallow warning on style order of declarations." context="c++" />
532+
<flag name="Wno-missing-field-initializers" comment="Suppress warning for incomplete field initialization." context="c++" />
518533
<flag name="Wno-missing-braces" comment="Conform to style." context="c++" />
519534
<flag name="Wno-mismatched-tags" compiler="clang" comment="Conflict in stdlib under clang." context="c++" />
520535

521536
<!-- boost -->
522-
<flag name="Wno-deprecated-declarations" compiler="gcc" comment="Clean up boost 1.55 headers." context="c++" />
537+
<!-- <flag name="Wno-deprecated-declarations" compiler="gcc" comment="Clean up boost 1.55 headers." context="c++" /> -->
523538

524539
<flag name="fstack-protector" comment="Protect stack." context="link" />
525540
<flag name="fstack-protector-all" comment="Protect stack comprehensively." context="link" />
526-
<flag name="fvisibility-hidden" compiler="gcc" comment="Hide internal functions from external libs." context="c++" />
541+
<!-- <flag name="fvisibility=hidden" compiler="gcc" comment="Hide internal functions from external libs." context="c++" /> -->
527542
<flag name="fvisibility-inlines-hidden" compiler="gcc" comment="Hide inlines from external libs." context="c++" />
528543
</configure>
529544

@@ -730,15 +745,20 @@
730745
<flag name="std=c++11" comment="Require c++11 for all c++ products." context="c++" />
731746

732747
<flag name="Wall" comment="Warn on all stuff." context="c" />
748+
<flag name="Wall" comment="Warn on all stuff." context="c++" />
733749
<flag name="Wextra" comment="Warn on extra stuff." context="c" />
750+
<flag name="Wextra" comment="Warn on extra stuff." context="c++" />
734751
<flag name="Wpedantic" alternate="pedantic" comment="Be really annoying." context="c" />
752+
<flag name="Wpedantic" alternate="pedantic" comment="Be really annoying." context="c++" />
753+
<flag name="Wno-reorder" comment="Disallow warning on style order of declarations." context="c++" />
754+
<flag name="Wno-missing-field-initializers" comment="Suppress warning for incomplete field initialization." context="c++" />
735755
<flag name="Wno-missing-braces" comment="Conform to style." context="c++" />
736756
<flag name="Wno-mismatched-tags" compiler="clang" comment="Conflict in stdlib under clang." context="c++" />
737757

738758
<!-- boost -->
739759
<flag name="fstack-protector" comment="Protect stack." context="link" />
740760
<flag name="fstack-protector-all" comment="Protect stack comprehensively." context="link" />
741-
<flag name="fvisibility-hidden" compiler="gcc" comment="Hide internal functions from external libs." context="c++" />
761+
<!-- <flag name="fvisibility=hidden" compiler="gcc" comment="Hide internal functions from external libs." context="c++" /> -->
742762
<flag name="fvisibility-inlines-hidden" compiler="gcc" comment="Hide inlines from external libs." context="c++" />
743763
</configure>
744764

@@ -905,18 +925,23 @@
905925
<flag name="std=c++11" comment="Require c++11 for all c++ products." context="c++" />
906926

907927
<flag name="Wall" comment="Warn on all stuff." context="c" />
928+
<flag name="Wall" comment="Warn on all stuff." context="c++" />
908929
<flag name="Wextra" comment="Warn on extra stuff." context="c" />
930+
<flag name="Wextra" comment="Warn on extra stuff." context="c++" />
909931
<flag name="Wpedantic" alternate="pedantic" comment="Be really annoying." context="c" />
932+
<flag name="Wpedantic" alternate="pedantic" comment="Be really annoying." context="c++" />
933+
<flag name="Wno-reorder" comment="Disallow warning on style order of declarations." context="c++" />
934+
<flag name="Wno-missing-field-initializers" comment="Suppress warning for incomplete field initialization." context="c++" />
910935
<flag name="Wno-missing-braces" comment="Conform to style." context="c++" />
911936
<flag name="Wno-mismatched-tags" compiler="clang" comment="Conflict in stdlib under clang." context="c++" />
912937

913938
<!-- boost -->
914-
<flag name="Wno-deprecated-declarations" compiler="gcc" comment="Clean up boost 1.55 headers." context="c++" />
915-
<flag name="Wno-redeclared-class-member" compiler="clang" comment="Clean up boost 1.55 headers." context="c++" />
939+
<!-- <flag name="Wno-deprecated-declarations" compiler="gcc" comment="Clean up boost 1.55 headers." context="c++" /> -->
940+
<!-- <flag name="Wno-redeclared-class-member" compiler="clang" comment="Clean up boost 1.55 headers." context="c++" /> -->
916941

917942
<flag name="fstack-protector" comment="Protect stack." context="link" />
918943
<flag name="fstack-protector-all" comment="Protect stack comprehensively." context="link" />
919-
<flag name="fvisibility-hidden" compiler="gcc" comment="Hide internal functions from external libs." context="c++" />
944+
<!-- <flag name="fvisibility=hidden" compiler="gcc" comment="Hide internal functions from external libs." context="c++" /> -->
920945
<flag name="fvisibility-inlines-hidden" compiler="gcc" comment="Hide inlines from external libs." context="c++" />
921946
</configure>
922947

@@ -1067,20 +1092,25 @@
10671092
<flag name="std=c++11" comment="Require c++11 for all c++ products." context="c++" />
10681093

10691094
<flag name="Wall" comment="Warn on all stuff." context="c" />
1095+
<flag name="Wall" comment="Warn on all stuff." context="c++" />
10701096
<flag name="Wextra" comment="Warn on extra stuff." context="c" />
1097+
<flag name="Wextra" comment="Warn on extra stuff." context="c++" />
10711098
<flag name="Wpedantic" alternate="pedantic" comment="Be really annoying." context="c" />
1099+
<flag name="Wpedantic" alternate="pedantic" comment="Be really annoying." context="c++" />
1100+
<flag name="Wno-reorder" comment="Disallow warning on style order of declarations." context="c++" />
1101+
<flag name="Wno-missing-field-initializers" comment="Suppress warning for incomplete field initialization." context="c++" />
10721102
<flag name="Wno-missing-braces" comment="Conform to style." context="c++" />
10731103
<flag name="Wno-mismatched-tags" compiler="clang" comment="Conflict in stdlib under clang." context="c++" />
10741104

10751105
<!-- boost -->
1076-
<flag name="Wno-deprecated-declarations" compiler="gcc" comment="Clean up boost 1.55 headers." context="c++" />
1106+
<!-- <flag name="Wno-deprecated-declarations" compiler="gcc" comment="Clean up boost 1.55 headers." context="c++" /> -->
10771107

10781108
<!-- bx -->
10791109
<flag name="Wno-unused-parameter" comment="Clean up bx generated code." context="c++" />
10801110

10811111
<flag name="fstack-protector" comment="Protect stack." context="link" />
10821112
<flag name="fstack-protector-all" comment="Protect stack comprehensively." context="link" />
1083-
<flag name="fvisibility-hidden" compiler="gcc" comment="Hide internal functions from external libs." context="c++" />
1113+
<!-- <flag name="fvisibility=hidden" compiler="gcc" comment="Hide internal functions from external libs." context="c++" /> -->
10841114
<flag name="fvisibility-inlines-hidden" compiler="gcc" comment="Hide inlines from external libs." context="c++" />
10851115
</configure>
10861116

@@ -1317,14 +1347,19 @@
13171347
<flag name="std=c++11" comment="Require c++11 for all c++ products." context="c++" />
13181348

13191349
<flag name="Wall" comment="Warn on all stuff." context="c" />
1350+
<flag name="Wall" comment="Warn on all stuff." context="c++" />
13201351
<flag name="Wextra" comment="Warn on extra stuff." context="c" />
1352+
<flag name="Wextra" comment="Warn on extra stuff." context="c++" />
13211353
<flag name="Wpedantic" alternate="pedantic" comment="Be really annoying." context="c" />
1354+
<flag name="Wpedantic" alternate="pedantic" comment="Be really annoying." context="c++" />
1355+
<flag name="Wno-reorder" comment="Disallow warning on style order of declarations." context="c++" />
1356+
<flag name="Wno-missing-field-initializers" comment="Suppress warning for incomplete field initialization." context="c++" />
13221357
<flag name="Wno-missing-braces" comment="Conform to style." context="c++" />
13231358
<flag name="Wno-mismatched-tags" compiler="clang" comment="Conflict in stdlib under clang." context="c++" />
13241359

13251360
<flag name="fstack-protector" comment="Protect stack." context="link" />
13261361
<flag name="fstack-protector-all" comment="Protect stack comprehensively." context="link" />
1327-
<flag name="fvisibility-hidden" compiler="gcc" comment="Hide internal functions from external libs." context="c++" />
1362+
<!-- <flag name="fvisibility=hidden" compiler="gcc" comment="Hide internal functions from external libs." context="c++" /> -->
13281363
<flag name="fvisibility-inlines-hidden" compiler="gcc" comment="Hide inlines from external libs." context="c++" />
13291364
</configure>
13301365

@@ -1475,18 +1510,23 @@
14751510
<flag name="std=c++11" comment="Require c++11 for all c++ products." context="c++" />
14761511

14771512
<flag name="Wall" comment="Warn on all stuff." context="c" />
1513+
<flag name="Wall" comment="Warn on all stuff." context="c++" />
14781514
<flag name="Wextra" comment="Warn on extra stuff." context="c" />
1515+
<flag name="Wextra" comment="Warn on extra stuff." context="c++" />
14791516
<flag name="Wpedantic" alternate="pedantic" comment="Be really annoying." context="c" />
1517+
<flag name="Wpedantic" alternate="pedantic" comment="Be really annoying." context="c++" />
1518+
<flag name="Wno-reorder" comment="Disallow warning on style order of declarations." context="c++" />
1519+
<flag name="Wno-missing-field-initializers" comment="Suppress warning for incomplete field initialization." context="c++" />
14801520
<flag name="Wno-missing-braces" comment="Conform to style." context="c++" />
14811521
<flag name="Wno-mismatched-tags" compiler="clang" comment="Conflict in stdlib under clang." context="c++" />
14821522

14831523
<!-- boost -->
1484-
<flag name="Wno-deprecated-declarations" compiler="gcc" comment="Clean up boost 1.55 headers." context="c++" />
1485-
<flag name="Wno-redeclared-class-member" compiler="clang" comment="Clean up boost 1.55 headers." context="c++" />
1524+
<!-- <flag name="Wno-deprecated-declarations" compiler="gcc" comment="Clean up boost 1.55 headers." context="c++" /> -->
1525+
<!-- <flag name="Wno-redeclared-class-member" compiler="clang" comment="Clean up boost 1.55 headers." context="c++" /> -->
14861526

14871527
<flag name="fstack-protector" comment="Protect stack." context="link" />
14881528
<flag name="fstack-protector-all" comment="Protect stack comprehensively." context="link" />
1489-
<flag name="fvisibility-hidden" compiler="gcc" comment="Hide internal functions from external libs." context="c++" />
1529+
<!-- <flag name="fvisibility=hidden" compiler="gcc" comment="Hide internal functions from external libs." context="c++" /> -->
14901530
<flag name="fvisibility-inlines-hidden" compiler="gcc" comment="Hide inlines from external libs." context="c++" />
14911531
</configure>
14921532

@@ -1675,17 +1715,22 @@
16751715
<flag name="std=c++11" comment="Require c++11 for all c++ products." context="c++" />
16761716

16771717
<flag name="Wall" comment="Warn on all stuff." context="c" />
1718+
<flag name="Wall" comment="Warn on all stuff." context="c++" />
16781719
<flag name="Wextra" comment="Warn on extra stuff." context="c" />
1720+
<flag name="Wextra" comment="Warn on extra stuff." context="c++" />
16791721
<flag name="Wpedantic" alternate="pedantic" comment="Be really annoying." context="c" />
1722+
<flag name="Wpedantic" alternate="pedantic" comment="Be really annoying." context="c++" />
1723+
<flag name="Wno-reorder" comment="Disallow warning on style order of declarations." context="c++" />
1724+
<flag name="Wno-missing-field-initializers" comment="Suppress warning for incomplete field initialization." context="c++" />
16801725
<flag name="Wno-missing-braces" comment="Conform to style." context="c++" />
16811726
<flag name="Wno-mismatched-tags" compiler="clang" comment="Conflict in stdlib under clang." context="c++" />
16821727

16831728
<!-- boost -->
1684-
<flag name="Wno-deprecated-declarations" compiler="gcc" comment="Clean up boost 1.55 headers." context="c++" />
1729+
<!-- <flag name="Wno-deprecated-declarations" compiler="gcc" comment="Clean up boost 1.55 headers." context="c++" /> -->
16851730

16861731
<flag name="fstack-protector" comment="Protect stack." context="link" />
16871732
<flag name="fstack-protector-all" comment="Protect stack comprehensively." context="link" />
1688-
<flag name="fvisibility-hidden" compiler="gcc" comment="Hide internal functions from external libs." context="c++" />
1733+
<!-- <flag name="fvisibility=hidden" compiler="gcc" comment="Hide internal functions from external libs." context="c++" /> -->
16891734
<flag name="fvisibility-inlines-hidden" compiler="gcc" comment="Hide inlines from external libs." context="c++" />
16901735
</configure>
16911736

@@ -1843,18 +1888,23 @@
18431888
<flag name="std=c++11" comment="Require c++11 for all c++ products." context="c++" />
18441889

18451890
<flag name="Wall" comment="Warn on all stuff." context="c" />
1891+
<flag name="Wall" comment="Warn on all stuff." context="c++" />
18461892
<flag name="Wextra" comment="Warn on extra stuff." context="c" />
1893+
<flag name="Wextra" comment="Warn on extra stuff." context="c++" />
18471894
<flag name="Wpedantic" alternate="pedantic" comment="Be really annoying." context="c" />
1895+
<flag name="Wpedantic" alternate="pedantic" comment="Be really annoying." context="c++" />
1896+
<flag name="Wno-reorder" comment="Disallow warning on style order of declarations." context="c++" />
1897+
<flag name="Wno-missing-field-initializers" comment="Suppress warning for incomplete field initialization." context="c++" />
18481898
<flag name="Wno-missing-braces" comment="Conform to style." context="c++" />
18491899
<flag name="Wno-mismatched-tags" compiler="clang" comment="Conflict in stdlib under clang." context="c++" />
18501900

18511901
<!-- boost -->
1852-
<flag name="Wno-deprecated-declarations" compiler="gcc" comment="Clean up boost 1.55 headers." context="c++" />
1853-
<flag name="Wno-redeclared-class-member" compiler="clang" comment="Clean up boost 1.55 headers." context="c++" />
1902+
<!-- <flag name="Wno-deprecated-declarations" compiler="gcc" comment="Clean up boost 1.55 headers." context="c++" /> -->
1903+
<!-- <flag name="Wno-redeclared-class-member" compiler="clang" comment="Clean up boost 1.55 headers." context="c++" /> -->
18541904

18551905
<flag name="fstack-protector" comment="Protect stack." context="link" />
18561906
<flag name="fstack-protector-all" comment="Protect stack comprehensively." context="link" />
1857-
<flag name="fvisibility-hidden" compiler="gcc" comment="Hide internal functions from external libs." context="c++" />
1907+
<!-- <flag name="fvisibility=hidden" compiler="gcc" comment="Hide internal functions from external libs." context="c++" /> -->
18581908
<flag name="fvisibility-inlines-hidden" compiler="gcc" comment="Hide inlines from external libs." context="c++" />
18591909
</configure>
18601910

0 commit comments

Comments
 (0)