Lines Matching +full:- +full:-

2   -------------------------------------------------------------------
3 NOTE: This file is automatically generated by running clang-tblgen
4 -gen-diag-docs. Do not edit this file by hand!!
5 -------------------------------------------------------------------
18 vertical-align: middle;
19 white-space: nowrap;
21 font-family: monospace;
24 border-top: 0.2em solid #aaa;
27 font-family: monospace;
28 font-weight: bold;
32 font-family: monospace;
33 font-weight: bold;
37 font-family: monospace;
38 font-weight: bold;
42 font-family: monospace;
43 font-weight: bold;
52 .. Roles generated by clang-tblgen.
73 -W
74 --
75 Synonym for `-Wextra`_.
78 -W#pragma-messages
79 ------------------
87 -W#warnings
88 -----------
96 -WCFString-literal
97 ------------------
102 +--------------------------------------------------------------------------------------------------…
103 …xt:`input conversion stopped due to an input byte that does not belong to the input codeset UTF-8`|
104 +--------------------------------------------------------------------------------------------------…
107 -WCL4
108 -----
111 Controls `-Wall`_, `-Wextra`_.
114 -WIndependentClass-attribute
115 ----------------------------
120 +--------------------------------------------------------------------------------------------------…
122 +--------------------------------------------------------------------------------------------------…
124 +--------------------------------------------------------------------------------------------------…
125 …bsp| :diagtext:`'objc\_independent\_class' attribute may be put on Objective-C object pointer type…
126 +--------------------------------------------------------------------------------------------------…
129 -WNSObject-attribute
130 --------------------
135 +--------------------------------------------------------------------------------------------------…
137 +--------------------------------------------------------------------------------------------------…
140 -Wabi
141 -----
144 -Wabsolute-value
145 ----------------
150--------------------------------------------------------------------------------------------------…
152--------------------------------------------------------------------------------------------------…
154---------------------------------------------------------------------------+----------------------
155 |:warning:`warning:` |nbsp| :diagtext:`taking the absolute value of` |nbsp| |+--------------------+…
157 | |+--------------------+…
159 | |+--------------------+…
161 | |+--------------------+…
162---------------------------------------------------------------------------+----------------------
164 +--------------------------------------------------------------------------------------------------…
166 +--------------------------------------------------------------------------------------------------…
168----------------------------------------------------+----------------------------+----------------…
169--------------------------+| |nbsp| :diagtext:`absolute value function` |nbsp| :placeholder:`A` |n…
171--------------------------+| …
173--------------------------+| …
175--------------------------+| …
176----------------------------------------------------+----------------------------+----------------…
179 -Wabstract-final-class
180 ----------------------
185 +-----------------------------------------------------------------+--------------------+-----------…
186 |:warning:`warning:` |nbsp| :diagtext:`abstract class is marked '`|+------------------+|:diagtext:`…
188 | |+------------------+| …
190 | |+------------------+| …
191 +-----------------------------------------------------------------+--------------------+-----------…
194 -Wabstract-vbase-init
195 ---------------------
198--------------------------------------------------------------------------------------------------…
200--------------------------------------------------------------------------------------------------…
203 -Waddress
204 ---------
207 Controls `-Wpointer-bool-conversion`_, `-Wstring-compare`_, `-Wtautological-pointer-compare`_.
210 -Waddress-of-packed-member
211 --------------------------
216--------------------------------------------------------------------------------------------------…
218--------------------------------------------------------------------------------------------------…
221 -Waddress-of-temporary
222 ----------------------
223 This diagnostic is an error by default, but the flag ``-Wno-address-of-temporary`` can be used to d…
227 +--------------------------------------------------------------------------------------------------…
229 +--------------------------------------------------------------------------------------------------…
232 -Waggregate-return
233 ------------------
236 -Wall
237 -----
240 Controls `-Wmisleading-indentation`_, `-Wmost`_, `-Wparentheses`_, `-Wswitch`_, `-Wswitch-bool`_.
243 -Walloca
244 --------
247--------------------------------------------------------------------------------------------------…
249--------------------------------------------------------------------------------------------------…
252 -Walloca-with-align-alignof
253 ---------------------------
258 +--------------------------------------------------------------------------------------------------…
260 +--------------------------------------------------------------------------------------------------…
263 -Wambiguous-delete
264 ------------------
269--------------------------------------------------------------------------------------------------…
271--------------------------------------------------------------------------------------------------…
274 -Wambiguous-ellipsis
275 --------------------
280 +------------------------------------------------------------------------------------------------+-…
281 …agtext:`'...' in this location creates a C-style varargs function`|+------------------------------…
283 … |+-------------------------------------------
285 … |+-------------------------------------------
286 +------------------------------------------------------------------------------------------------+-…
289 -Wambiguous-macro
290 -----------------
295 +-------------------------------------------------------------------------------------------+
297 +-------------------------------------------------------------------------------------------+
300 -Wambiguous-member-template
301 ---------------------------
306--------------------------------------------------------------------------------------------------…
308--------------------------------------------------------------------------------------------------…
311 -Wambiguous-reversed-operator
312 -----------------------------
317--------------------------------------------------------------------------------------------------…
318 … despite there being a unique best viable function`|+---------------------------------------------…
319 … || |nbsp| :diagtext:`with non-reversed arguments`||
320 … |+---------------------------------------------…
322 … |+---------------------------------------------…
323--------------------------------------------------------------------------------------------------…
326 -Wanalyzer-incompatible-plugin
327 ------------------------------
332 +--------------------------------------------------------------------------------------------------…
334 +--------------------------------------------------------------------------------------------------…
337 -Wanon-enum-enum-conversion
338 ---------------------------
341 Also controls `-Wdeprecated-anon-enum-enum-conversion`_.
345 +---------------------------+--------------------------------------------+-------------------------…
346 |:warning:`warning:` |nbsp| |+------------------------------------------+| |nbsp| :diagtext:`differ…
348 | |+------------------------------------------+| …
350 | |+------------------------------------------+| …
352 | |+------------------------------------------+| …
354 | |+------------------------------------------+| …
356 | |+------------------------------------------+| …
357 +---------------------------+--------------------------------------------+-------------------------…
360 -Wanonymous-pack-parens
361 -----------------------
366 +--------------------------------------------------------------------------------------------------…
368 +--------------------------------------------------------------------------------------------------…
371 -Warc
372 -----
375 Controls `-Warc-non-pod-memaccess`_, `-Warc-retain-cycles`_, `-Warc-unsafe-retained-assign`_.
378 -Warc-bridge-casts-disallowed-in-nonarc
379 ---------------------------------------
384 +--------------------------------------------------------------------------------------------------…
386 +--------------------------------------------------------------------------------------------------…
389 -Warc-maybe-repeated-use-of-weak
390 --------------------------------
393---------------------------------------------------+-------------------------------+--------------…
394 …p| |+-----------------------------+| |nbsp| :placeholder:`B` |nbsp| :diagtext:`may be accessed mul…
396 … |+-----------------------------+| …
398 … |+-----------------------------+| …
400 … |+-----------------------------+| …
402 … |+-----------------------------+| …
403---------------------------------------------------+-------------------------------+--------------…
406 -Warc-non-pod-memaccess
407 -----------------------
412---------------------------+-----------------------------+----------------------------------------…
413 …g:` |nbsp| |+---------------------------+| |nbsp| :diagtext:`this` |nbsp| :placeholder:`B` |nbsp| …
415 | |+---------------------------+| …
417 | |+---------------------------+| …
418---------------------------+-----------------------------+----------------------------------------…
421 -Warc-performSelector-leaks
422 ---------------------------
427 +--------------------------------------------------------------------------------------------------…
429 +--------------------------------------------------------------------------------------------------…
432 -Warc-repeated-use-of-weak
433 --------------------------
434 Also controls `-Warc-maybe-repeated-use-of-weak`_.
438---------------------------------------------------+-------------------------------+--------------…
439 …bsp| |+-----------------------------+| |nbsp| :placeholder:`B` |nbsp| :diagtext:`is accessed multi…
441 … |+-----------------------------+| …
443 … |+-----------------------------+| …
445 … |+-----------------------------+| …
447 … |+-----------------------------+| …
448---------------------------------------------------+-------------------------------+--------------…
451 -Warc-retain-cycles
452 -------------------
457 +--------------------------------------------------------------------------------------------------…
459 +--------------------------------------------------------------------------------------------------…
462 -Warc-unsafe-retained-assign
463 ----------------------------
468--------------------------------------------------------+---------------------------------+-------…
469 …diagtext:`assigning` |nbsp| |+-------------------------------+| |nbsp| :diagtext:`to a weak` |nbsp…
471 … |+-------------------------------+| …
473 … |+-------------------------------+| …
475 | |+-------------------------------+| …
477 | |+-------------------------------+| …
479 | |+-------------------------------+| …
481 | |+-------------------------------+| …
482--------------------------------------------------------+---------------------------------+-------…
484---------------------------------------------------------------------------+----------------------…
485 …text:`assigning retained object to` |nbsp| |+------------------------------+| |nbsp| |+-----------…
487 … |+------------------------------+| |+-----------…
489 … |+------------------------------+| |+-----------…
490---------------------------------------------------------------------------+----------------------…
492 +--------------------------------------------------------------------------------------------------…
494 +--------------------------------------------------------------------------------------------------…
497 -Wargument-outside-range
498 ------------------------
499 This diagnostic is an error by default, but the flag ``-Wno-argument-outside-range`` can be used to…
503--------------------------------------------------------------------------------------------------…
505--------------------------------------------------------------------------------------------------…
508 -Warray-bounds
509 --------------
514--------------------------------------------------------------------------------------------------…
515 … (which contains` |nbsp| :placeholder:`B` |nbsp| :diagtext:`element`|+-------------+|:diagtext:`)`|
517 … |+-------------+| |
519 … |+-------------+| |
520--------------------------------------------------------------------------------------------------…
522 +--------------------------------------------------------------------------------------------------…
524 +--------------------------------------------------------------------------------------------------…
526---------------------------------------------------------------------------+----------------------…
527 …array argument is too small;` |nbsp| |+-----------------------------------------------------------…
528 … ||+----------------------------------------------------------…
530 … ||+----------------------------------------------------------…
531 … |+-----------------------------------------------------------…
532 … ||+---------------------------------------------…
534 … ||+---------------------------------------------…
535 … |+-----------------------------------------------------------…
536---------------------------------------------------------------------------+----------------------…
538 +-----------------------------------------------------------------------------------+
539 |:warning:`warning:` |nbsp| :diagtext:`'static' has no effect on zero-length arrays`|
540 +-----------------------------------------------------------------------------------+
543 -Warray-bounds-pointer-arithmetic
544 ---------------------------------
547--------------------------------------------------------------------------------------------------…
548 …y (that contains` |nbsp| :placeholder:`B` |nbsp| :diagtext:`element`|+-------------+|:diagtext:`)`|
550 … |+-------------+| |
552 … |+-------------+| |
553--------------------------------------------------------------------------------------------------…
555 +--------------------------------------------------------------------------------------------------…
557 +--------------------------------------------------------------------------------------------------…
560 -Wasm
561 -----
562 Synonym for `-Wasm-operand-widths`_.
565 -Wasm-operand-widths
566 --------------------
571 +--------------------------------------------------------------------------------------------------…
573 +--------------------------------------------------------------------------------------------------…
576 -Wassign-enum
577 -------------
580 +--------------------------------------------------------------------------------------------------…
582 +--------------------------------------------------------------------------------------------------…
585 -Wassume
586 --------
591 +--------------------------------------------------------------------------------------------------…
593 +--------------------------------------------------------------------------------------------------…
596 -Wat-protocol
597 -------------
600 -Watimport-in-framework-header
601 ------------------------------
606 +--------------------------------------------------------------------------------------------------…
607 …xt:`use of '@import' in framework header is discouraged, including this header requires -fmodules`|
608 +--------------------------------------------------------------------------------------------------…
611 -Watomic-alignment
612 ------------------
617 +---------------------------+------------------------+---------------------------------------------…
618 |:warning:`warning:` |nbsp| |+----------------------+| |nbsp| :diagtext:`atomic operation may incur…
620 | |+----------------------+| …
622 | |+----------------------+| …
623 +---------------------------+------------------------+---------------------------------------------…
626 -Watomic-implicit-seq-cst
627 -------------------------
630 +--------------------------------------------------------------------------------------------------…
631 |:warning:`warning:` |nbsp| :diagtext:`implicit use of sequentially-consistent atomic may incur str…
632 +--------------------------------------------------------------------------------------------------…
635 -Watomic-memory-ordering
636 ------------------------
641 +-------------------------------------------------------------------------------------------+
643 +-------------------------------------------------------------------------------------------+
646 -Watomic-properties
647 -------------------
648 Controls `-Wcustom-atomic-properties`_, `-Wimplicit-atomic-properties`_.
651 -Watomic-property-with-user-defined-accessor
652 --------------------------------------------
657--------------------------------------------------------------------------------------------------…
658 …not pair a synthesized` |nbsp| |+------------------+| |nbsp| :diagtext:`with a user defined` |nbsp…
660 … |+------------------+| …
662 … |+------------------+| …
663--------------------------------------------------------------------------------------------------…
666 -Wattribute-packed-for-bitfield
667 -------------------------------
672 +--------------------------------------------------------------------------------------------------…
673 |:warning:`warning:` |nbsp| :diagtext:`'packed' attribute was ignored on bit-fields with single-byt…
674 +--------------------------------------------------------------------------------------------------…
677 -Wattributes
678 ------------
681 Controls `-Wignored-attributes`_, `-Wunknown-attributes`_.
684 -Wauto-disable-vptr-sanitizer
685 -----------------------------
690 +--------------------------------------------------------------------------------------------------…
692 +--------------------------------------------------------------------------------------------------…
695 -Wauto-import
696 -------------
699-------------------------------------------------+---------------------------------+--------------…
700 |:warning:`warning:` |nbsp| :diagtext:`treating #`|+-------------------------------+| |nbsp| :diagt…
702 | |+-------------------------------+| …
704 | |+-------------------------------+| …
706 | |+-------------------------------+| …
708 | |+-------------------------------+| …
709-------------------------------------------------+---------------------------------+--------------…
712 -Wauto-storage-class
713 --------------------
718 +--------------------------------------------------------------------------------------------------…
720 +--------------------------------------------------------------------------------------------------…
723 -Wauto-var-id
724 -------------
729 +--------------------------------------------------------------------------------------------------…
731 +--------------------------------------------------------------------------------------------------…
734 -Wavailability
735 --------------
740 +--------------------------------------------------------------------------------------------------…
742 +--------------------------------------------------------------------------------------------------…
744 +------------------------------------------------------------------------------+-------------------…
745 …nbsp| :diagtext:`ignoring availability attribute` |nbsp| |+--------------------------------------+|
747 … |+--------------------------------------+|
749 … |+--------------------------------------+|
751 … |+--------------------------------------+|
752 +------------------------------------------------------------------------------+-------------------…
754 +--------------------------------------------------------------------------------------------------…
756 +--------------------------------------------------------------------------------------------------…
758 +--------------------------------------------------------------------------------------------------…
760 +--------------------------------------------------------------------------------------------------…
762----------------------------------------------------------------+------------------------+--------…
763----------------------+| |nbsp| :diagtext:`in` |nbsp| :placeholder:`B` |nbsp| :diagtext:`version` …
765----------------------+| …
767----------------------+| …
769----------------------+| …
770----------------------------------------------------------------+------------------------+--------…
772 +--------------------------------------------------------------------------------------------------…
774 +--------------------------------------------------------------------------------------------------…
776 +---------------------------------------------------------------------------------------+
778 +---------------------------------------------------------------------------------------+
780---------------------------+--------------------------------+--------------------------+----------…
781 … |+------------------------------+|:diagtext:`method` |nbsp| |+-----------------------------+| |nb…
783 … |+------------------------------+| |+-----------------------------+| …
785 … |+------------------------------+| |+-----------------------------+| …
787 …| | |+-----------------------------+| …
788---------------------------+--------------------------------+--------------------------+----------…
790---------------------------+--------------------------------+-------------------------------------…
791------------------------------+|:diagtext:`method cannot be unavailable on` |nbsp| :placeholder:`A…
793------------------------------+| …
795------------------------------+| …
796---------------------------+--------------------------------+-------------------------------------…
799 -Wavr-rtlib-linking-quirks
800 --------------------------
805 +--------------------------------------------------------------------------------------------------…
807 +--------------------------------------------------------------------------------------------------…
809 +--------------------------------------------------------------------------------------------------…
810 |:warning:`warning:` |nbsp| :diagtext:`no avr-gcc installation can be found on the system, cannot l…
811 +--------------------------------------------------------------------------------------------------…
813 +--------------------------------------------------------------------------------------------------…
814 |:warning:`warning:` |nbsp| :diagtext:`no avr-libc installation can be found on the system, cannot …
815 +--------------------------------------------------------------------------------------------------…
817--------------------------------------------------------------------------------------------------…
818 …ontroller specified on command line, cannot link standard libraries, please pass -mmcu=<mcu name>`|
819--------------------------------------------------------------------------------------------------…
821 +--------------------------------------------------------------------------------------------------…
823 +--------------------------------------------------------------------------------------------------…
826 -Wbackend-plugin
827 ----------------
835 -Wbackslash-newline-escape
836 --------------------------
841 +-------------------------------------------------------------------------------+
843 +-------------------------------------------------------------------------------+
846 -Wbad-function-cast
847 -------------------
850--------------------------------------------------------------------------------------------------…
851 …from function call of type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to non-matching type` |nbsp|…
852--------------------------------------------------------------------------------------------------…
855 -Wbinary-literal
856 ----------------
857 Controls `-Wc++14-binary-literal`_, `-Wc++98-c++11-compat-binary-literal`_, `-Wgnu-binary-literal`_.
860 -Wbind-to-temporary-copy
861 ------------------------
862 Also controls `-Wc++98-compat-bind-to-temporary-copy`_.
866--------------------------------------------------------------------------------------------------…
867 …C` |nbsp| :diagtext:`when binding a reference to a temporary; was` |nbsp| |+---------------------+|
869 … |+---------------------+|
871 … |+---------------------+|
872--------------------------------------------------------------------------------------------------…
874--------------------------------------------------------------------+-----------------------------…
875 …|nbsp| :diagtext:`no viable constructor` |nbsp| |+------------------------------------------------…
877 … |+------------------------------------------------…
879 … |+------------------------------------------------…
881 … |+------------------------------------------------…
883 … |+------------------------------------------------…
885 … |+------------------------------------------------…
887 … |+------------------------------------------------…
889 … |+------------------------------------------------…
891 … |+------------------------------------------------…
893 … |+------------------------------------------------…
895 … |+------------------------------------------------…
897 … |+------------------------------------------------…
899 … |+------------------------------------------------…
900--------------------------------------------------------------------+-----------------------------…
903 -Wbinding-in-condition
904 ----------------------
909 +--------------------------------------------------------------------------------------------------…
911 +--------------------------------------------------------------------------------------------------…
914 -Wbitfield-constant-conversion
915 ------------------------------
920--------------------------------------------------------------------------------------------------…
921 …:`implicit truncation from` |nbsp| :placeholder:`C` |nbsp| :diagtext:`to bit-field changes value f…
922--------------------------------------------------------------------------------------------------…
925 -Wbitfield-enum-conversion
926 --------------------------
929--------------------------------------------------------------------------------------------------…
930 |:warning:`warning:` |nbsp| :diagtext:`bit-field` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is not …
931--------------------------------------------------------------------------------------------------…
933--------------------------------------------------------------------------------------------------…
934 |:warning:`warning:` |nbsp| :diagtext:`signed bit-field` |nbsp| :placeholder:`A` |nbsp| :diagtext:`…
935--------------------------------------------------------------------------------------------------…
937--------------------------------------------------------------------------------------------------…
938 … signed enum type` |nbsp| :placeholder:`B` |nbsp| :diagtext:`to unsigned bit-field` |nbsp| :placeh…
939--------------------------------------------------------------------------------------------------…
942 -Wbitfield-width
943 ----------------
948--------------------------------------------------------------------------------------------------…
949-field (`:placeholder:`A` |nbsp| :diagtext:`bits) exceeds width of its type; value will be truncat…
951 … |+-------------+|
953 … |+-------------+|
954--------------------------------------------------------------------------------------------------…
956--------------------------------------------------------------------------------------------------…
957-field` |nbsp| :placeholder:`A` |nbsp| :diagtext:`(`:placeholder:`B` |nbsp| :diagtext:`bits) excee…
959 … |+-------------+|
961 … |+-------------+|
962--------------------------------------------------------------------------------------------------…
965 -Wbitwise-conditional-parentheses
966 ---------------------------------
971--------------------------------------------------------------------------------------------------…
973--------------------------------------------------------------------------------------------------…
976 -Wbitwise-op-parentheses
977 ------------------------
980 +--------------------------------------------------------------------------------------------------…
982 +--------------------------------------------------------------------------------------------------…
985 -Wblock-capture-autoreleasing
986 -----------------------------
991 +--------------------------------------------------------------------------------------------------…
992 …` |nbsp| :diagtext:`block captures an autoreleasing out-parameter, which may result in use-after-f…
993 +--------------------------------------------------------------------------------------------------…
996 -Wbool-conversion
997 -----------------
1000 Also controls `-Wpointer-bool-conversion`_, `-Wundefined-bool-conversion`_.
1004--------------------------------------------------------------------------------------------------…
1006--------------------------------------------------------------------------------------------------…
1009 -Wbool-conversions
1010 ------------------
1011 Synonym for `-Wbool-conversion`_.
1014 -Wbool-operation
1015 ----------------
1020-------------------------------------------------------------------------------+------------------…
1021 …diagtext:`bitwise negation of a boolean expression`|+---------------------------------------------…
1023 … |+---------------------------------------------…
1025 … |+---------------------------------------------…
1026-------------------------------------------------------------------------------+------------------…
1029 -Wbraced-scalar-init
1030 --------------------
1035 +------------------------------------------------------------+----------------------------+--------…
1036 |:warning:`warning:` |nbsp| :diagtext:`braces around` |nbsp| |+--------------------------+|:diagtex…
1038 | |+--------------------------+| …
1040 | |+--------------------------+| …
1041 +------------------------------------------------------------+----------------------------+--------…
1044 -Wbridge-cast
1045 -------------
1050 +--------------------------------------------------------------------------------------------------…
1052 +--------------------------------------------------------------------------------------------------…
1054 +--------------------------------------------------------------------------------------------------…
1056 +--------------------------------------------------------------------------------------------------…
1059 -Wbuiltin-assume-aligned-alignment
1060 ----------------------------------
1065--------------------------------------------------------------------------------------------------…
1067--------------------------------------------------------------------------------------------------…
1070 -Wbuiltin-macro-redefined
1071 -------------------------
1076 +---------------------------------------------------------------+
1078 +---------------------------------------------------------------+
1080 +---------------------------------------------------------------+
1082 +---------------------------------------------------------------+
1085 -Wbuiltin-memcpy-chk-size
1086 -------------------------
1091--------------------------------------------------------------------------------------------------…
1093--------------------------------------------------------------------------------------------------…
1096 -Wbuiltin-requires-header
1097 -------------------------
1102--------------------------------------------------------------------------------------------------…
1103 |:warning:`warning:` |nbsp| :diagtext:`declaration of built-in function '`:placeholder:`B`:diagtext…
1104--------------------------------------------------------------------------------------------------…
1107 -Wc++-compat
1108 ------------
1111---------------------------+---------------------------+--------------------+---------------------…
1112 …rning:` |nbsp| |+-------------------------+|+------------------+| |nbsp| :diagtext:`has size 0 in …
1114 … |+-------------------------+|+------------------+| …
1115 …gtext:`union` || ||:diagtext:`non-zero size`|| …
1116 … |+-------------------------+|+------------------+| …
1117---------------------------+---------------------------+--------------------+---------------------…
1120 -Wc++0x-compat
1121 --------------
1122 Synonym for `-Wc++11-compat`_.
1125 -Wc++0x-extensions
1126 ------------------
1127 Synonym for `-Wc++11-extensions`_.
1130 -Wc++0x-narrowing
1131 -----------------
1132 Synonym for `-Wc++11-narrowing`_.
1135 -Wc++11-compat
1136 --------------
1139-Wc++11-compat-deprecated-writable-strings`_, `-Wc++11-compat-reserved-user-defined-literal`_, `-W…
1143--------------------------------------------------------------------------------------------------…
1144 …nterpreting as 'unsigned long'; this literal will` |nbsp| |+---------------------------------+| |n…
1146 … |+---------------------------------+| …
1147 … ||:diagtext:`be ill-formed` || …
1148 … |+---------------------------------+| …
1149--------------------------------------------------------------------------------------------------…
1151 +--------------------------------------------------------------------------------------------------…
1153 +--------------------------------------------------------------------------------------------------…
1155 +--------------------------------------------------------------------------------------------------…
1156 |:warning:`warning:` |nbsp| :diagtext:`identifier after literal will be treated as a user-defined l…
1157 +--------------------------------------------------------------------------------------------------…
1159 +-------------------------------------------------------------------------------------------+
1161 +-------------------------------------------------------------------------------------------+
1163 +--------------------------------------------------------------------------------------------------…
1164 |:warning:`warning:` |nbsp| :diagtext:`use of right-shift operator ('>>') in template argument will…
1165 +--------------------------------------------------------------------------------------------------…
1167 +--------------------------------------------------------------------------------+
1169 +--------------------------------------------------------------------------------+
1171 +--------------------------------------------------------------------------------------------------…
1173 +--------------------------------------------------------------------------------------------------…
1175--------------------------------------------------------------------------------------------------…
1177--------------------------------------------------------------------------------------------------…
1179--------------------------------------------------------------------------------------------------…
1181--------------------------------------------------------------------------------------------------…
1183--------------------------------------------------------------------------------------------------…
1184 …g as 'unsigned long' per C++98; this literal will` |nbsp| |+---------------------------------+| |n…
1186 … |+---------------------------------+| …
1187 … ||:diagtext:`be ill-formed` || …
1188 … |+---------------------------------+| …
1189--------------------------------------------------------------------------------------------------…
1192 -Wc++11-compat-deprecated-writable-strings
1193 ------------------------------------------
1198 +--------------------------------------------------------------------------------------------------…
1200 +--------------------------------------------------------------------------------------------------…
1203 -Wc++11-compat-pedantic
1204 -----------------------
1207 Controls `-Wc++11-compat`_, `-Wc++98-c++11-c++14-c++17-compat-pedantic`_, `-Wc++98-c++11-c++14-comp…
1210 -Wc++11-compat-reserved-user-defined-literal
1211 --------------------------------------------
1214 +--------------------------------------------------------------------------------------------------…
1215 |:warning:`warning:` |nbsp| :diagtext:`identifier after literal will be treated as a reserved user-
1216 +--------------------------------------------------------------------------------------------------…
1219 -Wc++11-extensions
1220 ------------------
1223 Also controls `-Wc++11-extra-semi`_, `-Wc++11-inline-namespace`_, `-Wc++11-long-long`_.
1227 +-------------------------------------------------------------------------------+
1229 +-------------------------------------------------------------------------------+
1231--------------------------------------------------------------------------------------------------…
1232 … of type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| |+-----------------------+| |nbsp| …
1234 … |+-----------------------+| …
1236 … |+-----------------------+| …
1237--------------------------------------------------------------------------------------------------…
1239 +---------------------------------------------------------------------------------+
1241 +---------------------------------------------------------------------------------+
1243 +--------------------------------------------------------------------------------------------------…
1245 +--------------------------------------------------------------------------------------------------…
1247 +---------------------------+-----------------------+----------------------------------------------…
1248 |:warning:`warning:` |nbsp| |+---------------------+| |nbsp| :diagtext:`function definitions are a …
1250 | |+---------------------+| …
1252 | |+---------------------+| …
1253 +---------------------------+-----------------------+----------------------------------------------…
1255 +--------------------------------------------------------------------------------------------------…
1257 +--------------------------------------------------------------------------------------------------…
1259 +--------------------------------------------------------------------------------------------------+
1261 +--------------------------------------------------------------------------------------------------+
1263 +------------------------------------------------------------------------------------------+
1265 +------------------------------------------------------------------------------------------+
1267 +-----------------------------------------------------------------------------+
1269 +-----------------------------------------------------------------------------+
1271 +--------------------------------------------------------------------------------+
1272 |:warning:`warning:` |nbsp| :diagtext:`range-based for loop is a C++11 extension`|
1273 +--------------------------------------------------------------------------------+
1275 +------------------------------------------------------------------------------------------+
1277 +------------------------------------------------------------------------------------------+
1279 +--------------------------------------------------------------------------------------------------…
1281 +--------------------------------------------------------------------------------------------------…
1283 +--------------------------------------------------------------------------------------------------…
1284 |:warning:`warning:` |nbsp| :diagtext:`non-class friend type` |nbsp| :placeholder:`A` |nbsp| :diagt…
1285 +--------------------------------------------------------------------------------------------------…
1287 +--------------------------------------------------------------------------------------------------…
1288 |:warning:`warning:` |nbsp| :diagtext:`in-class initialization of non-static data member is a C++11…
1289 +--------------------------------------------------------------------------------------------------…
1291 +--------------------------------------------------------------------------------------------------+
1293 +--------------------------------------------------------------------------------------------------+
1295 +----------------------------------------------------------------------------------------------+
1297 +----------------------------------------------------------------------------------------------+
1299 +------------------------------------------------------------------------------+
1301 +------------------------------------------------------------------------------+
1303 +--------------------------------------------------------------------------------+
1305 +--------------------------------------------------------------------------------+
1307 +--------------------------------------------------------------------------------------------------…
1309 +--------------------------------------------------------------------------------------------------…
1311--------------------------------------------------------------------------------------+-----------…
1312 |:warning:`warning:` |nbsp| :diagtext:`non-type template argument referring to` |nbsp| |+----------…
1314 … |+--------------------+| …
1316 … |+--------------------+| …
1317--------------------------------------------------------------------------------------+-----------…
1319 +-------------------------------------------------------------------------------+
1321 +-------------------------------------------------------------------------------+
1323 +--------------------------------------------------------------------------------------------------…
1325 +--------------------------------------------------------------------------------------------------…
1327 +------------------------------------------------------------------------------+
1329 +------------------------------------------------------------------------------+
1331--------------------------------------------------------------------------------------------------…
1332 …unelaborated friend declaration is a C++11 extension; specify '`|+---------------------+|:diagtext…
1334 … |+---------------------+| …
1336 … |+---------------------+| …
1338 … |+---------------------+| …
1340 … |+---------------------+| …
1342 … |+---------------------+| …
1343--------------------------------------------------------------------------------------------------…
1345 +-------------------------------------------------------------------------------+
1347 +-------------------------------------------------------------------------------+
1350 -Wc++11-extra-semi
1351 ------------------
1354 +-------------------------------------------------------------------------------------------+
1356 +-------------------------------------------------------------------------------------------+
1359 -Wc++11-inline-namespace
1360 ------------------------
1365 +----------------------------------------------------------------------------+
1367 +----------------------------------------------------------------------------+
1370 -Wc++11-long-long
1371 -----------------
1374 +-----------------------------------------------------------------------+
1376 +-----------------------------------------------------------------------+
1379 -Wc++11-narrowing
1380 -----------------
1385-----------------------+-----------------------------------------+--------+-----------------------…
1386---------------------------------------+| |nbsp| |+-----------------------------------------------…
1387 … || ||+-----------------------------------------------------------------------------…
1388 | |+---------------------------------------+| |||:diagtext:`cannot be …
1389 … || ||+-----------------------------------------------------------------------------…
1390---------------------------------------+| |+-----------------------------------------------…
1391-type template argument` || ||+------------------------------------------------------------…
1392 | |+---------------------------------------+| |||:diagtext:`evaluates …
1393 … || ||+---------------------------------------------------------------------------------…
1394---------------------------------------+| |+-----------------------------------------------…
1396 | |+---------------------------------------+| | …
1398 | |+---------------------------------------+| | …
1399-----------------------+-----------------------------------------+--------+-----------------------…
1401--------------------------------------------------------------------------------------------------…
1403--------------------------------------------------------------------------------------------------…
1405--------------------------------------------------------------------------------------------------…
1407--------------------------------------------------------------------------------------------------…
1409--------------------------------------------------------------------------------------------------…
1410 |:error:`error:` |nbsp| :diagtext:`non-constant-expression cannot be narrowed from type` |nbsp| :pl…
1411--------------------------------------------------------------------------------------------------…
1413--------------------------------------------------------------------------------------------------…
1415--------------------------------------------------------------------------------------------------…
1417--------------------------------------------------------------------------------------------------…
1419--------------------------------------------------------------------------------------------------…
1421--------------------------------------------------------------------------------------------------…
1422 |:warning:`warning:` |nbsp| :diagtext:`non-constant-expression cannot be narrowed from type` |nbsp|…
1423--------------------------------------------------------------------------------------------------…
1426 -Wc++14-binary-literal
1427 ----------------------
1430 +------------------------------------------------------------------------------------+
1432 +------------------------------------------------------------------------------------+
1435 -Wc++14-compat
1436 --------------
1437 Controls `-Wc++98-c++11-c++14-c++17-compat`_, `-Wc++98-c++11-c++14-compat`_.
1440 -Wc++14-compat-pedantic
1441 -----------------------
1442 Controls `-Wc++14-compat`_, `-Wc++98-c++11-c++14-c++17-compat-pedantic`_, `-Wc++98-c++11-c++14-comp…
1445 -Wc++14-extensions
1446 ------------------
1449 Also controls `-Wc++14-binary-literal`_.
1453 +-----------------------------------------------------------------------------------+--------------…
1454 …|nbsp| :diagtext:`use of this statement in a constexpr` |nbsp| |+-----------------------+| |nbsp| …
1456 … |+-----------------------+| …
1458 … |+-----------------------+| …
1459 +-----------------------------------------------------------------------------------+--------------…
1461 +--------------------------------------------------------------------------------------------------…
1463 +--------------------------------------------------------------------------------------------------…
1465 +----------------------------------------------------------------------------------+---------------…
1466 … |nbsp| :diagtext:`variable declaration in a constexpr` |nbsp| |+-----------------------+| |nbsp| …
1468 … |+-----------------------+| …
1470 … |+-----------------------+| …
1471 +----------------------------------------------------------------------------------+---------------…
1473 +-----------------------------------------------------------------------------+--------------------…
1474 …ing:` |nbsp| :diagtext:`type definition in a constexpr` |nbsp| |+-----------------------+| |nbsp| …
1476 … |+-----------------------+| …
1478 … |+-----------------------+| …
1479 +-----------------------------------------------------------------------------+--------------------…
1481 +--------------------------------------------------------------------------------------------------…
1483 +--------------------------------------------------------------------------------------------------…
1485 +-------------------------------------------------------------------------------------------+
1487 +-------------------------------------------------------------------------------------------+
1489 +----------------------------------------------------------------------------------------+
1491 +----------------------------------------------------------------------------------------+
1493 +-------------------------------------------------------------------------------+
1495 +-------------------------------------------------------------------------------+
1498 -Wc++17-compat
1499 --------------
1502 Controls `-Wc++17-compat-mangling`_, `-Wc++98-c++11-c++14-c++17-compat`_, `-Wdeprecated-increment-b…
1505 -Wc++17-compat-mangling
1506 -----------------------
1511--------------------------------------------------------------------------------------------------…
1512 …f` |nbsp| :placeholder:`A` |nbsp| :diagtext:`will change in C++17 due to non-throwing exception sp…
1513--------------------------------------------------------------------------------------------------…
1516 -Wc++17-compat-pedantic
1517 -----------------------
1520 Controls `-Wc++17-compat`_, `-Wc++98-c++11-c++14-c++17-compat-pedantic`_.
1523 -Wc++17-extensions
1524 ------------------
1529--------------------------------------------------------------------------------------------------…
1530 …low new expression for type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to use list-initialization`|
1531--------------------------------------------------------------------------------------------------…
1533 +------------------------------------------------------------------------+
1535 +------------------------------------------------------------------------+
1537 +---------------------------------------------------------------------------------------------+
1539 +---------------------------------------------------------------------------------------------+
1541 +--------------------------------------------------------------------------------------------------…
1543 +--------------------------------------------------------------------------------------------------…
1545 +---------------------------------------------------------------------------------------+
1547 +---------------------------------------------------------------------------------------+
1549 +--------------------------------------------------------------------------------+
1551 +--------------------------------------------------------------------------------+
1553--------------------------------------------------------------------------------------------------…
1555--------------------------------------------------------------------------------------------------…
1557 +----------------------------------------------------------------------------------------+
1559 +----------------------------------------------------------------------------------------+
1561 +----------------------------------------+--------------------+------------------------------------…
1562 |:warning:`warning:` |nbsp| :diagtext:`'`|+------------------+|:diagtext:`' initialization statemen…
1564 | |+------------------+| …
1566 | |+------------------+| …
1567 +----------------------------------------+--------------------+------------------------------------…
1569 +-----------------------------------------------------------------------------+
1571 +-----------------------------------------------------------------------------+
1573 +--------------------------------------------------------------------------------------------------…
1575 +--------------------------------------------------------------------------------------------------…
1577 +--------------------------------------------------------------------------------------------------…
1579 +--------------------------------------------------------------------------------------------------…
1581 +------------------------------------------------------------+---------------------------+---------…
1582 |:warning:`warning:` |nbsp| :diagtext:`attributes on` |nbsp| |+-------------------------+| |nbsp| :…
1584 | |+-------------------------+| …
1586 | |+-------------------------+| …
1587 +------------------------------------------------------------+---------------------------+---------…
1589 +---------------------------------------------------------------------------------------+
1591 +---------------------------------------------------------------------------------------+
1593 +------------------------------------------------------------------------------------------+
1595 +------------------------------------------------------------------------------------------+
1597 +--------------------------------------------------------------------------------------------------…
1599 +--------------------------------------------------------------------------------------------------…
1601 +--------------------------------------------------------------------------------------------------+
1603 +--------------------------------------------------------------------------------------------------+
1605 +-----------------------------------------------------------------------------------------------+
1607 +-----------------------------------------------------------------------------------------------+
1610 -Wc++1y-extensions
1611 ------------------
1612 Synonym for `-Wc++14-extensions`_.
1615 -Wc++1z-compat
1616 --------------
1617 Synonym for `-Wc++17-compat`_.
1620 -Wc++1z-compat-mangling
1621 -----------------------
1622 Synonym for `-Wc++17-compat-mangling`_.
1625 -Wc++1z-extensions
1626 ------------------
1627 Synonym for `-Wc++17-extensions`_.
1630 -Wc++20-compat
1631 --------------
1636--------------------------------------------------------------------------------------------------…
1637 … initialization of type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`with user-declared constructors…
1638--------------------------------------------------------------------------------------------------…
1640 +--------------------------------------------------------------------------------------------------…
1642 +--------------------------------------------------------------------------------------------------…
1644 +--------------------------------------------------------------------------------------------------…
1646 +--------------------------------------------------------------------------------------------------…
1648 +------------------------------------------------------------------------------------------------+
1650 +------------------------------------------------------------------------------------------------+
1652 +--------------------------------------------------------------------------------------------------…
1654 +--------------------------------------------------------------------------------------------------…
1656 +--------------------------------------------------------------------------------------------------…
1657 |:warning:`warning:` |nbsp| :diagtext:`type of UTF-8 string literal will change from array of const…
1658 +--------------------------------------------------------------------------------------------------…
1660 +-------------------------------------------------------------------------------------------+
1662 +-------------------------------------------------------------------------------------------+
1665 -Wc++20-compat-pedantic
1666 -----------------------
1667 Synonym for `-Wc++20-compat`_.
1670 -Wc++20-designator
1671 ------------------
1674 +------------------------------------------------------------------------------------+
1676 +------------------------------------------------------------------------------------+
1679 -Wc++20-extensions
1680 ------------------
1683 Also controls `-Wc++20-designator`_.
1687--------------------------------------------------------------------------------------------------…
1689--------------------------------------------------------------------------------------------------…
1691 +--------------------------------------------------------------------------------------------------…
1692 |:warning:`warning:` |nbsp| :diagtext:`default member initializer for bit-field is a C++20 extensio…
1693 +--------------------------------------------------------------------------------------------------…
1695 +-----------------------------------------------------------------------------------+--------------…
1696 …|nbsp| :diagtext:`use of this statement in a constexpr` |nbsp| |+-----------------------+| |nbsp| …
1698 … |+-----------------------+| …
1700 … |+-----------------------+| …
1701 +-----------------------------------------------------------------------------------+--------------…
1703 +--------------------------------------------------------------------------------------------------…
1705 +--------------------------------------------------------------------------------------------------…
1707 +------------------------------------------------------------------------------+-------------------…
1708 …ng:` |nbsp| :diagtext:`function try block in constexpr` |nbsp| |+-----------------------+| |nbsp| …
1710 … |+-----------------------+| …
1712 … |+-----------------------+| …
1713 +------------------------------------------------------------------------------+-------------------…
1715 +------------------------------------------------------------------------------------+-------------…
1716 …nbsp| :diagtext:`uninitialized variable in a constexpr` |nbsp| |+-----------------------+| |nbsp| …
1718 … |+-----------------------+| …
1720 … |+-----------------------+| …
1721 +------------------------------------------------------------------------------------+-------------…
1723 +--------------------------------------------------------------------------------------------------…
1725 +--------------------------------------------------------------------------------------------------…
1727 +--------------------------------------------------------------------------------------------------…
1729 +--------------------------------------------------------------------------------------------------…
1731---------------------------------------------------------------------------------+----------------…
1732 …`decomposition declaration declared` |nbsp| |+----------------------------------------------------…
1733 … ||+------------------------------------------+…
1735 … ||+------------------------------------------+…
1736 … |+----------------------------------------------------…
1737 … ||+---------------------------------------------------…
1739 … ||+---------------------------------------------------…
1740 … |+----------------------------------------------------…
1741---------------------------------------------------------------------------------+----------------…
1743 +-------------------------------------------------------------------------------------------+
1745 +-------------------------------------------------------------------------------------------+
1747 +--------------------------------------------------------------------------------------------------…
1749 +--------------------------------------------------------------------------------------------------…
1751 +--------------------------------------------------------------------------+
1753 +--------------------------------------------------------------------------+
1755 +--------------------------------------------------------------------------------------------------…
1756 |:warning:`warning:` |nbsp| :diagtext:`range-based for loop initialization statements are a C++20 e…
1757 +--------------------------------------------------------------------------------------------------…
1759 +---------------------------------------------------------------------------------------------+
1761 +---------------------------------------------------------------------------------------------+
1763 +----------------------------------------------------------------------------------------------+
1765 +----------------------------------------------------------------------------------------------+
1767 +--------------------------------------------------------------------------------------------------…
1769 +--------------------------------------------------------------------------------------------------…
1771 +--------------------------------------------------------------------------------------------------…
1773 +--------------------------------------------------------------------------------------------------…
1776 -Wc++2a-compat
1777 --------------
1778 Synonym for `-Wc++20-compat`_.
1781 -Wc++2a-compat-pedantic
1782 -----------------------
1783 Synonym for `-Wc++20-compat-pedantic`_.
1786 -Wc++2a-extensions
1787 ------------------
1788 Synonym for `-Wc++20-extensions`_.
1791 -Wc++98-c++11-c++14-c++17-compat
1792 --------------------------------
1795--------------------------------------------------------------------------------------------------…
1797--------------------------------------------------------------------------------------------------…
1799 +--------------------------------------------------------------------------------------------------…
1800 |:warning:`warning:` |nbsp| :diagtext:`default member initializer for bit-field is incompatible wit…
1801 +--------------------------------------------------------------------------------------------------…
1803-----------------------------------------------------------------------------------+--------------…
1804 …|nbsp| :diagtext:`use of this statement in a constexpr` |nbsp| |+-----------------------+| |nbsp| …
1806 … |+-----------------------+| …
1808 … |+-----------------------+| …
1809-----------------------------------------------------------------------------------+--------------…
1811 +--------------------------------------------------------------------------------------------------…
1813 +--------------------------------------------------------------------------------------------------…
1815------------------------------------------------------------------------------+-------------------…
1816 …ng:` |nbsp| :diagtext:`function try block in constexpr` |nbsp| |+-----------------------+| |nbsp| …
1818 … |+-----------------------+| …
1820 … |+-----------------------+| …
1821------------------------------------------------------------------------------+-------------------…
1823------------------------------------------------------------------------------------+-------------…
1824 …nbsp| :diagtext:`uninitialized variable in a constexpr` |nbsp| |+-----------------------+| |nbsp| …
1826 … |+-----------------------+| …
1828 … |+-----------------------+| …
1829------------------------------------------------------------------------------------+-------------…
1831 +--------------------------------------------------------------------------------------------------…
1833 +--------------------------------------------------------------------------------------------------…
1835 +--------------------------------------------------------------------------------------------------…
1837 +--------------------------------------------------------------------------------------------------…
1839---------------------------------------------------------------------------------+----------------…
1840 …`decomposition declaration declared` |nbsp| |+----------------------------------------------------…
1841 … ||+------------------------------------------+…
1843 … ||+------------------------------------------+…
1844 … |+----------------------------------------------------…
1845 … ||+---------------------------------------------------…
1847 … ||+---------------------------------------------------…
1848 … |+----------------------------------------------------…
1849---------------------------------------------------------------------------------+----------------…
1851 +--------------------------------------------------------------------------------------------------…
1853 +--------------------------------------------------------------------------------------------------…
1855-------------------------------------------------------------------------+------------------------…
1856 …:` |nbsp| :diagtext:`explicitly defaulting this` |nbsp| |+------------------------------------+| |…
1858 … |+------------------------------------+| …
1860 … |+------------------------------------+| …
1862 … |+------------------------------------+| …
1864 … |+------------------------------------+| …
1866 … |+------------------------------------+| …
1868 … |+------------------------------------+| …
1869-------------------------------------------------------------------------+------------------------…
1871 +--------------------------------------------------------------------------------------------------…
1873 +--------------------------------------------------------------------------------------------------…
1875 +--------------------------------------------------------------------------------------------------…
1877 +--------------------------------------------------------------------------------------------------…
1879 +--------------------------------------------------------------------------------------------------…
1880 |:warning:`warning:` |nbsp| :diagtext:`range-based for loop initialization statements are incompati…
1881 +--------------------------------------------------------------------------------------------------…
1883 +--------------------------------------------------------------------------------------------------…
1885 +--------------------------------------------------------------------------------------------------…
1887 +--------------------------------------------------------------------------------------------------…
1889 +--------------------------------------------------------------------------------------------------…
1891 +---------------------------+----------------------------------+-----------------------------------…
1892 |:warning:`warning:` |nbsp| |+--------------------------------+| |nbsp| :diagtext:`of lambda is inc…
1894 | |+--------------------------------+| …
1896 | |+--------------------------------+| …
1897 +---------------------------+----------------------------------+-----------------------------------…
1899 +--------------------------------------------------------------------------------------------------…
1901 +--------------------------------------------------------------------------------------------------…
1903 +--------------------------------------------------------------------------------------------------…
1905 +--------------------------------------------------------------------------------------------------…
1907 +--------------------------------------------------------------------------------------------------…
1909 +--------------------------------------------------------------------------------------------------…
1912 -Wc++98-c++11-c++14-c++17-compat-pedantic
1913 -----------------------------------------
1914 Also controls `-Wc++98-c++11-c++14-c++17-compat`_.
1918 +--------------------------------------------------------------------------------------------------…
1920 +--------------------------------------------------------------------------------------------------…
1922 +--------------------------------------------------------------------------------------------------…
1924 +--------------------------------------------------------------------------------------------------…
1927 -Wc++98-c++11-c++14-compat
1928 --------------------------
1931--------------------------------------------------------------------------------------------------…
1932 …e with C++ standards before C++17`|+--------------------------------------------------------------…
1934 … |+--------------------------------------------------------------…
1935 … ||+-------------------------------------------------------------…
1937 … ||+-------------------------------------------------------------…
1938 … |+--------------------------------------------------------------…
1939--------------------------------------------------------------------------------------------------…
1941 +--------------------------------------------------------------------------------------------------…
1943 +--------------------------------------------------------------------------------------------------…
1945 +--------------------------------------------------------------------------------------------------…
1947 +--------------------------------------------------------------------------------------------------…
1949 +--------------------------------------------------------------------------------------------------…
1951 +--------------------------------------------------------------------------------------------------…
1953 +--------------------------------------------------------------------------------------------------…
1955 +--------------------------------------------------------------------------------------------------…
1957 +---------------------------+--------------------+-------------------------------------------------…
1958 |:warning:`warning:` |nbsp| |+------------------+| |nbsp| :diagtext:`initialization statements are …
1960 | |+------------------+| …
1962 | |+------------------+| …
1963 +---------------------------+--------------------+-------------------------------------------------…
1965 +--------------------------------------------------------------------------------------------------…
1967 +--------------------------------------------------------------------------------------------------…
1969 +--------------------------------------------------------------------------------------------------…
1971 +--------------------------------------------------------------------------------------------------…
1973 +--------------------------------------------------------------------------------------------------…
1975 +--------------------------------------------------------------------------------------------------…
1977 +--------------------------------------------------------------------------------------------------…
1979 +--------------------------------------------------------------------------------------------------…
1981--------------------------------------------------------------------------------------------------…
1982 |:warning:`warning:` |nbsp| :diagtext:`non-type template parameters declared with` |nbsp| :placehol…
1983--------------------------------------------------------------------------------------------------…
1985 +--------------------------------------------------------------------------------------------------…
1987 +--------------------------------------------------------------------------------------------------…
1989 +--------------------------------------------------------------------------------------------------…
1991 +--------------------------------------------------------------------------------------------------…
1993 +--------------------------------------------------------------------------------------------------…
1995 +--------------------------------------------------------------------------------------------------…
1997 +--------------------------------------------------------------------------------------------------…
1999 +--------------------------------------------------------------------------------------------------…
2001 +--------------------------------------------------------------------------------------------------…
2003 +--------------------------------------------------------------------------------------------------…
2005--------------------------------------------------------------------------------------------------…
2007--------------------------------------------------------------------------------------------------…
2010 -Wc++98-c++11-c++14-compat-pedantic
2011 -----------------------------------
2012 Also controls `-Wc++98-c++11-c++14-compat`_.
2016------------------------------------------------------------+---------------------------+---------…
2017 |:warning:`warning:` |nbsp| :diagtext:`attributes on` |nbsp| |+-------------------------+| |nbsp| :…
2019 | |+-------------------------+| …
2021 | |+-------------------------+| …
2022------------------------------------------------------------+---------------------------+---------…
2024 +--------------------------------------------------------------------------------------------------…
2026 +--------------------------------------------------------------------------------------------------…
2029 -Wc++98-c++11-compat
2030 --------------------
2033-----------------------------------------------------------------------------------+--------------…
2034 …|nbsp| :diagtext:`use of this statement in a constexpr` |nbsp| |+-----------------------+| |nbsp| …
2036 … |+-----------------------+| …
2038 … |+-----------------------+| …
2039-----------------------------------------------------------------------------------+--------------…
2041 +--------------------------------------------------------------------------------------------------…
2043 +--------------------------------------------------------------------------------------------------…
2045 +--------------------------------------------------------------------------------------------------…
2047 +--------------------------------------------------------------------------------------------------…
2049----------------------------------------------------------------------------------+---------------…
2050 … |nbsp| :diagtext:`variable declaration in a constexpr` |nbsp| |+-----------------------+| |nbsp| …
2052 … |+-----------------------+| …
2054 … |+-----------------------+| …
2055----------------------------------------------------------------------------------+---------------…
2057-----------------------------------------------------------------------------+--------------------…
2058 …ing:` |nbsp| :diagtext:`type definition in a constexpr` |nbsp| |+-----------------------+| |nbsp| …
2060 … |+-----------------------+| …
2062 … |+-----------------------+| …
2063-----------------------------------------------------------------------------+--------------------…
2065 +--------------------------------------------------------------------------------------------------…
2067 +--------------------------------------------------------------------------------------------------…
2069 +--------------------------------------------------------------------------------------------------…
2071 +--------------------------------------------------------------------------------------------------…
2073 +--------------------------------------------------------------------------------------------------…
2075 +--------------------------------------------------------------------------------------------------…
2077 +----------------------------------------------------------------------------------+
2079 +----------------------------------------------------------------------------------+
2081 +--------------------------------------------------------------------------------------------------…
2083 +--------------------------------------------------------------------------------------------------…
2085 +--------------------------------------------------------------------------------------------------…
2087 +--------------------------------------------------------------------------------------------------…
2090 -Wc++98-c++11-compat-binary-literal
2091 -----------------------------------
2094 +--------------------------------------------------------------------------------------------------…
2096 +--------------------------------------------------------------------------------------------------…
2099 -Wc++98-c++11-compat-pedantic
2100 -----------------------------
2101 Controls `-Wc++98-c++11-compat`_, `-Wc++98-c++11-compat-binary-literal`_.
2104 -Wc++98-compat
2105 --------------
2106-Wc++98-c++11-c++14-c++17-compat`_, `-Wc++98-c++11-c++14-compat`_, `-Wc++98-c++11-compat`_, `-Wc++…
2110 +-------------------------------------------------------------------------------------+
2112 +-------------------------------------------------------------------------------------+
2114 +---------------------------------------------------------------------------+
2116 +---------------------------------------------------------------------------+
2118 +--------------------------------------------------------------------------------------+
2120 +--------------------------------------------------------------------------------------+
2122 +----------------------------------------------------------------------------------------+
2124 +----------------------------------------------------------------------------------------+
2126 +---------------------------------------------------------------------------------------+
2128 +---------------------------------------------------------------------------------------+
2130 +---------------------------------------------------------------------------------------+
2132 +---------------------------------------------------------------------------------------+
2134 +--------------------------------------------------------------------------------------------------…
2136 +--------------------------------------------------------------------------------------------------…
2138 +-------------------------------------------------------------------------------------------+
2140 +-------------------------------------------------------------------------------------------+
2142 +---------------------------+-----------------------+----------------------------------------------…
2143 |:warning:`warning:` |nbsp| |+---------------------+| |nbsp| :diagtext:`function definitions are in…
2145 | |+---------------------+| …
2147 | |+---------------------+| …
2148 +---------------------------+-----------------------+----------------------------------------------…
2150 +------------------------------------------------------------------------------------------+
2152 +------------------------------------------------------------------------------------------+
2154 +--------------------------------------------------------------------------------------------------…
2156 +--------------------------------------------------------------------------------------------------…
2158--------------------------------------------------------------------------------------------------…
2160--------------------------------------------------------------------------------------------------…
2162 +--------------------------------------------------------------------------------------------------…
2164 +--------------------------------------------------------------------------------------------------…
2166 +--------------------------------------------------------------------------------------------------…
2168 +--------------------------------------------------------------------------------------------------…
2170 +--------------------------------------------------------------------------------------------------…
2172 +--------------------------------------------------------------------------------------------------…
2174 +------------------------------------------------------------------------------------------------+
2176 +------------------------------------------------------------------------------------------------+
2178 +--------------------------------------------------------------------------------------+
2179 |:warning:`warning:` |nbsp| :diagtext:`range-based for loop is incompatible with C++98`|
2180 +--------------------------------------------------------------------------------------+
2182 +--------------------------------------------------------------------------------------------------…
2184 +--------------------------------------------------------------------------------------------------…
2186 +------------------------------------------------------------------------------------------------+
2188 +------------------------------------------------------------------------------------------------+
2190 +--------------------------------------------------------------------------------------------------…
2192 +--------------------------------------------------------------------------------------------------…
2194-------------------------------------------------------------+----------------------+-------------…
2195 |:warning:`warning:` |nbsp| :diagtext:`jump from this` |nbsp| |+--------------------+| |nbsp| :diag…
2197 | |+--------------------+| …
2199 | |+--------------------+| …
2200-------------------------------------------------------------+----------------------+-------------…
2202 +--------------------------------------------------------------------------------------------------…
2204 +--------------------------------------------------------------------------------------------------…
2206 +------------------------------------------------------------------------------------+
2208 +------------------------------------------------------------------------------------+
2210 +-------------------------------------------------------------------------------------+
2212 +-------------------------------------------------------------------------------------+
2214 +--------------------------------------------------------------------------------------------------…
2216 +--------------------------------------------------------------------------------------------------…
2218 +------------------------------------------------------------------------------------+
2220 +------------------------------------------------------------------------------------+
2222 +--------------------------------------------------------------------------------------------------…
2224 +--------------------------------------------------------------------------------------------------…
2226 +--------------------------------------------------------------------------------------------------…
2228 +--------------------------------------------------------------------------------------------------…
2230 +------------------------------------------------------------------------------------------+
2232 +------------------------------------------------------------------------------------------+
2234 +---------------------------------------------------------------------------------------+
2236 +---------------------------------------------------------------------------------------+
2238--------------------------------------------------------------------------------------------------…
2239 |:warning:`warning:` |nbsp| :diagtext:`use of non-static data member` |nbsp| :placeholder:`A` |nbsp…
2240--------------------------------------------------------------------------------------------------…
2242 +--------------------------------------------------------------------------------------------------…
2243 |:warning:`warning:` |nbsp| :diagtext:`non-class friend type` |nbsp| :placeholder:`A` |nbsp| :diagt…
2244 +--------------------------------------------------------------------------------------------------…
2246 +--------------------------------------------------------------------------------------------------…
2247 |:warning:`warning:` |nbsp| :diagtext:`in-class initialization of non-static data members is incomp…
2248 +--------------------------------------------------------------------------------------------------…
2250---------------------------+------------------------------+---------------------------------------…
2251----------------------------+| |nbsp| :diagtext:`member` |nbsp| :placeholder:`B` |nbsp| :diagtext:…
2253----------------------------+| …
2255----------------------------+| …
2257 … |+------------------------------------+| …
2259 … |+------------------------------------+| …
2261 … |+------------------------------------+| …
2263 … |+------------------------------------+| …
2264---------------------------+------------------------------+---------------------------------------…
2266 +---------------------------------------------------------------------------+
2268 +---------------------------------------------------------------------------+
2270 +--------------------------------------------------------------------------------------------------…
2272 +--------------------------------------------------------------------------------------------------…
2274--------------------------------------------------------------------------------------------------…
2275 …object of trivial but non-POD type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`through variadic` |n…
2277 … |+-----------------------+| …
2279 … |+-----------------------+| …
2281 … |+-----------------------+| …
2283 … |+-----------------------+| …
2284--------------------------------------------------------------------------------------------------…
2286 +--------------------------------------------------------------------------------------+
2288 +--------------------------------------------------------------------------------------+
2290 +--------------------------------------------------------------------------------------------------…
2292 +--------------------------------------------------------------------------------------------------…
2294 +--------------------------------------------------------------------------------------------------…
2296 +--------------------------------------------------------------------------------------------------…
2298 +------------------------------------------------------------------------------------+
2300 +------------------------------------------------------------------------------------+
2302 +--------------------------------------------------------------------------------------+
2304 +--------------------------------------------------------------------------------------+
2306 +--------------------------------------------------------------------------------------------------…
2308 +--------------------------------------------------------------------------------------------------…
2310 +----------------------------------------------------------------------------------------------+
2312 +----------------------------------------------------------------------------------------------+
2314 +--------------------------------------------------------------------------------------------------…
2316 +--------------------------------------------------------------------------------------------------…
2318 +--------------------------------------------------------------------------------------------------…
2320 +--------------------------------------------------------------------------------------------------…
2322 +--------------------------------------------------------------------------------------------------…
2323 |:warning:`warning:` |nbsp| :diagtext:`redundant parentheses surrounding address non-type template …
2324 +--------------------------------------------------------------------------------------------------…
2326 +--------------------------------------------------------------------------------------------------…
2327 |:warning:`warning:` |nbsp| :diagtext:`use of null pointer as non-type template argument is incompa…
2328 +--------------------------------------------------------------------------------------------------…
2330--------------------------------------------------------------------------------------+-----------…
2331 |:warning:`warning:` |nbsp| :diagtext:`non-type template argument referring to` |nbsp| |+----------…
2333 … |+--------------------+| …
2335 … |+--------------------+| …
2336--------------------------------------------------------------------------------------+-----------…
2338 +--------------------------------------------------------------------------------------------------…
2340 +--------------------------------------------------------------------------------------------------…
2342 +--------------------------------------------------------------------------------------------------…
2344 +--------------------------------------------------------------------------------------------------…
2346 +----------------------------------------------------------------------------------------+
2348 +----------------------------------------------------------------------------------------+
2350 +--------------------------------------------------------------------------------------------------…
2352 +--------------------------------------------------------------------------------------------------…
2354 +--------------------------------------------------------------------------------------------------…
2356 +--------------------------------------------------------------------------------------------------…
2358--------------------------------------------------------------------------------------------------…
2359 …efriending` |nbsp| :placeholder:`B` |nbsp| :diagtext:`without '`|+---------------------+|:diagtext…
2361 … |+---------------------+| …
2363 … |+---------------------+| …
2365 … |+---------------------+| …
2367 … |+---------------------+| …
2369 … |+---------------------+| …
2370--------------------------------------------------------------------------------------------------…
2372 +--------------------------------------------------------------------------------------------------…
2374 +--------------------------------------------------------------------------------------------------…
2376 +-----------------------------------------------------------------------------------+
2378 +-----------------------------------------------------------------------------------+
2380 +--------------------------------------------------------------------------------------------------…
2382 +--------------------------------------------------------------------------------------------------…
2384 +------------------------------------------------------------------------------------------+
2386 +------------------------------------------------------------------------------------------+
2388 +-------------------------------------------------------------------------------------+
2390 +-------------------------------------------------------------------------------------+
2393 -Wc++98-compat-bind-to-temporary-copy
2394 -------------------------------------
2397---------------------------+------------------------------------------------------+---------------…
2398----------------------------------------------------+| |nbsp| :diagtext:`of type` |nbsp| :placehol…
2400----------------------------------------------------+| …
2402----------------------------------------------------+| …
2404----------------------------------------------------+| …
2406----------------------------------------------------+| …
2408 | |+----------------------------------------------------+| …
2410 | |+----------------------------------------------------+| …
2412 | |+----------------------------------------------------+| …
2414 | |+----------------------------------------------------+| …
2416 | |+----------------------------------------------------+| …
2418 | |+----------------------------------------------------+| …
2420 | |+----------------------------------------------------+| …
2422 | |+----------------------------------------------------+| …
2423---------------------------+------------------------------------------------------+---------------…
2426 -Wc++98-compat-extra-semi
2427 -------------------------
2430 +-------------------------------------------------------------------------------------------------+
2432 +-------------------------------------------------------------------------------------------------+
2435 -Wc++98-compat-local-type-template-args
2436 ---------------------------------------
2439 +--------------------------------------------------------------------------------------------------…
2441 +--------------------------------------------------------------------------------------------------…
2444 -Wc++98-compat-pedantic
2445 -----------------------
2446-Wc++98-c++11-c++14-c++17-compat-pedantic`_, `-Wc++98-c++11-c++14-compat-pedantic`_, `-Wc++98-c++1…
2450--------------------------------------------------------------------------------------------------…
2451 … of type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| |+-----------------------+| |nbsp| …
2453 … |+-----------------------+| …
2455 … |+-----------------------+| …
2456--------------------------------------------------------------------------------------------------…
2458 +--------------------------------------------------------------------------------------------------…
2459 |:warning:`warning:` |nbsp| :diagtext:`cast between pointer-to-function and pointer-to-object is in…
2460 +--------------------------------------------------------------------------------------------------…
2462 +----------------------------------------------------------------------------------------+
2464 +----------------------------------------------------------------------------------------+
2466 +--------------------------------------------------------------------------------------------------…
2468 +--------------------------------------------------------------------------------------------------…
2470 +-----------------------------------------------------------------------------------+
2472 +-----------------------------------------------------------------------------------+
2474 +-----------------------------------------------------------------------------+
2476 +-----------------------------------------------------------------------------+
2478 +----------------------------------------------------------------------------+
2480 +----------------------------------------------------------------------------+
2482 +-------------------------------------------------------------------------------------------------+
2484 +-------------------------------------------------------------------------------------------------+
2486 +----------------------------------------------------------------------------------+
2488 +----------------------------------------------------------------------------------+
2491 -Wc++98-compat-unnamed-type-template-args
2492 -----------------------------------------
2495 +--------------------------------------------------------------------------------------------------…
2497 +--------------------------------------------------------------------------------------------------…
2500 -Wc11-extensions
2501 ----------------
2504 +---------------------------------------------------------------------------+
2506 +---------------------------------------------------------------------------+
2508 +----------------------------------------------------------------------------+
2510 +----------------------------------------------------------------------------+
2512 +----------------------------------------------------------------------------------------+
2514 +----------------------------------------------------------------------------------------+
2517 -Wc2x-extensions
2518 ----------------
2523 +--------------------------------------------------------------------------------------------------…
2525 +--------------------------------------------------------------------------------------------------…
2528 -Wc99-compat
2529 ------------
2534 +---------------------------+--------------------------------------------------------+-------------…
2535 |:warning:`warning:` |nbsp| |+------------------------------------------------------+| |nbsp| :diag…
2537 | |+------------------------------------------------------+| …
2539 | |+------------------------------------------------------+| …
2540 +---------------------------+--------------------------------------------------------+-------------…
2542 +---------------------------------------------------------------------------------+
2544 +---------------------------------------------------------------------------------+
2546--------------------------------------------------------------------------------------------------…
2547 …ing as 'unsigned long' per C89; this literal will` |nbsp| |+---------------------------------+| |n…
2549 … |+---------------------------------+| …
2550 … ||:diagtext:`be ill-formed` || …
2551 … |+---------------------------------+| …
2552--------------------------------------------------------------------------------------------------…
2555 -Wc99-designator
2556 ----------------
2559 Also controls `-Wc++20-designator`_.
2563 +--------------------------------------------------------------------------------+
2565 +--------------------------------------------------------------------------------+
2567 +----------------------------------------------------------------------------+
2569 +----------------------------------------------------------------------------+
2571 +--------------------------------------------------------------------------------------------------…
2572 |:warning:`warning:` |nbsp| :diagtext:`mixture of designated and non-designated initializers in the…
2573 +--------------------------------------------------------------------------------------------------…
2575 +-----------------------------------------------------------------------------+
2577 +-----------------------------------------------------------------------------+
2580 -Wc99-extensions
2581 ----------------
2584 Also controls `-Wc99-designator`_.
2588 +-----------------------------------------------------------------------------------------------+
2589 |:warning:`warning:` |nbsp| :diagtext:`initializer for aggregate is not a compile-time constant`|
2590 +-----------------------------------------------------------------------------------------------+
2592 +---------------------------+----------------------------------+------------------------------+----…
2593 |:warning:`warning:` |nbsp| |+--------------------------------+|:diagtext:`array size` |nbsp| |+---…
2595 | |+--------------------------------+| |+---…
2597 | |+--------------------------------+| |+---…
2599 | |+--------------------------------+| |+---…
2600 +---------------------------+----------------------------------+------------------------------+----…
2602 +-----------------------------------------------------------------------------------+
2603 |:warning:`warning:` |nbsp| :diagtext:`compound literals are a C99-specific feature`|
2604 +-----------------------------------------------------------------------------------+
2606 +----------------------------------------------------------------------------------------+
2608 +----------------------------------------------------------------------------------------+
2610 +-------------------------------------------------------------------------------+
2612 +-------------------------------------------------------------------------------+
2614 +-------------------------------------------------------------------------------------------------+
2615 |:warning:`warning:` |nbsp| :diagtext:`variable declaration in for loop is a C99-specific feature`|
2616 +-------------------------------------------------------------------------------------------------+
2618 +---------------------------------------------------------------------------------------+
2620 +---------------------------------------------------------------------------------------+
2622 +------------------------------------------------------------------------------+
2624 +------------------------------------------------------------------------------+
2626 +--------------------------------------------------------------------------------------------------…
2627 |:warning:`warning:` |nbsp| :diagtext:`commas at the end of enumerator lists are a C99-specific fea…
2628 +--------------------------------------------------------------------------------------------------…
2630 +---------------------------------------------------------------------------------------+
2632 +---------------------------------------------------------------------------------------+
2635 -Wcall-to-pure-virtual-from-ctor-dtor
2636 -------------------------------------
2641--------------------------------------------------------------------------------------------------…
2642 …bsp| :diagtext:`in subclasses are not available in the` |nbsp| |+-----------------------+| |nbsp| …
2644 … |+-----------------------+| …
2646 … |+-----------------------+| …
2647--------------------------------------------------------------------------------------------------…
2650 -Wcast-align
2651 ------------
2654--------------------------------------------------------------------------------------------------…
2656--------------------------------------------------------------------------------------------------…
2659 -Wcast-calling-convention
2660 -------------------------
2665--------------------------------------------------------------------------------------------------…
2667--------------------------------------------------------------------------------------------------…
2670 -Wcast-of-sel-type
2671 ------------------
2676--------------------------------------------------------------------------------------------------…
2678--------------------------------------------------------------------------------------------------…
2681 -Wcast-qual
2682 -----------
2685--------------------------------------------------------------------------------------------------…
2686 …bsp| :placeholder:`B` |nbsp| :diagtext:`drops` |nbsp| |+-----------------------------------------+|
2688 … |+-----------------------------------------+|
2690 … |+-----------------------------------------+|
2692 … |+-----------------------------------------+|
2693--------------------------------------------------------------------------------------------------…
2695--------------------------------------------------------------------------------------------------…
2697--------------------------------------------------------------------------------------------------…
2700 -Wcast-qual-unrelated
2701 ---------------------
2706---------------------------------------------------------------------+----------------------------…
2707 …arning:` |nbsp| :diagtext:`ISO C++ does not allow` |nbsp| |+---------------------------------+| |n…
2709 … |+---------------------------------+| …
2711 … |+---------------------------------+| …
2713 … |+---------------------------------+| …
2715 … |+---------------------------------+| …
2716 | ||:diagtext:`C-style cast` …
2717 … |+---------------------------------+| …
2718 | ||:diagtext:`functional-style…
2719 … |+---------------------------------+| …
2720---------------------------------------------------------------------+----------------------------…
2723 -Wchar-align
2724 ------------
2727 -Wchar-subscripts
2728 -----------------
2731 +------------------------------------------------------------+-------------------------+-----------…
2732 |:warning:`warning:` |nbsp| :diagtext:`array section` |nbsp| |+-----------------------+| |nbsp| :di…
2734 | |+-----------------------+| …
2736 | |+-----------------------+| …
2737 +------------------------------------------------------------+-------------------------+-----------…
2739 +------------------------------------------------------------------------+
2741 +------------------------------------------------------------------------+
2744 -Wclang-cl-pch
2745 --------------
2750 +--------------------------------------------------------------------------------------------------…
2752 +--------------------------------------------------------------------------------------------------…
2754 +--------------------------------------------------------------------------------------------------…
2756 +--------------------------------------------------------------------------------------------------…
2758 +--------------------------------------------------------------------------------------------------…
2760 +--------------------------------------------------------------------------------------------------…
2762 +--------------------------------------------------------------------------------------------------…
2764 +--------------------------------------------------------------------------------------------------…
2767 -Wclass-varargs
2768 ---------------
2771 Also controls `-Wnon-pod-varargs`_.
2775--------------------------------------------------------------------------------------------------…
2776 …:`through variadic` |nbsp| |+-----------------------+|+-------------------------------------------…
2778 … |+-----------------------+|+-------------------------------------------…
2779 … ||:diagtext:`block` |||+-------------------------------------------------------…
2780 … |+-----------------------+|||:diagt…
2781 … ||:diagtext:`method` |||+-------------------------------------------------------…
2782 … |+-----------------------+|+-------------------------------------------…
2784 … |+-----------------------+| …
2785--------------------------------------------------------------------------------------------------…
2788 -Wcmse-union-leak
2789 -----------------
2794-----------------------------------------------------------------------------------------+--------…
2795 …passing union across security boundary via` |nbsp| |+---------------------------------------------…
2796 … ||+--------------------------------------------…
2798 … ||+--------------------------------------------…
2799 … |+---------------------------------------------…
2801 … |+---------------------------------------------…
2802-----------------------------------------------------------------------------------------+--------…
2805 -Wcomma
2806 -------
2809 +-----------------------------------------------------------------------------+
2811 +-----------------------------------------------------------------------------+
2814 -Wcomment
2815 ---------
2820 +--------------------------------------------------------------------------------------------------+
2822 +--------------------------------------------------------------------------------------------------+
2824 +-----------------------------------------------------------------------------------+
2826 +-----------------------------------------------------------------------------------+
2828 +------------------------------------------------------------+
2829 |:warning:`warning:` |nbsp| :diagtext:`multi-line // comment`|
2830 +------------------------------------------------------------+
2832 +-----------------------------------------------------------------+
2834 +-----------------------------------------------------------------+
2837 -Wcomments
2838 ----------
2839 Synonym for `-Wcomment`_.
2842 -Wcompare-distinct-pointer-types
2843 --------------------------------
2848 +---------------------------------------------------------------------------+
2850 +---------------------------------------------------------------------------+
2853 -Wcomplex-component-init
2854 ------------------------
2857 +--------------------------------------------------------------------------------------------------…
2859 +--------------------------------------------------------------------------------------------------…
2862 -Wconcepts-ts-compat
2863 --------------------
2868 +--------------------------------------------------------------------------------------------------…
2870 +--------------------------------------------------------------------------------------------------…
2873 -Wconditional-type-mismatch
2874 ---------------------------
2879 +----------------------------------------------------------------------------------------------+
2881 +----------------------------------------------------------------------------------------------+
2884 -Wconditional-uninitialized
2885 ---------------------------
2888--------------------------------------------------------------------------------------------------…
2889 …aceholder:`A` |nbsp| :diagtext:`may be uninitialized when` |nbsp| |+-----------------------------+|
2891 … |+-----------------------------+|
2893 … |+-----------------------------+|
2894--------------------------------------------------------------------------------------------------…
2897 -Wconfig-macros
2898 ---------------
2903---------------------------+------------------------+---------------------------------------------…
2904----------------------+| |nbsp| :diagtext:`of configuration macro '`:placeholder:`B`:diagtext:`' h…
2905 … ||+---------------------------------------------…
2906----------------------+| …
2907 … ||+---------------------------------------------…
2908----------------------+| …
2909 … ||+------------------------------+ …
2910 … |||:diagtext:`-U`:placeholder:`B`| …
2911 … ||+------------------------------+ …
2912 … |+----------------------------------------------…
2913---------------------------+------------------------+---------------------------------------------…
2916 -Wconstant-conversion
2917 ---------------------
2920 Also controls `-Wbitfield-constant-conversion`_, `-Wobjc-bool-constant-conversion`_.
2924--------------------------------------------------------------------------------------------------…
2926--------------------------------------------------------------------------------------------------…
2929 -Wconstant-evaluated
2930 --------------------
2935 +--------------------------------------------------------------------------------------------------…
2936 …lder:`A`:diagtext:`' will always evaluate to 'true' in a manifestly constant-evaluated expression`|
2937 +--------------------------------------------------------------------------------------------------…
2940 -Wconstant-logical-operand
2941 --------------------------
2946 +--------------------------------------------------------------------------------------------------…
2948 +--------------------------------------------------------------------------------------------------…
2951 -Wconstexpr-not-const
2952 ---------------------
2957--------------------------------------------------------------------------------------------------…
2958 |:warning:`warning:` |nbsp| :diagtext:`'constexpr' non-static member function will not be implicitl…
2959--------------------------------------------------------------------------------------------------…
2962 -Wconsumed
2963 ----------
2966--------------------------------------------------------------------------------------------------…
2968--------------------------------------------------------------------------------------------------…
2970 +--------------------------------------------------------------------------------------------------…
2972 +--------------------------------------------------------------------------------------------------…
2974--------------------------------------------------------------------------------------------------…
2976--------------------------------------------------------------------------------------------------…
2978 +--------------------------------------------------------------------------------------------------…
2980 +--------------------------------------------------------------------------------------------------…
2982 +--------------------------------------------------------------------------------------------------…
2984 +--------------------------------------------------------------------------------------------------…
2986--------------------------------------------------------------------------------------------------…
2988--------------------------------------------------------------------------------------------------…
2990--------------------------------------------------------------------------------------------------…
2992--------------------------------------------------------------------------------------------------…
2994--------------------------------------------------------------------------------------------------…
2996--------------------------------------------------------------------------------------------------…
2999 -Wconversion
3000 ------------
3003-Wbitfield-enum-conversion`_, `-Wbool-conversion`_, `-Wconstant-conversion`_, `-Wenum-conversion`_…
3007--------------------------------------------------------------------------------------------------…
3009--------------------------------------------------------------------------------------------------…
3011--------------------------------------------------------------------------------------------------…
3013--------------------------------------------------------------------------------------------------…
3015--------------------------------------------------------------------------------------------------…
3016 |:warning:`warning:` |nbsp| :diagtext:`passing non-generic address space pointer to` |nbsp| :placeh…
3017--------------------------------------------------------------------------------------------------…
3019--------------------------------------------------------------------------------------------------…
3020 |:warning:`warning:` |nbsp| :diagtext:`non-type template argument with value '`:placeholder:`A`:dia…
3021--------------------------------------------------------------------------------------------------…
3023--------------------------------------------------------------------------------------------------…
3024 |:warning:`warning:` |nbsp| :diagtext:`non-type template argument value '`:placeholder:`A`:diagtext…
3025--------------------------------------------------------------------------------------------------…
3028 -Wconversion-null
3029 -----------------
3030 Synonym for `-Wnull-conversion`_.
3033 -Wcoroutine
3034 -----------
3035 Synonym for `-Wcoroutine-missing-unhandled-exception`_.
3038 -Wcoroutine-missing-unhandled-exception
3039 ---------------------------------------
3044 +--------------------------------------------------------------------------------------------------…
3046 +--------------------------------------------------------------------------------------------------…
3049 -Wcovered-switch-default
3050 ------------------------
3053 +--------------------------------------------------------------------------------------------------+
3055 +--------------------------------------------------------------------------------------------------+
3058 -Wcpp
3059 -----
3060 Synonym for `-W#warnings`_.
3063 -Wcstring-format-directive
3064 --------------------------
3067--------------------------------------------------------------------------------------------------…
3068 …bsp| |+--------------------+| |nbsp| :diagtext:`which is being passed as a formatting argument to …
3070 … |+--------------------+| …
3072 … |+--------------------+| …
3073--------------------------------------------------------------------------------------------------…
3076 -Wctad-maybe-unsupported
3077 ------------------------
3080 +--------------------------------------------------------------------------------------------------…
3082 +--------------------------------------------------------------------------------------------------…
3085 -Wctor-dtor-privacy
3086 -------------------
3089 -Wctu
3090 -----
3095--------------------------------------------------------------------------------------------------…
3097--------------------------------------------------------------------------------------------------…
3100 -Wcuda-compat
3101 -------------
3106--------------------------------------------------------------------------------------------------…
3108--------------------------------------------------------------------------------------------------…
3110 +--------------------------------------------------------------------------------------------------…
3112 +--------------------------------------------------------------------------------------------------…
3114 +--------------------------------------------------------------------------------------------------…
3116 +--------------------------------------------------------------------------------------------------…
3118--------------------------------------------------------------------------------------------------…
3120--------------------------------------------------------------------------------------------------…
3122 +--------------------------------------------------------------------------------------------------…
3124 +--------------------------------------------------------------------------------------------------…
3127 -Wcustom-atomic-properties
3128 --------------------------
3131--------------------------------------------------------------------------------------------------…
3132 …p| :placeholder:`A` |nbsp| :diagtext:`has a user defined` |nbsp| |+------------------+| |nbsp| :di…
3134 … |+------------------+| …
3136 … |+------------------+| …
3137--------------------------------------------------------------------------------------------------…
3140 -Wdangling
3141 ----------
3144 Also controls `-Wdangling-field`_, `-Wdangling-gsl`_, `-Wdangling-initializer-list`_, `-Wreturn-sta…
3148---------------------------+----------------------------------------------------------------------…
3149--------------------------------------------------------------------------------------------------…
3150-----------------------------+---------------------------------------------------------+--------+-…
3151 …nbsp| |+-------------------------------------------------------+| |nbsp| |+-----------------------…
3152 … || ||+-------------------------------+------------------------------------+|||| …
3153-------------------------------------------------------+| |||+-----------------------------
3154 … ||| ||+--------------------------------+---------------…
3155------------------------------+|:diagtext:`bound to`||| |||+-----------------------------+|…
3157 … |||+------------------------------+| ||| |||+---…
3158 …nbsp| || ||| ||+-------------------------------+------------------------…
3159 … |||+------------------------------+| ||| |+------------------------…
3160 … ||+--------------------------------+--------------------+|| ||+-------------…
3161 … |+-------------------------------------------------------+| |||:diagtext:`l…
3163 … | ||| |+---------------------+| …
3165 … | ||| |+---------------------+| …
3166 … | ||+-------------------------+--------------------…
3167 … | |+---------------------------------------------------------…
3168-----------------------------+---------------------------------------------------------+--------+-…
3169--------------------------------------------------------------------------------------------------…
3170 … ||+---------------------------------+----------------------------------…
3171 … |||:diagtext:`array backing` |nbsp| |+--------------------------------------------------…
3173 … ||| |+--------------------------------------------------…
3175 … ||| |+--------------------------------------------------…
3176 … ||+---------------------------------+----------------------------------…
3177--------------------------------------------------------------------------------------------------…
3178---------------------------+----------------------------------------------------------------------…
3180---------------------------------------------------------------------------+----------------------…
3181---------------------------------------------+| |nbsp| :diagtext:`created by aggregate initializat…
3183---------------------------------------------+| …
3185---------------------------------------------+| …
3186---------------------------------------------------------------------------+----------------------…
3189 -Wdangling-else
3190 ---------------
3195 +---------------------------------------------------------------------------------+
3197 +---------------------------------------------------------------------------------+
3200 -Wdangling-field
3201 ----------------
3206--------------------------------------------------------------------------------------------------…
3207 …| :placeholder:`A` |nbsp| :diagtext:`to stack allocated` |nbsp| |+---------------------+| |nbsp| :…
3209 … |+---------------------+| …
3211 … |+---------------------+| …
3212--------------------------------------------------------------------------------------------------…
3214---------------------------+--------------------------------------------------------+--------+----…
3215------------------------------------------------------+| |nbsp| |+--------------------------------
3217------------------------------------------------------+| |+--------------------------------
3219------------------------------------------------------+| |+--------------------------------
3220---------------------------+--------------------------------------------------------+--------+----…
3222--------------------------------------------------------------------------------------------------…
3223 …eholder:`A` |nbsp| :diagtext:`with the stack address of` |nbsp| |+---------------------+| |nbsp| :…
3225 … |+---------------------+| …
3227 … |+---------------------+| …
3228--------------------------------------------------------------------------------------------------…
3230 +--------------------------------------------------------------------------------------------------…
3231 …bound to reference member of allocated object will be destroyed at the end of the full-expression`|
3232 +--------------------------------------------------------------------------------------------------…
3235 -Wdangling-gsl
3236 --------------
3241 +--------------------------------------------------------------------------------------------------…
3242 … |nbsp| :diagtext:`object backing the pointer will be destroyed at the end of the full-expression`|
3243 +--------------------------------------------------------------------------------------------------…
3245--------------------------------------------------------------------------------------------------…
3247--------------------------------------------------------------------------------------------------…
3250 -Wdangling-initializer-list
3251 ---------------------------
3256------------------------------------------------------------+-------------------------------------…
3257 …ing` |nbsp| |+--------------------------------------------------------------+| |nbsp| :diagtext:`w…
3259 … |+-----------------------------------------------------…
3261 … |+-----------------------------------------------------…
3262------------------------------------------------------------+-------------------------------------…
3265 -Wdarwin-sdk-settings
3266 ---------------------
3271 +--------------------------------------------------------------------------------------------------…
3273 +--------------------------------------------------------------------------------------------------…
3276 -Wdate-time
3277 -----------
3280 +------------------------------------------------------------------------------------------+
3282 +------------------------------------------------------------------------------------------+
3285 -Wdealloc-in-category
3286 ---------------------
3291 +---------------------------------------------------------------------------------+
3292 |:warning:`warning:` |nbsp| :diagtext:`-dealloc is being overridden in a category`|
3293 +---------------------------------------------------------------------------------+
3296 -Wdebug-compression-unavailable
3297 -------------------------------
3302 +------------------------------------------------------------------------------------------+
3304 +------------------------------------------------------------------------------------------+
3307 -Wdeclaration-after-statement
3308 -----------------------------
3311 +-----------------------------------------------------------------------------------+
3313 +-----------------------------------------------------------------------------------+
3316 -Wdefaulted-function-deleted
3317 ----------------------------
3322-------------------------------------------------------------------+------------------------+-----…
3323 |:warning:`warning:` |nbsp| :diagtext:`explicitly defaulted` |nbsp| |+----------------------+| |nbs…
3325 | |+----------------------+| …
3327 | |+----------------------+| …
3328 | ||:diagtext:`three-way` || …
3329 | |+----------------------+| …
3331 | |+----------------------+| …
3333 | |+----------------------+| …
3334-------------------------------------------------------------------+------------------------+-----…
3336 +-------------------------------------------------------------------+------------------------------…
3337 …arning:` |nbsp| :diagtext:`explicitly defaulted` |nbsp| |+------------------------------------+| |…
3339 … |+------------------------------------+| …
3341 … |+------------------------------------+| …
3343 … |+------------------------------------+| …
3345 … |+------------------------------------+| …
3347 … |+------------------------------------+| …
3349 … |+------------------------------------+| …
3350 +-------------------------------------------------------------------+------------------------------…
3353 -Wdelegating-ctor-cycles
3354 ------------------------
3355 This diagnostic is an error by default, but the flag ``-Wno-delegating-ctor-cycles`` can be used to…
3359 +--------------------------------------------------------------------------------------------------…
3361 +--------------------------------------------------------------------------------------------------…
3364 -Wdelete-abstract-non-virtual-dtor
3365 ----------------------------------
3370---------------------------+------------------------+---------------------------------------------…
3371 …ng:` |nbsp| |+----------------------+| |nbsp| :diagtext:`called on` |nbsp| :placeholder:`B` |nbsp|…
3373 | |+----------------------+| …
3375 | |+----------------------+| …
3376---------------------------+------------------------+---------------------------------------------…
3379 -Wdelete-incomplete
3380 -------------------
3385 +--------------------------------------------------------------------------------------------------…
3386 |:warning:`warning:` |nbsp| :diagtext:`cannot delete expression with pointer-to-'void' type` |nbsp|…
3387 +--------------------------------------------------------------------------------------------------…
3389 +--------------------------------------------------------------------------------------------------…
3391 +--------------------------------------------------------------------------------------------------…
3394 -Wdelete-non-abstract-non-virtual-dtor
3395 --------------------------------------
3398---------------------------+------------------------+---------------------------------------------…
3399 …sp| |+----------------------+| |nbsp| :diagtext:`called on non-final` |nbsp| :placeholder:`B` |nbs…
3401 | |+----------------------+| …
3403 | |+----------------------+| …
3404---------------------------+------------------------+---------------------------------------------…
3407 -Wdelete-non-virtual-dtor
3408 -------------------------
3411 Controls `-Wdelete-abstract-non-virtual-dtor`_, `-Wdelete-non-abstract-non-virtual-dtor`_.
3414 -Wdeprecated
3415 ------------
3418-Wdeprecated-anon-enum-enum-conversion`_, `-Wdeprecated-array-compare`_, `-Wdeprecated-attributes`…
3422 +---------------------------------------------------------------+
3423 |:warning:`warning:` |nbsp| :diagtext:`-O4 is equivalent to -O3`|
3424 +---------------------------------------------------------------+
3426 +--------------------------------------------------------------------------------------------------…
3428 +--------------------------------------------------------------------------------------------------…
3430 +--------------------------------------------------------------------------------------------------…
3431 |:warning:`warning:` |nbsp| :diagtext:`out-of-line definition of constexpr static data member is re…
3432 +--------------------------------------------------------------------------------------------------…
3434 +--------------------------------------------------------------------------------------------------…
3436 +--------------------------------------------------------------------------------------------------…
3438--------------------------------------------------------------------------------------------------…
3440--------------------------------------------------------------------------------------------------…
3442 +--------------------------------------------------------------------------------------------------…
3443 |:warning:`warning:` |nbsp| :diagtext:`-fconcepts-ts is deprecated - use '-std=c++20' for Concepts …
3444 +--------------------------------------------------------------------------------------------------…
3446--------------------------------------------------------------------------------------------------…
3448--------------------------------------------------------------------------------------------------…
3450 +------------------------------------------------------------------------------------+
3452 +------------------------------------------------------------------------------------+
3455 -Wdeprecated-anon-enum-enum-conversion
3456 --------------------------------------
3461---------------------------+--------------------------------------------+-------------------------…
3462 |:warning:`warning:` |nbsp| |+------------------------------------------+| |nbsp| :diagtext:`differ…
3464 | |+------------------------------------------+| …
3466 | |+------------------------------------------+| …
3468 | |+------------------------------------------+| …
3470 | |+------------------------------------------+| …
3472 | |+------------------------------------------+| …
3473---------------------------+--------------------------------------------+-------------------------…
3476 -Wdeprecated-array-compare
3477 --------------------------
3482--------------------------------------------------------------------------------------------------…
3484--------------------------------------------------------------------------------------------------…
3487 -Wdeprecated-attributes
3488 -----------------------
3493 +--------------------------------------------------------------------------------------------------…
3495 +--------------------------------------------------------------------------------------------------…
3498 -Wdeprecated-comma-subscript
3499 ----------------------------
3504 +--------------------------------------------------------------------------------------------------+
3505 |:warning:`warning:` |nbsp| :diagtext:`top-level comma expression in array subscript is deprecated`|
3506 +--------------------------------------------------------------------------------------------------+
3509 -Wdeprecated-copy
3510 -----------------
3513--------------------------------------------------------------------------+-----------------------…
3514-------------------------------+| |nbsp| :diagtext:`for` |nbsp| :placeholder:`A` |nbsp| :diagtext:…
3516-------------------------------+| …
3518-------------------------------+| …
3519--------------------------------------------------------------------------+-----------------------…
3522 -Wdeprecated-copy-dtor
3523 ----------------------
3526--------------------------------------------------------------------------+-----------------------…
3527 …|nbsp| |+-------------------------------+| |nbsp| :diagtext:`for` |nbsp| :placeholder:`A` |nbsp| :…
3529 … |+-------------------------------+| …
3531 … |+-------------------------------+| …
3532--------------------------------------------------------------------------+-----------------------…
3535 -Wdeprecated-declarations
3536 -------------------------
3541 +--------------------------------------------------------------------------------------------------…
3543 +--------------------------------------------------------------------------------------------------…
3545 +--------------------------------------------------------------------------------------------------…
3546 |:warning:`warning:` |nbsp| :diagtext:`use of C-style parameters in Objective-C method declarations…
3547 +--------------------------------------------------------------------------------------------------…
3549 +----------------------------------------------------------------------------+
3551 +----------------------------------------------------------------------------+
3553 +--------------------------------------------------------------------------------------------------…
3555 +--------------------------------------------------------------------------------------------------…
3557 +--------------------------------------------------------------------------------------------------…
3559 +--------------------------------------------------------------------------------------------------…
3561 +--------------------------------------------------------------------------------------------------…
3563 +--------------------------------------------------------------------------------------------------…
3566 -Wdeprecated-dynamic-exception-spec
3567 -----------------------------------
3570 +--------------------------------------------------------------------------------------+
3572 +--------------------------------------------------------------------------------------+
3575 -Wdeprecated-enum-compare
3576 -------------------------
3581---------------------------+--------------------------------------------+-------------------------…
3582 |:warning:`warning:` |nbsp| |+------------------------------------------+| |nbsp| :diagtext:`differ…
3584 | |+------------------------------------------+| …
3586 | |+------------------------------------------+| …
3588 | |+------------------------------------------+| …
3590 | |+------------------------------------------+| …
3592 | |+------------------------------------------+| …
3593---------------------------+--------------------------------------------+-------------------------…
3596 -Wdeprecated-enum-compare-conditional
3597 -------------------------------------
3602---------------------------+--------------------------------------------+-------------------------…
3603 |:warning:`warning:` |nbsp| |+------------------------------------------+| |nbsp| :diagtext:`differ…
3605 | |+------------------------------------------+| …
3607 | |+------------------------------------------+| …
3609 | |+------------------------------------------+| …
3611 | |+------------------------------------------+| …
3613 | |+------------------------------------------+| …
3614---------------------------+--------------------------------------------+-------------------------…
3617 -Wdeprecated-enum-enum-conversion
3618 ---------------------------------
3623---------------------------+--------------------------------------------+-------------------------…
3624 |:warning:`warning:` |nbsp| |+------------------------------------------+| |nbsp| :diagtext:`differ…
3626 | |+------------------------------------------+| …
3628 | |+------------------------------------------+| …
3630 | |+------------------------------------------+| …
3632 | |+------------------------------------------+| …
3634 | |+------------------------------------------+| …
3635---------------------------+--------------------------------------------+-------------------------…
3638 -Wdeprecated-enum-float-conversion
3639 ----------------------------------
3644---------------------------+--------------------------------------------+--------+----------------…
3645------------------------------------------+| |nbsp| |+--------------------------+| |nbsp| :diagtex…
3646 … ||:diagtext:`arithmetic between` || ||:diagtext:`floating-point`|| …
3647------------------------------------------+| |+--------------------------+| …
3648 … ||:diagtext:`from`|| ||:diagtext:`floating-point`|| …
3649------------------------------------------+| |+--------------------------+| …
3651------------------------------------------+| | | …
3653 | |+------------------------------------------+| | …
3655 | |+------------------------------------------+| | …
3656---------------------------+--------------------------------------------+--------+----------------…
3659 -Wdeprecated-implementations
3660 ----------------------------
3663 +----------------------------------------------------------------------+----------------------+
3664 |:warning:`warning:` |nbsp| :diagtext:`implementing deprecated` |nbsp| |+--------------------+|
3666 | |+--------------------+|
3668 | |+--------------------+|
3670 | |+--------------------+|
3671 +----------------------------------------------------------------------+----------------------+
3673 +----------------------------------------------------------------------+
3675 +----------------------------------------------------------------------+
3678 -Wdeprecated-increment-bool
3679 ---------------------------
3684 +--------------------------------------------------------------------------------------------------…
3686 +--------------------------------------------------------------------------------------------------…
3689 -Wdeprecated-objc-isa-usage
3690 ---------------------------
3695 +--------------------------------------------------------------------------------------------------…
3696 |:warning:`warning:` |nbsp| :diagtext:`assignment to Objective-C's isa is deprecated in favor of ob…
3697 +--------------------------------------------------------------------------------------------------…
3699 +--------------------------------------------------------------------------------------------------…
3700 |:warning:`warning:` |nbsp| :diagtext:`direct access to Objective-C's isa is deprecated in favor of…
3701 +--------------------------------------------------------------------------------------------------…
3704 -Wdeprecated-objc-pointer-introspection
3705 ---------------------------------------
3708 Also controls `-Wdeprecated-objc-pointer-introspection-performSelector`_.
3712 +--------------------------------------------------------------------------------------------------…
3713 |:warning:`warning:` |nbsp| :diagtext:`bitmasking for introspection of Objective-C object pointers …
3714 +--------------------------------------------------------------------------------------------------…
3717 -Wdeprecated-objc-pointer-introspection-performSelector
3718 -------------------------------------------------------
3723 +--------------------------------------------------------------------------------------------------…
3724 |:warning:`warning:` |nbsp| :diagtext:`bitmasking for introspection of Objective-C object pointers …
3725 +--------------------------------------------------------------------------------------------------…
3728 -Wdeprecated-register
3729 ---------------------
3734 +--------------------------------------------------------------------------------------------------…
3736 +--------------------------------------------------------------------------------------------------…
3739 -Wdeprecated-this-capture
3740 -------------------------
3743 +--------------------------------------------------------------------------------------------------…
3745 +--------------------------------------------------------------------------------------------------…
3748 -Wdeprecated-volatile
3749 ---------------------
3754--------------------------------------------------------------------------------------------------…
3755 |:warning:`warning:` |nbsp| :diagtext:`compound assignment to object of volatile-qualified type` |n…
3756--------------------------------------------------------------------------------------------------…
3758---------------------------+-----------------------+----------------------------------------------…
3759 |:warning:`warning:` |nbsp| |+---------------------+| |nbsp| :diagtext:`of object of volatile-quali…
3761 | |+---------------------+| …
3763 | |+---------------------+| …
3764---------------------------+-----------------------+----------------------------------------------…
3766--------------------------------------------------------------------------------------------------…
3767 |:warning:`warning:` |nbsp| :diagtext:`use of result of assignment to object of volatile-qualified …
3768--------------------------------------------------------------------------------------------------…
3770 +--------------------------------------------------------------------------------------------------…
3771 |:warning:`warning:` |nbsp| :diagtext:`volatile-qualified parameter type` |nbsp| :placeholder:`A` |…
3772 +--------------------------------------------------------------------------------------------------…
3774 +--------------------------------------------------------------------------------------------------…
3775 |:warning:`warning:` |nbsp| :diagtext:`volatile-qualified return type` |nbsp| :placeholder:`A` |nbs…
3776 +--------------------------------------------------------------------------------------------------…
3778 +--------------------------------------------------------------------------------------------------…
3780 +--------------------------------------------------------------------------------------------------…
3783 -Wdeprecated-writable-strings
3784 -----------------------------
3785 Synonym for `-Wc++11-compat-deprecated-writable-strings`_.
3788 -Wdirect-ivar-access
3789 --------------------
3792 +--------------------------------------------------------------------------------------------------…
3794 +--------------------------------------------------------------------------------------------------…
3797 -Wdisabled-macro-expansion
3798 --------------------------
3801 +----------------------------------------------------------------------------+
3803 +----------------------------------------------------------------------------+
3806 -Wdisabled-optimization
3807 -----------------------
3810 -Wdiscard-qual
3811 --------------
3814 -Wdistributed-object-modifiers
3815 ------------------------------
3820 +--------------------------------------------------------------------------------------------------…
3822 +--------------------------------------------------------------------------------------------------…
3824 +--------------------------------------------------------------------------------------------------…
3826 +--------------------------------------------------------------------------------------------------…
3829 -Wdiv-by-zero
3830 -------------
3831 Synonym for `-Wdivision-by-zero`_.
3834 -Wdivision-by-zero
3835 ------------------
3840 +---------------------------+-----------------------+----------------------------------------+
3841 |:warning:`warning:` |nbsp| |+---------------------+| |nbsp| :diagtext:`by zero is undefined`|
3843 | |+---------------------+| |
3845 | |+---------------------+| |
3846 +---------------------------+-----------------------+----------------------------------------+
3849 -Wdll-attribute-on-redeclaration
3850 --------------------------------
3855--------------------------------------------------------------------------------------------------…
3857--------------------------------------------------------------------------------------------------…
3860 -Wdllexport-explicit-instantiation-decl
3861 ---------------------------------------
3866 +--------------------------------------------------------------------------------------------------…
3868 +--------------------------------------------------------------------------------------------------…
3871 -Wdllimport-static-field-def
3872 ----------------------------
3877 +---------------------------------------------------------------------------+
3879 +---------------------------------------------------------------------------+
3882 -Wdocumentation
3883 ---------------
3884 Also controls `-Wdocumentation-deprecated-sync`_, `-Wdocumentation-html`_.
3888----------------------------------------+----------------+-----------------------+----------------…
3889 …ext:`'`|+--------------+|+---------------------+|:diagtext:`' command should not be used in a comm…
3891 … |+--------------+|+---------------------+| …
3893 … |+--------------+|+---------------------+| …
3895 … |+---------------------+| …
3897 … |+---------------------+| …
3899 … |+---------------------+| …
3900----------------------------------------+----------------+-----------------------+----------------…
3902 +-----------------------------------------------------------+----------------+---------------------…
3903 |:warning:`warning:` |nbsp| :diagtext:`duplicated command '`|+--------------+|:placeholder:`B`:diag…
3905 | |+--------------+| …
3907 | |+--------------+| …
3908 +-----------------------------------------------------------+----------------+---------------------…
3910 +------------------------------------------------------------------+----------------+--------------…
3911 |:warning:`warning:` |nbsp| :diagtext:`empty paragraph passed to '`|+--------------+|:placeholder:`…
3913 | |+--------------+| …
3915 | |+--------------+| …
3916 +------------------------------------------------------------------+----------------+--------------…
3918----------------------------------------+----------------+--------------------------+-------------…
3919 …sp| :diagtext:`'`|+--------------+|+------------------------+|:diagtext:`' command should not be u…
3921 | |+--------------+|+------------------------+| …
3923 | |+--------------+|+------------------------+| …
3925 | | |+------------------------+| …
3927 | | |+------------------------+| …
3929 | | |+------------------------+| …
3931 | | |+------------------------+| …
3933 | | |+------------------------+| …
3935 | | |+------------------------+| …
3937 | | |+------------------------+| …
3939 | | |+------------------------+| …
3941 | | |+------------------------+| …
3942----------------------------------------+----------------+--------------------------+-------------…
3944----------------------------------------+----------------+---------------------------+------------…
3945 …|+--------------+|+-------------------------+|:diagtext:`' command should be used in a comment att…
3947 …|+--------------+|+-------------------------+| …
3949 …|+--------------+|+-------------------------+| …
3950 … ||:diagtext:`an Objective-C method`|| …
3951 … |+-------------------------+| …
3952 … ||:diagtext:`an Objective-C method`|| …
3953 … |+-------------------------+| …
3955 … |+-------------------------+| …
3956----------------------------------------+----------------+---------------------------+------------…
3958 +--------------------------------------------------------------------------------------------------…
3960 +--------------------------------------------------------------------------------------------------…
3962 +-------------------------------------------------------------------------------+
3964 +-------------------------------------------------------------------------------+
3966 +----------------------------------------+----------------+----------------------------------------…
3967 |:warning:`warning:` |nbsp| :diagtext:`'`|+--------------+|:placeholder:`B`:diagtext:`' command doe…
3969 | |+--------------+| …
3971 | |+--------------+| …
3972 +----------------------------------------+----------------+----------------------------------------…
3974 +--------------------------------------------------------------------------------------------------…
3976 +--------------------------------------------------------------------------------------------------…
3978 +--------------------------------------------------------------------------------------------------…
3980 +--------------------------------------------------------------------------------------------------…
3982 +----------------------------------------+----------------+----------------------------------------…
3983 |:warning:`warning:` |nbsp| :diagtext:`'`|+--------------+|:diagtext:`param' command used in a comm…
3985 | |+--------------+| …
3987 | |+--------------+| …
3988 +----------------------------------------+----------------+----------------------------------------…
3990 +--------------------------------------------------------------------------------------------------…
3992 +--------------------------------------------------------------------------------------------------…
3994----------------------------------------+----------------+----------------------------------------…
3995 …t:`'`|+--------------+|:placeholder:`B`:diagtext:`' command used in a comment that is attached to …
3997 … |+--------------+| …
3999 … |+--------------+| …
4001 … |+-----------------------------------+|
4003 … |+-----------------------------------+|
4004----------------------------------------+----------------+----------------------------------------…
4006----------------------------------------+----------------+----------------------------------------…
4007 |:warning:`warning:` |nbsp| :diagtext:`'`|+--------------+|:placeholder:`B`:diagtext:`' command use…
4009 | |+--------------+| …
4011 | |+--------------+| …
4012----------------------------------------+----------------+----------------------------------------…
4014 +--------------------------------------------------------------------------------------------------…
4016 +--------------------------------------------------------------------------------------------------…
4018 +----------------------------------------+----------------+----------------------------------------…
4019 |:warning:`warning:` |nbsp| :diagtext:`'`|+--------------+|:diagtext:`tparam' command used in a com…
4021 | |+--------------+| …
4023 | |+--------------+| …
4024 +----------------------------------------+----------------+----------------------------------------…
4026 +--------------------------------------------------------------------------------------------------…
4028 +--------------------------------------------------------------------------------------------------…
4030 +---------------------------------------------------------------------+
4032 +---------------------------------------------------------------------+
4034 +----------------------------------------+----------------+----------------------------------------…
4035 |:warning:`warning:` |nbsp| :diagtext:`'`|+--------------+|:placeholder:`B`:diagtext:`' command doe…
4037 | |+--------------+| …
4039 | |+--------------+| …
4040 +----------------------------------------+----------------+----------------------------------------…
4043 -Wdocumentation-deprecated-sync
4044 -------------------------------
4047-------------------------------------------------------------------+----------------+-------------…
4048 |:warning:`warning:` |nbsp| :diagtext:`declaration is marked with '`|+--------------+|:diagtext:`de…
4050 | |+--------------+| …
4052 | |+--------------+| …
4053-------------------------------------------------------------------+----------------+-------------…
4056 -Wdocumentation-html
4057 --------------------
4060 +-----------------------------------------------------------------------------------------------+
4062 +-----------------------------------------------------------------------------------------------+
4064 +--------------------------------------------------------------------------------+
4066 +--------------------------------------------------------------------------------+
4068 +--------------------------------------------------------------------------------------------------+
4070 +--------------------------------------------------------------------------------------------------+
4072 +--------------------------------------------------------------------------------------------------…
4074 +--------------------------------------------------------------------------------------------------…
4077 -Wdocumentation-pedantic
4078 ------------------------
4079 Also controls `-Wdocumentation-unknown-command`_.
4083 +-----------------------------------------------------------------------------------------------+
4085 +-----------------------------------------------------------------------------------------------+
4088 -Wdocumentation-unknown-command
4089 -------------------------------
4092 +--------------------------------------------------------------------------------------------------…
4094 +--------------------------------------------------------------------------------------------------…
4096 +---------------------------------------------------------------+
4098 +---------------------------------------------------------------+
4101 -Wdollar-in-identifier-extension
4102 --------------------------------
4105 +--------------------------------------------------------+
4107 +--------------------------------------------------------+
4110 -Wdouble-promotion
4111 ------------------
4114--------------------------------------------------------------------------------------------------…
4115 |:warning:`warning:` |nbsp| :diagtext:`implicit conversion increases floating-point precision:` |nb…
4116--------------------------------------------------------------------------------------------------…
4119 -Wdtor-name
4120 -----------
4125 +--------------------------------------------------------------------------------------------------…
4127 +--------------------------------------------------------------------------------------------------…
4129 +--------------------------------------------------------------------------------------------------…
4131 +--------------------------------------------------------------------------------------------------…
4133--------------------------------------------------------------------------------------------------…
4135--------------------------------------------------------------------------------------------------…
4138 -Wdtor-typedef
4139 --------------
4140 This diagnostic is an error by default, but the flag ``-Wno-dtor-typedef`` can be used to disable t…
4144--------------------------------------------------------------------------------+-----------------…
4145 …nbsp| :diagtext:`destructor cannot be declared using a` |nbsp| |+----------------------+| |nbsp| :…
4147 … |+----------------------+| …
4149 … |+----------------------+| …
4150--------------------------------------------------------------------------------+-----------------…
4153 -Wduplicate-decl-specifier
4154 --------------------------
4159 +--------------------------------------------------------------------------------------------------…
4161 +--------------------------------------------------------------------------------------------------…
4163 +--------------------------------------------------------------------------------------------------…
4165 +--------------------------------------------------------------------------------------------------…
4167 +-------------------------------------------------------------------------------------------+
4169 +-------------------------------------------------------------------------------------------+
4171 +--------------------------------------------------------------------------------------------------…
4173 +--------------------------------------------------------------------------------------------------…
4176 -Wduplicate-enum
4177 ----------------
4180--------------------------------------------------------------------------------------------------…
4182--------------------------------------------------------------------------------------------------…
4185 -Wduplicate-method-arg
4186 ----------------------
4189 +------------------------------------------------------------------------------------------------+
4191 +------------------------------------------------------------------------------------------------+
4194 -Wduplicate-method-match
4195 ------------------------
4198 +--------------------------------------------------------------------------------------------------…
4200 +--------------------------------------------------------------------------------------------------…
4203 -Wduplicate-protocol
4204 --------------------
4209 +--------------------------------------------------------------------------------------------------…
4211 +--------------------------------------------------------------------------------------------------…
4214 -Wdynamic-class-memaccess
4215 -------------------------
4220---------------------------+-------------------------------+--------------------------------------…
4221-----------------------------+| |nbsp| :diagtext:`this` |nbsp| :placeholder:`B` |nbsp| :diagtext:`…
4223-----------------------------+| …
4225-----------------------------+| …
4227-----------------------------+| …
4229-----------------------------+| …
4230---------------------------+-------------------------------+--------------------------------------…
4233 -Wdynamic-exception-spec
4234 ------------------------
4237 Also controls `-Wdeprecated-dynamic-exception-spec`_.
4241 +--------------------------------------------------------------------------------------------+
4243 +--------------------------------------------------------------------------------------------+
4246 -Weffc++
4247 --------
4248 Synonym for `-Wnon-virtual-dtor`_.
4251 -Wembedded-directive
4252 --------------------
4255 +--------------------------------------------------------------------------------------------------…
4257 +--------------------------------------------------------------------------------------------------…
4260 -Wempty-body
4261 ------------
4266 +--------------------------------------------------------------+
4268 +--------------------------------------------------------------+
4270 +------------------------------------------------------------------+
4272 +------------------------------------------------------------------+
4274 +--------------------------------------------------------------------------+
4275 |:warning:`warning:` |nbsp| :diagtext:`range-based for loop has empty body`|
4276 +--------------------------------------------------------------------------+
4278 +----------------------------------------------------------------------+
4280 +----------------------------------------------------------------------+
4282 +----------------------------------------------------------------+
4284 +----------------------------------------------------------------+
4287 -Wempty-decomposition
4288 ---------------------
4293 +-------------------------------------------------------------------------------------------------+
4295 +-------------------------------------------------------------------------------------------------+
4298 -Wempty-init-stmt
4299 -----------------
4302 +--------------------------------------------------------------------------+-----------------------…
4303 …ning:` |nbsp| :diagtext:`empty initialization statement of '`|+---------------------------+|:diagt…
4305 … |+---------------------------+| …
4307 … |+---------------------------+| …
4308 | ||:diagtext:`range-based…
4309 … |+---------------------------+| …
4310 +--------------------------------------------------------------------------+-----------------------…
4313 -Wempty-translation-unit
4314 ------------------------
4317 +--------------------------------------------------------------------------------------------------…
4319 +--------------------------------------------------------------------------------------------------…
4322 -Wencode-type
4323 -------------
4328--------------------------------------------------------------------------------------------------…
4330--------------------------------------------------------------------------------------------------…
4333 -Wendif-labels
4334 --------------
4335 Synonym for `-Wextra-tokens`_.
4338 -Wenum-compare
4339 --------------
4342 Also controls `-Wdeprecated-enum-compare`_, `-Wenum-compare-switch`_.
4346 +---------------------------+--------------------------------------------+-------------------------…
4347 |:warning:`warning:` |nbsp| |+------------------------------------------+| |nbsp| :diagtext:`differ…
4349 | |+------------------------------------------+| …
4351 | |+------------------------------------------+| …
4353 | |+------------------------------------------+| …
4355 | |+------------------------------------------+| …
4357 | |+------------------------------------------+| …
4358 +---------------------------+--------------------------------------------+-------------------------…
4361 -Wenum-compare-conditional
4362 --------------------------
4365 Also controls `-Wdeprecated-enum-compare-conditional`_.
4369 +---------------------------+--------------------------------------------+-------------------------…
4370 |:warning:`warning:` |nbsp| |+------------------------------------------+| |nbsp| :diagtext:`differ…
4372 | |+------------------------------------------+| …
4374 | |+------------------------------------------+| …
4376 | |+------------------------------------------+| …
4378 | |+------------------------------------------+| …
4380 | |+------------------------------------------+| …
4381 +---------------------------+--------------------------------------------+-------------------------…
4384 -Wenum-compare-switch
4385 ---------------------
4390 +--------------------------------------------------------------------------------------------------…
4392 +--------------------------------------------------------------------------------------------------…
4395 -Wenum-conversion
4396 -----------------
4399 Also controls `-Wenum-compare-conditional`_, `-Wenum-enum-conversion`_, `-Wenum-float-conversion`_.
4403--------------------------------------------------------------------------------------------------…
4405--------------------------------------------------------------------------------------------------…
4408 -Wenum-enum-conversion
4409 ----------------------
4412 Also controls `-Wdeprecated-enum-enum-conversion`_.
4416 +---------------------------+--------------------------------------------+-------------------------…
4417 |:warning:`warning:` |nbsp| |+------------------------------------------+| |nbsp| :diagtext:`differ…
4419 | |+------------------------------------------+| …
4421 | |+------------------------------------------+| …
4423 | |+------------------------------------------+| …
4425 | |+------------------------------------------+| …
4427 | |+------------------------------------------+| …
4428 +---------------------------+--------------------------------------------+-------------------------…
4431 -Wenum-float-conversion
4432 -----------------------
4435 Also controls `-Wdeprecated-enum-float-conversion`_.
4439---------------------------+--------------------------------------------+--------+----------------…
4440------------------------------------------+| |nbsp| |+--------------------------+| |nbsp| :diagtex…
4441 … ||:diagtext:`arithmetic between` || ||:diagtext:`floating-point`|| …
4442------------------------------------------+| |+--------------------------+| …
4443 … ||:diagtext:`from`|| ||:diagtext:`floating-point`|| …
4444------------------------------------------+| |+--------------------------+| …
4446------------------------------------------+| | | …
4448 | |+------------------------------------------+| | …
4450 | |+------------------------------------------+| | …
4451---------------------------+--------------------------------------------+--------+----------------…
4454 -Wenum-too-large
4455 ----------------
4460 +-----------------------------------------------------------------------------------------+
4462 +-----------------------------------------------------------------------------------------+
4464--------------------------------------------------------------------------------------------------…
4466--------------------------------------------------------------------------------------------------…
4469 -Wexceptions
4470 ------------
4475--------------------------------------------------------------------------------------------------…
4476 …` |nbsp| :diagtext:`cannot refer to a non-static member from the handler of a` |nbsp| |+----------…
4478 … |+-----------------------+| …
4480 … |+-----------------------+| …
4481--------------------------------------------------------------------------------------------------…
4483 +--------------------------------------------------------------------------------------------------…
4485 +--------------------------------------------------------------------------------------------------…
4487 +--------------------------------------------------------------------------------------------------…
4488 |:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`has a non-throwing exception specifi…
4489 +--------------------------------------------------------------------------------------------------…
4492 -Wexcess-initializers
4493 ---------------------
4498 +-----------------------------------------------------------------+--------------------+-----------…
4499 |:warning:`warning:` |nbsp| :diagtext:`excess elements in` |nbsp| |+------------------+| |nbsp| :di…
4501 | |+------------------+| …
4503 | |+------------------+| …
4505 | |+------------------+| …
4507 | |+------------------+| …
4509 | |+------------------+| …
4510 +-----------------------------------------------------------------+--------------------+-----------…
4512 +--------------------------------------------------------------------------------------------------…
4514 +--------------------------------------------------------------------------------------------------…
4516 +--------------------------------------------------------------------------------+
4518 +--------------------------------------------------------------------------------+
4520 +------------------------------------------------------------------------------------+
4521 |:warning:`warning:` |nbsp| :diagtext:`initializer-string for char array is too long`|
4522 +------------------------------------------------------------------------------------+
4525 -Wexit-time-destructors
4526 -----------------------
4529 +-----------------------------------------------------------------------------------+
4530 |:warning:`warning:` |nbsp| :diagtext:`declaration requires an exit-time destructor`|
4531 +-----------------------------------------------------------------------------------+
4534 -Wexpansion-to-defined
4535 ----------------------
4540 +-------------------------------------------------------------------------------------------------+
4542 +-------------------------------------------------------------------------------------------------+
4544 +-------------------------------------------------------------------------------------------------+
4546 +-------------------------------------------------------------------------------------------------+
4549 -Wexplicit-initialize-call
4550 --------------------------
4555 +--------------------------------------------------------------------------------------------------…
4557 +--------------------------------------------------------------------------------------------------…
4559 +--------------------------------------------------------------------------------------------------…
4561 +--------------------------------------------------------------------------------------------------…
4564 -Wexplicit-ownership-type
4565 -------------------------
4568 +--------------------------------------------------------------------------------------------------…
4570 +--------------------------------------------------------------------------------------------------…
4573 -Wexport-unnamed
4574 ----------------
4579------------------------------------------------------------------------+-------------------------…
4580 …rning:` |nbsp| :diagtext:`ISO C++20 does not permit` |nbsp| |+----------------------------+| |nbsp…
4582 … |+----------------------------+| …
4584 … |+----------------------------+| …
4585------------------------------------------------------------------------+-------------------------…
4587 +--------------------------------------------------------------------------------------------------…
4589 +--------------------------------------------------------------------------------------------------…
4592 -Wexport-using-directive
4593 ------------------------
4598 +-----------------------------------------------------------------------------------------------+
4600 +-----------------------------------------------------------------------------------------------+
4603 -Wextern-c-compat
4604 -----------------
4609---------------------------+---------------------------+--------------------+---------------------…
4610 …rning:` |nbsp| |+-------------------------+|+------------------+| |nbsp| :diagtext:`has size 0 in …
4612 … |+-------------------------+|+------------------+| …
4613 …gtext:`union` || ||:diagtext:`non-zero size`|| …
4614 … |+-------------------------+|+------------------+| …
4615---------------------------+---------------------------+--------------------+---------------------…
4618 -Wextern-initializer
4619 --------------------
4624 +---------------------------------------------------------------------------+
4626 +---------------------------------------------------------------------------+
4629 -Wextra
4630 -------
4633-Wdeprecated-copy`_, `-Wempty-init-stmt`_, `-Wignored-qualifiers`_, `-Winitializer-overrides`_, `-
4637 +--------------------------------------------------------------------------------------------------…
4639 +--------------------------------------------------------------------------------------------------…
4642 -Wextra-qualification
4643 ---------------------
4648 +--------------------------------------------------------------------------------------------+
4650 +--------------------------------------------------------------------------------------------+
4653 -Wextra-semi
4654 ------------
4655 Also controls `-Wc++11-extra-semi`_, `-Wc++98-compat-extra-semi`_.
4659 +--------------------------------------------------------+-----------------------------------------…
4660 …ing:`warning:` |nbsp| :diagtext:`extra ';'` |nbsp| |+---------------------------------------------…
4662 … |+---------------------------------------------…
4663 … ||+--------------------------------------------
4665 … ||+--------------------------------------------
4666 … |+---------------------------------------------…
4668 … |+---------------------------------------------…
4670 … |+---------------------------------------------…
4671 +--------------------------------------------------------+-----------------------------------------…
4673 +---------------------------------------------------------------------------------+
4675 +---------------------------------------------------------------------------------+
4678 -Wextra-semi-stmt
4679 -----------------
4680 Also controls `-Wempty-init-stmt`_.
4684 +--------------------------------------------------------------------------------------------------…
4686 +--------------------------------------------------------------------------------------------------…
4689 -Wextra-tokens
4690 --------------
4695 +--------------------------------------------------------------------------------------------------…
4697 +--------------------------------------------------------------------------------------------------…
4699 +--------------------------------------------------------------------------------------------------…
4701 +--------------------------------------------------------------------------------------------------…
4704 -Wfallback
4705 ----------
4710 +------------------------------------------------------------------------------+
4712 +------------------------------------------------------------------------------+
4715 -Wfinal-dtor-non-final-class
4716 ----------------------------
4721 +---------------------------------------------------------------------+--------------------+-------…
4722 |:warning:`warning:` |nbsp| :diagtext:`class with destructor marked '`|+------------------+|:diagte…
4724 | |+------------------+| …
4726 | |+------------------+| …
4727 +---------------------------------------------------------------------+--------------------+-------…
4730 -Wfixed-enum-extension
4731 ----------------------
4734 +--------------------------------------------------------------------------------------------------…
4736 +--------------------------------------------------------------------------------------------------…
4739 -Wflag-enum
4740 -----------
4745--------------------------------------------------------------------------------------------------…
4747--------------------------------------------------------------------------------------------------…
4750 -Wflexible-array-extensions
4751 ---------------------------
4754 +--------------------------------------------------------------------------------------------------…
4756 +--------------------------------------------------------------------------------------------------…
4758 +--------------------------------------------------------------------------------------------------…
4760 +--------------------------------------------------------------------------------------------------…
4763 -Wfloat-conversion
4764 ------------------
4765 Also controls `-Wfloat-overflow-conversion`_, `-Wfloat-zero-conversion`_.
4769--------------------------------------------------------------------------------------------------…
4770 |:warning:`warning:` |nbsp| :diagtext:`implicit conversion turns floating-point number into integer…
4771--------------------------------------------------------------------------------------------------…
4774 -Wfloat-equal
4775 -------------
4778 +---------------------------------------------------------------------------------------+
4780 +---------------------------------------------------------------------------------------+
4783 -Wfloat-overflow-conversion
4784 ---------------------------
4787--------------------------------------------------------------------------------------------------…
4789--------------------------------------------------------------------------------------------------…
4791--------------------------------------------------------------------------------------------------…
4793--------------------------------------------------------------------------------------------------…
4796 -Wfloat-zero-conversion
4797 -----------------------
4800--------------------------------------------------------------------------------------------------…
4801 … |nbsp| :diagtext:`to` |nbsp| :placeholder:`B` |nbsp| :diagtext:`changes non-zero value from` |nbs…
4802--------------------------------------------------------------------------------------------------…
4805 -Wfor-loop-analysis
4806 -------------------
4809--------------------------------------------------------------------------------------------------…
4810 …variable` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is` |nbsp| |+-----------------------+| |nbsp| …
4812 … |+-----------------------+| …
4814 … |+-----------------------+| …
4815--------------------------------------------------------------------------------------------------…
4817-----------------------------------------------+--------------------------------------------------…
4818--------------------------------------------------------------------------------------------------…
4820--------------------------------------------------------------------------------------------------…
4821 | ||+------------------------+ …
4823 | ||+------------------------+ …
4824--------------------------------------------------------------------------------------------------…
4825 … ||+----------------------------------------------------------------…
4827 … ||+----------------------------------------------------------------…
4828--------------------------------------------------------------------------------------------------…
4829 … ||+-------------------------------------------------------------------------------…
4831 … ||+-------------------------------------------------------------------------------…
4832--------------------------------------------------------------------------------------------------…
4833--------------------------------------------------------------------------------------------------…
4835--------------------------------------------------------------------------------------------------…
4836--------------------------------------------------------------------------------------------------…
4837-----------------------------------------------+--------------------------------------------------…
4840 -Wformat
4841 --------
4844 Also controls `-Wformat-extra-args`_, `-Wformat-invalid-specifier`_, `-Wformat-security`_, `-Wforma…
4848 +-------------------------------------------------------------------------------------+
4850 +-------------------------------------------------------------------------------------+
4852---------------------------+----------------------------------------------+-----------------------…
4853 |:warning:`warning:` |nbsp| |+--------------------------------------------+| |nbsp| :diagtext:`'`:p…
4855 | |+--------------------------------------------+| …
4857 | |+--------------------------------------------+| …
4858---------------------------+----------------------------------------------+-----------------------…
4860 +--------------------------------------------------------------------------------------------------…
4862 +--------------------------------------------------------------------------------------------------…
4864--------------------------------------------------------------------------------------------------…
4865 …aceholder:`A` |nbsp| :diagtext:`but the argument has` |nbsp| |+---------------------------+| |nbsp…
4867 … |+---------------------------+| …
4869 … |+---------------------------+| …
4870--------------------------------------------------------------------------------------------------…
4872 +--------------------------------------------------------------------------------------------------…
4874 +--------------------------------------------------------------------------------------------------…
4876 +-----------------------------------------------------------------------------+--------------------…
4877 …`warning:` |nbsp| :diagtext:`invalid position specified for` |nbsp| |+---------------------------+|
4879 … |+---------------------------+|
4881 … |+---------------------------+|
4882 +-----------------------------------------------------------------------------+--------------------…
4884 +--------------------------------------------------------------------------------------------------…
4885 |:warning:`warning:` |nbsp| :diagtext:`cannot mix positional and non-positional arguments in format…
4886 +--------------------------------------------------------------------------------------------------…
4888--------------------------------------------------------------------------------------------------…
4890--------------------------------------------------------------------------------------------------…
4892 +--------------------------------------------------------------------------------+
4894 +--------------------------------------------------------------------------------+
4896 +--------------------------------------------------------------------------------------------------…
4898 +--------------------------------------------------------------------------------------------------…
4900 +------------------------------------------------------------+
4902 +------------------------------------------------------------+
4904 +--------------------------------------------------------------------------------------------------…
4906 +--------------------------------------------------------------------------------------------------…
4908----------------------------------------+-----------------+-------------------------------------+-…
4909 …ning:`warning:` |nbsp| :diagtext:`'`|+---------------+|:diagtext:`' specified field` |nbsp| |+----…
4911 … |+---------------+| |+----…
4913 … |+---------------+| |+----…
4914----------------------------------------+-----------------+-------------------------------------+-…
4916----------------------------------------------------+-----------------------+---------------------…
4917 |:warning:`warning:` |nbsp| :diagtext:`field` |nbsp| |+---------------------+| |nbsp| :diagtext:`sh…
4919 | |+---------------------+| …
4921 | |+---------------------+| …
4922----------------------------------------------------+-----------------------+---------------------…
4924 +-----------------------------------------------------------------+
4926 +-----------------------------------------------------------------+
4928 +------------------------------------------------------------------------------------------+
4930 +------------------------------------------------------------------------------------------+
4932 +---------------------------------------------------------------------------+
4933 |:warning:`warning:` |nbsp| :diagtext:`format string is not null-terminated`|
4934 +---------------------------------------------------------------------------+
4936 +--------------------------------------------------------------------------------------------------…
4938 +--------------------------------------------------------------------------------------------------…
4940 +------------------------------------------------------------------+
4942 +------------------------------------------------------------------+
4944 +--------------------------------------------------------------------------------+
4946 +--------------------------------------------------------------------------------+
4948 +--------------------------------------------------------------------------------------------------…
4950 +--------------------------------------------------------------------------------------------------…
4952--------------------------------------------------------------------------------------------------…
4954--------------------------------------------------------------------------------------------------…
4956---------------------------+-------------------------+--------------------------------------------…
4957 |:warning:`warning:` |nbsp| |+-----------------------+| |nbsp| :diagtext:`used with '`:placeholder:…
4959 | |+-----------------------+| …
4961 | |+-----------------------+| …
4962---------------------------+-------------------------+--------------------------------------------…
4964--------------------------------------------------------------------------------------------------…
4966--------------------------------------------------------------------------------------------------…
4968 +----------------------------------------------------------------------------------------+
4970 +----------------------------------------------------------------------------------------+
4972 +----------------------------------------------------------------------------------------+
4974 +----------------------------------------------------------------------------------------+
4977 -Wformat-extra-args
4978 -------------------
4983 +------------------------------------------------------------------------------+
4985 +------------------------------------------------------------------------------+
4988 -Wformat-invalid-specifier
4989 --------------------------
4994 +--------------------------------------------------------------------------------------------------+
4996 +--------------------------------------------------------------------------------------------------+
4999 -Wformat-non-iso
5000 ----------------
5003-----------------------------------------------------------------------------+--------------------…
5004 … |nbsp| :diagtext:`'`:placeholder:`A`:diagtext:`'` |nbsp| |+--------------------------------+| |nb…
5006 … |+--------------------------------+| …
5008 … |+--------------------------------+| …
5009-----------------------------------------------------------------------------+--------------------…
5011--------------------------------------------------------------------------------------------------…
5013--------------------------------------------------------------------------------------------------…
5015 +--------------------------------------------------------------------------------------+
5017 +--------------------------------------------------------------------------------------+
5020 -Wformat-nonliteral
5021 -------------------
5024 +----------------------------------------------------------------------------+
5026 +----------------------------------------------------------------------------+
5029 -Wformat-pedantic
5030 -----------------
5033---------------------------+----------------------------------------------+-----------------------…
5034 |:warning:`warning:` |nbsp| |+--------------------------------------------+| |nbsp| :diagtext:`'`:p…
5036 | |+--------------------------------------------+| …
5038 | |+--------------------------------------------+| …
5039---------------------------+----------------------------------------------+-----------------------…
5041--------------------------------------------------------------------------------------------------…
5042 …aceholder:`A` |nbsp| :diagtext:`but the argument has` |nbsp| |+---------------------------+| |nbsp…
5044 … |+---------------------------+| …
5046 … |+---------------------------+| …
5047--------------------------------------------------------------------------------------------------…
5050 -Wformat-security
5051 -----------------
5056 +--------------------------------------------------------------------------------------------------…
5058 +--------------------------------------------------------------------------------------------------…
5061 -Wformat-type-confusion
5062 -----------------------
5065--------------------------------------------------------------------------------------------------…
5066 …aceholder:`A` |nbsp| :diagtext:`but the argument has` |nbsp| |+---------------------------+| |nbsp…
5068 … |+---------------------------+| …
5070 … |+---------------------------+| …
5071--------------------------------------------------------------------------------------------------…
5074 -Wformat-y2k
5075 ------------
5078 -Wformat-zero-length
5079 --------------------
5084 +-------------------------------------------------------------+
5086 +-------------------------------------------------------------+
5089 -Wformat=2
5090 ----------
5093 Controls `-Wformat-nonliteral`_, `-Wformat-security`_, `-Wformat-y2k`_.
5096 -Wfortify-source
5097 ----------------
5102--------------------------------------------------------------------------------------------------…
5104--------------------------------------------------------------------------------------------------…
5106--------------------------------------------------------------------------------------------------…
5108--------------------------------------------------------------------------------------------------…
5110--------------------------------------------------------------------------------------------------…
5112--------------------------------------------------------------------------------------------------…
5115 -Wfour-char-constants
5116 ---------------------
5119 +-------------------------------------------------------------------------+
5120 |:warning:`warning:` |nbsp| :diagtext:`multi-character character constant`|
5121 +-------------------------------------------------------------------------+
5124 -Wframe-address
5125 ---------------
5128 +--------------------------------------------------------------------------------------------------…
5130 +--------------------------------------------------------------------------------------------------…
5133 -Wframe-larger-than=
5134 --------------------
5141 +--------------------------------------------------------------------------------------------------…
5143 +--------------------------------------------------------------------------------------------------…
5146 -Wframework-include-private-from-public
5147 ---------------------------------------
5152 +--------------------------------------------------------------------------------------------------…
5154 +--------------------------------------------------------------------------------------------------…
5157 -Wfunction-def-in-objc-container
5158 --------------------------------
5163 +--------------------------------------------------------------------------------------------------…
5164 |:warning:`warning:` |nbsp| :diagtext:`function definition inside an Objective-C container is depre…
5165 +--------------------------------------------------------------------------------------------------…
5168 -Wfunction-multiversion
5169 -----------------------
5174 +-------------------------------------------------------------------------------------+
5176 +-------------------------------------------------------------------------------------+
5178 +---------------------------------------------------------------------------------------------+
5180 +---------------------------------------------------------------------------------------------+
5183 -Wfuture-compat
5184 ---------------
5187 -Wgcc-compat
5188 ------------
5193 +--------------------------------------------------------------------------+
5195 +--------------------------------------------------------------------------+
5197 +------------------------------------------------------------------------+
5199 +------------------------------------------------------------------------+
5201 +-----------------------------------------------------------------------------------------------+
5203 +-----------------------------------------------------------------------------------------------+
5205--------------------------------------------------------------------------------------------------…
5207--------------------------------------------------------------------------------------------------…
5209 +---------------------------------------------------------------------------------------+
5211 +---------------------------------------------------------------------------------------+
5213 +--------------------------------------------------------------------------------------------------…
5215 +--------------------------------------------------------------------------------------------------…
5217 +--------------------------------------------------------------------------------------------------…
5219 +--------------------------------------------------------------------------------------------------…
5221 +--------------------------------------------------------------------------------------------------…
5223 +--------------------------------------------------------------------------------------------------…
5225 +--------------------------------------------------------------------------------------------------…
5227 +--------------------------------------------------------------------------------------------------…
5229 +--------------------------------------------------------------------------------------------------…
5231 +--------------------------------------------------------------------------------------------------…
5234 -Wglobal-constructors
5235 ---------------------
5238 +--------------------------------------------------------------------------------+
5240 +--------------------------------------------------------------------------------+
5242 +-------------------------------------------------------------------------------+
5244 +-------------------------------------------------------------------------------+
5247 -Wglobal-isel
5248 -------------
5253 +--------------------------------------------------------------------------------------------------…
5254 |:warning:`warning:` |nbsp| :diagtext:`-fglobal-isel support for the '`:placeholder:`A`:diagtext:`'…
5255 +--------------------------------------------------------------------------------------------------…
5257 +--------------------------------------------------------------------------------------------------…
5258 |:warning:`warning:` |nbsp| :diagtext:`-fglobal-isel support is incomplete for this architecture at…
5259 +--------------------------------------------------------------------------------------------------…
5262 -Wgnu
5263 -----
5266-Wgnu-alignof-expression`_, `-Wgnu-anonymous-struct`_, `-Wgnu-auto-type`_, `-Wgnu-binary-literal`_…
5269 -Wgnu-alignof-expression
5270 ------------------------
5275 +--------------------------------------------------------------------------------------------------…
5277 +--------------------------------------------------------------------------------------------------…
5280 -Wgnu-anonymous-struct
5281 ----------------------
5284 +----------------------------------------------------------------------------+
5286 +----------------------------------------------------------------------------+
5289 -Wgnu-array-member-paren-init
5290 -----------------------------
5291 This diagnostic is an error by default, but the flag ``-Wno-gnu-array-member-paren-init`` can be us…
5295 +--------------------------------------------------------------------------------------------------…
5297 +--------------------------------------------------------------------------------------------------…
5300 -Wgnu-auto-type
5301 ---------------
5304 +--------------------------------------------------------------------------+
5306 +--------------------------------------------------------------------------+
5309 -Wgnu-binary-literal
5310 --------------------
5313 +----------------------------------------------------------------------------------+
5315 +----------------------------------------------------------------------------------+
5318 -Wgnu-case-range
5319 ----------------
5322 +----------------------------------------------------------------------+
5324 +----------------------------------------------------------------------+
5327 -Wgnu-complex-integer
5328 ---------------------
5331 +--------------------------------------------------------------------------------+
5333 +--------------------------------------------------------------------------------+
5336 -Wgnu-compound-literal-initializer
5337 ----------------------------------
5340 +--------------------------------------------------------------------------------------------------…
5342 +--------------------------------------------------------------------------------------------------…
5345 -Wgnu-conditional-omitted-operand
5346 ---------------------------------
5349 +--------------------------------------------------------------------------------------------------…
5351 +--------------------------------------------------------------------------------------------------…
5354 -Wgnu-designator
5355 ----------------
5360 +-----------------------------------------------------------------------+
5362 +-----------------------------------------------------------------------+
5364 +-------------------------------------------------------------------------------------+
5366 +-------------------------------------------------------------------------------------+
5368 +--------------------------------------------------------------------------------------+
5369 |:warning:`warning:` |nbsp| :diagtext:`use of GNU old-style field designator extension`|
5370 +--------------------------------------------------------------------------------------+
5373 -Wgnu-empty-initializer
5374 -----------------------
5377 +-----------------------------------------------------------------------------+
5379 +-----------------------------------------------------------------------------+
5382 -Wgnu-empty-struct
5383 ------------------
5386 +----------------------------------------------------+--------------------+------------------------…
5387 |:warning:`warning:` |nbsp| :diagtext:`empty` |nbsp| |+------------------+| |nbsp| :diagtext:`is a …
5389 | |+------------------+| …
5391 | |+------------------+| …
5392 +----------------------------------------------------+--------------------+------------------------…
5394--------------------------------------------------------------------------------------------------…
5395 …| :placeholder:`A` |nbsp| :diagtext:`in otherwise empty` |nbsp| |+---------------------+| |nbsp| :…
5397 … |+---------------------+| …
5399 … |+---------------------+| …
5401 … |+---------------------+| …
5403 … |+---------------------+| …
5405 … |+---------------------+| …
5406--------------------------------------------------------------------------------------------------…
5408 +---------------------------+--------------------+-------------------------------------------------…
5409 |:warning:`warning:` |nbsp| |+------------------+| |nbsp| :diagtext:`without named members is a GNU…
5411 | |+------------------+| …
5413 | |+------------------+| …
5414 +---------------------------+--------------------+-------------------------------------------------…
5417 -Wgnu-flexible-array-initializer
5418 --------------------------------
5421 +---------------------------------------------------------------------------------------+
5423 +---------------------------------------------------------------------------------------+
5426 -Wgnu-flexible-array-union-member
5427 ---------------------------------
5430 +--------------------------------------------------------------------------------------------------…
5432 +--------------------------------------------------------------------------------------------------…
5435 -Wgnu-folding-constant
5436 ----------------------
5439-------------------------------------------------------------------+----------------------+-------…
5440 |:warning:`warning:` |nbsp| :diagtext:`expression is not an` |nbsp| |+--------------------+| |nbsp|…
5442 | |+--------------------+| …
5444 | |+--------------------+| …
5445-------------------------------------------------------------------+----------------------+-------…
5447--------------------------------------------------------------------------------------------------…
5448 |:warning:`warning:` |nbsp| :diagtext:`in-class initializer for static data member is not a constan…
5449--------------------------------------------------------------------------------------------------…
5451 +--------------------------------------------------------------------------------------------------…
5453 +--------------------------------------------------------------------------------------------------…
5456 -Wgnu-imaginary-constant
5457 ------------------------
5460 +------------------------------------------------------------------------------+
5462 +------------------------------------------------------------------------------+
5465 -Wgnu-include-next
5466 ------------------
5469 +-----------------------------------------------------------------------------+
5471 +-----------------------------------------------------------------------------+
5474 -Wgnu-inline-cpp-without-extern
5475 -------------------------------
5480 +--------------------------------------------------------------------------------------------------…
5482 +--------------------------------------------------------------------------------------------------…
5485 -Wgnu-label-as-value
5486 --------------------
5489 +----------------------------------------------------------------------------+
5490 |:warning:`warning:` |nbsp| :diagtext:`use of GNU address-of-label extension`|
5491 +----------------------------------------------------------------------------+
5493 +-------------------------------------------------------------------------+
5494 |:warning:`warning:` |nbsp| :diagtext:`use of GNU indirect-goto extension`|
5495 +-------------------------------------------------------------------------+
5498 -Wgnu-redeclared-enum
5499 ---------------------
5502 +--------------------------------------------------------------------------------------------------…
5503 |:warning:`warning:` |nbsp| :diagtext:`redeclaration of already-defined enum` |nbsp| :placeholder:`…
5504 +--------------------------------------------------------------------------------------------------…
5507 -Wgnu-statement-expression
5508 --------------------------
5511 +--------------------------------------------------------------------------------+
5513 +--------------------------------------------------------------------------------+
5516 -Wgnu-static-float-init
5517 -----------------------
5522--------------------------------------------------------------------------------------------------…
5523 |:warning:`warning:` |nbsp| :diagtext:`in-class initializer for static data member of type` |nbsp| …
5524--------------------------------------------------------------------------------------------------…
5527 -Wgnu-string-literal-operator-template
5528 --------------------------------------
5533 +--------------------------------------------------------------------------------------------+
5535 +--------------------------------------------------------------------------------------------+
5538 -Wgnu-union-cast
5539 ----------------
5542 +----------------------------------------------------------------------------+
5544 +----------------------------------------------------------------------------+
5547 -Wgnu-variable-sized-type-not-at-end
5548 ------------------------------------
5553--------------------------------------------------------------------------------------------------…
5555--------------------------------------------------------------------------------------------------…
5558 -Wgnu-zero-line-directive
5559 -------------------------
5562 +--------------------------------------------------------------------------------------------+
5564 +--------------------------------------------------------------------------------------------+
5567 -Wgnu-zero-variadic-macro-arguments
5568 -----------------------------------
5571 +--------------------------------------------------------------------------------------------------…
5573 +--------------------------------------------------------------------------------------------------…
5575 +--------------------------------------------------------------------------------------------------…
5577 +--------------------------------------------------------------------------------------------------…
5580 -Wheader-guard
5581 --------------
5586 +--------------------------------------------------------------------------------------------------…
5588 +--------------------------------------------------------------------------------------------------…
5591 -Wheader-hygiene
5592 ----------------
5595 +--------------------------------------------------------------------------------------------+
5597 +--------------------------------------------------------------------------------------------+
5600 -Whip-only
5601 ----------
5606 +--------------------------------------------------------------------------------------------------…
5608 +--------------------------------------------------------------------------------------------------…
5611 -Widiomatic-parentheses
5612 -----------------------
5615 +--------------------------------------------------------------------------------------------------…
5617 +--------------------------------------------------------------------------------------------------…
5620 -Wignored-attributes
5621 --------------------
5626 +--------------------------------------------------------------------------------------------------+
5628 +--------------------------------------------------------------------------------------------------+
5630---------------------------+-------------------+--------------------------------------------------…
5631 |:warning:`warning:` |nbsp| |+-----------------+| |nbsp| :diagtext:`will always resolve to` |nbsp| …
5633 | |+-----------------+| …
5635 | |+-----------------+| …
5636---------------------------+-------------------+--------------------------------------------------…
5638---------------------------+-------------------+--------------------------------------------------…
5639-----------------+| |nbsp| :diagtext:`will not be in section '`:placeholder:`A`:diagtext:`' but in…
5641-----------------+| …
5643-----------------+| …
5644---------------------------+-------------------+--------------------------------------------------…
5646 +----------------------------------------------------------------------+------------------------+--…
5647 |:warning:`warning:` |nbsp| :diagtext:`'abi\_tag' attribute on` |nbsp| |+----------------------+| |…
5648 | ||:diagtext:`non-inline`|| …
5649 | |+----------------------+| …
5651 | |+----------------------+| …
5652 +----------------------------------------------------------------------+------------------------+--…
5654 +--------------------------------------------------------------------------------------------------…
5656 +--------------------------------------------------------------------------------------------------…
5658 +--------------------------------------------------------------------------------------------------…
5660 +--------------------------------------------------------------------------------------------------…
5662 +--------------------------------------------------------------------------------------------------…
5664 +--------------------------------------------------------------------------------------------------…
5666 +--------------------------------------------------------------------------------------------------…
5668 +--------------------------------------------------------------------------------------------------…
5670 +--------------------------------------------------------------------------------+
5672 +--------------------------------------------------------------------------------+
5674 +--------------------------------------------------------------------------------------------------…
5676 +--------------------------------------------------------------------------------------------------…
5678 +--------------------------------------------------------------------------------------------------…
5680 +--------------------------------------------------------------------------------------------------…
5682 +--------------------------------------------------------------------------------------------------…
5684 +--------------------------------------------------------------------------------------------------…
5686 +--------------------------------------------------------------------------------------------------…
5688 +--------------------------------------------------------------------------------------------------…
5690 +--------------------------------------------------------------------------------------------------…
5692 +--------------------------------------------------------------------------------------------------…
5694 +--------------------------------------------------------------------------------------------------…
5696 +--------------------------------------------------------------------------------------------------…
5698 +--------------------------------------------------------------------------------------------------+
5700 +--------------------------------------------------------------------------------------------------+
5702--------------------------------------------------------------------------------------------------…
5704--------------------------------------------------------------------------------------------------…
5706----------------------------------------------------------------------------------------+---------…
5707 …placeholder:`A` |nbsp| :diagtext:`attribute only applies to`|+----------------------------+| |nbsp…
5709 … |+----------------------------+| …
5711 … |+----------------------------+| …
5712----------------------------------------------------------------------------------------+---------…
5714 +------------------------------------------------------------------------------------+
5716 +------------------------------------------------------------------------------------+
5718 +--------------------------------------------------------------------------------------------------…
5720 +--------------------------------------------------------------------------------------------------…
5722 +--------------------------------------------------------------------------------------------------…
5724 +--------------------------------------------------------------------------------------------------…
5726 +------------------------------------------------------------------------------------+
5728 +------------------------------------------------------------------------------------+
5730 +-----------------------------------------------------------------------------------------------+--…
5731 …nbsp| :diagtext:`'sentinel' attribute only supported for variadic` |nbsp| |+---------------------+|
5733 … |+---------------------+|
5735 … |+---------------------+|
5736 +-----------------------------------------------------------------------------------------------+--…
5738 +--------------------------------------------------------------------------------------------------…
5740 +--------------------------------------------------------------------------------------------------…
5742 +---------------------------------------------------------------------------------+
5744 +---------------------------------------------------------------------------------+
5746--------------------------------------------------------------------------------------------------…
5747 …eholder:`A` |nbsp| :diagtext:`cannot be applied to` |nbsp| |+------------------------------+| |nbs…
5749 … |+------------------------------+| …
5750 … ||:diagtext:`Objective-C method`|| …
5751 … |+------------------------------+| …
5752--------------------------------------------------------------------------------------------------…
5754 +--------------------------------------------------------------------------------------------------…
5756 +--------------------------------------------------------------------------------------------------…
5758 +--------------------------------------------------------------------------------------------------…
5760 +--------------------------------------------------------------------------------------------------…
5762 +------------------------------------------------------------------------------------------------+-…
5763 …bsp| :diagtext:`attribute only applies to` |nbsp| |+----------------------------------------------…
5765 … |+----------------------------------------------…
5767 … |+----------------------------------------------…
5769 … |+----------------------------------------------…
5771 … |+----------------------------------------------…
5773 … |+----------------------------------------------…
5775 … |+----------------------------------------------…
5777 … |+----------------------------------------------…
5779 … |+----------------------------------------------…
5781 … |+----------------------------------------------…
5783 … |+----------------------------------------------…
5785 … |+----------------------------------------------…
5787 … |+----------------------------------------------…
5788 … ||:diagtext:`non-K&R-style functions` …
5789 … |+----------------------------------------------…
5790 +------------------------------------------------------------------------------------------------+-…
5792 +--------------------------------------------------------------------------------------------------…
5794 +--------------------------------------------------------------------------------------------------…
5796--------------------------------------------------------------------------------------------------…
5798--------------------------------------------------------------------------------------------------…
5800 +--------------------------------------------------------------------------------------------------…
5801 …p| :diagtext:`calling convention is not supported` |nbsp| |+-------------------------------------+|
5803 … |+-------------------------------------+|
5805 … |+-------------------------------------+|
5807 … |+-------------------------------------+|
5809 … |+-------------------------------------+|
5810 +--------------------------------------------------------------------------------------------------…
5812 +--------------------------------------------------------------------------------------------------…
5814 +--------------------------------------------------------------------------------------------------…
5816--------------------------------------------------------------------------------------------------…
5818--------------------------------------------------------------------------------------------------…
5820--------------------------------------------------------------------------------------------------…
5821 …:placeholder:`A` |nbsp| :diagtext:`is ignored, place it after "`|+---------------------+|:diagtext…
5823 … |+---------------------+| …
5825 … |+---------------------+| …
5827 … |+---------------------+| …
5829 … |+---------------------+| …
5831 … |+---------------------+| …
5832--------------------------------------------------------------------------------------------------…
5834 +--------------------------------------------------------------------------------------------+
5836 +--------------------------------------------------------------------------------------------+
5838 +--------------------------------------------------------------------------------------------------…
5840 +--------------------------------------------------------------------------------------------------…
5842 +--------------------------------------------------------------------------------------------------…
5844 +--------------------------------------------------------------------------------------------------…
5846 +--------------------------------------------------------------------------------------------------…
5848 +--------------------------------------------------------------------------------------------------…
5850 +------------------------------------------------------------------------------------------------+
5851 |:warning:`warning:` |nbsp| :diagtext:`Objective-C GC does not allow weak variables on the stack`|
5852 +------------------------------------------------------------------------------------------------+
5854 +--------------------------------------------------------------------------------------------------…
5856 +--------------------------------------------------------------------------------------------------…
5858 +---------------------------------------------------------------------------+----------------------…
5859 …ing:` |nbsp| :diagtext:`inheritance model ignored on` |nbsp| |+----------------------------------+|
5861 … |+----------------------------------+|
5863 … |+----------------------------------+|
5864 +---------------------------------------------------------------------------+----------------------…
5866 +--------------------------------------------------------------------------------------------------…
5867 …lly\_retained' can only be applied to local variables` |nbsp| |+---------------------------------+|
5869 … |+---------------------------------+|
5871 … |+---------------------------------+|
5872 +--------------------------------------------------------------------------------------------------…
5874 +--------------------------------------------------------------------------------------------------…
5875 |:warning:`warning:` |nbsp| :diagtext:`'internal\_linkage' attribute on a non-static local variable…
5876 +--------------------------------------------------------------------------------------------------…
5878---------------------------+--------------------+-------------------------------------------------…
5879 …bsp| |+------------------+| |nbsp| :diagtext:`'interrupt' attribute only applies to functions that…
5881 … |+------------------+| …
5883 … |+------------------+| …
5884 | ||:diagtext:`RISC-V`|| …
5885 | |+------------------+| …
5886---------------------------+--------------------+-------------------------------------------------…
5888 +--------------------------------------------------------------------------------------------+
5890 +--------------------------------------------------------------------------------------------+
5892 +--------------------------------------------------------------------------------------------------…
5894 +--------------------------------------------------------------------------------------------------…
5896 +---------------------------------------------------------------------------------------+
5898 +---------------------------------------------------------------------------------------+
5900 +--------------------------------------------------------------------------------------------------…
5901 |:warning:`warning:` |nbsp| :diagtext:`'nocf\_check' attribute ignored; use -fcf-protection to enab…
5902 +--------------------------------------------------------------------------------------------------…
5904 +---------------------------------------------------------------------------------------------+
5906 +---------------------------------------------------------------------------------------------+
5908 +--------------------------------------------------------------------------------------------------…
5910 +--------------------------------------------------------------------------------------------------…
5912------------------------------------------------------------------------------------------------+-…
5913 …bsp| :diagtext:`attribute only applies to` |nbsp| |+----------------------------------------------…
5914 … ||:diagtext:`Objective-C object` …
5915 … |+----------------------------------------------…
5917 … |+----------------------------------------------…
5918 … ||:diagtext:`pointer-to-CF-pointer` …
5919 … |+----------------------------------------------…
5920 … ||:diagtext:`pointer/reference-to-OSObject-pointer`|| …
5921 … |+----------------------------------------------…
5922------------------------------------------------------------------------------------------------+-…
5924------------------------------------------------------------------------------------------------+-…
5925 …only applies to` |nbsp| |+----------------------+| |nbsp| :diagtext:`that return` |nbsp| |+-------…
5926 …gtext:`functions` || ||:diagtext:`an Objective-C object` ||
5927 … |+----------------------+| |+-------…
5929 … |+----------------------+| |+-------…
5930 …gtext:`properties`|| ||:diagtext:`a non-retainable pointer`||
5931 … |+----------------------+| |+-------…
5932------------------------------------------------------------------------------------------------+-…
5934 +--------------------------------------------------------------------------------------------------…
5935 …|nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute isn't implemented by this Objective-C runtime`|
5936 +--------------------------------------------------------------------------------------------------…
5938--------------------------------------------------------------------------------------------------…
5939 …` |nbsp| :placeholder:`A` |nbsp| :diagtext:`ignored (not implemented by this Objective-C runtime)`|
5940--------------------------------------------------------------------------------------------------…
5942 +--------------------------------------------------------------------------------------------------…
5944 +--------------------------------------------------------------------------------------------------…
5946 +--------------------------------------------------------------------------------------------------…
5948 +--------------------------------------------------------------------------------------------------…
5950 +----------------------------------------------------------------------------+
5951 |:warning:`warning:` |nbsp| :diagtext:`repeated RISC-V 'interrupt' attribute`|
5952 +----------------------------------------------------------------------------+
5954--------------------------------------------------------------------------------------------------…
5955 …ter of a function template with the 'sycl\_kernel' attribute cannot be a non-type template paramet…
5956--------------------------------------------------------------------------------------------------…
5958 +--------------------------------------------------------------------------------------------------…
5960 +--------------------------------------------------------------------------------------------------…
5962 +--------------------------------------------------------------------------------------------------…
5964 +--------------------------------------------------------------------------------------------------…
5966 +--------------------------------------------------------------------------------------------------…
5968 +--------------------------------------------------------------------------------------------------…
5970---------------------------+-----------------------+----------------------------------------------…
5971---------------------+| |nbsp| :diagtext:`of field` |nbsp| :placeholder:`B` |nbsp| :diagtext:`(`:p…
5973---------------------+| …
5975---------------------+| …
5976---------------------------+-----------------------+----------------------------------------------…
5978---------------------------------------------------------------------------------------------+----…
5979 …text:`first field of a transparent union cannot have` |nbsp| |+--------------------------+| |nbsp|…
5981 … |+--------------------------+| …
5983 … |+--------------------------+| …
5984---------------------------------------------------------------------------------------------+----…
5986 +--------------------------------------------------------------------------------------------------…
5988 +--------------------------------------------------------------------------------------------------…
5990 +--------------------------------------------------------------------------------------------------…
5992 +--------------------------------------------------------------------------------------------------…
5994---------------------------------------------------------------------------------------------+----…
5995 …laceholder:`A`:diagtext:`' only applies to` |nbsp| |+---------------------------------------------…
5997 … |+---------------------------------------------…
5999 … |+---------------------------------------------…
6000 … ||:diagtext:`Objective-C object or block poi…
6001 … |+---------------------------------------------…
6002---------------------------------------------------------------------------------------------+----…
6004 +--------------------------------------------------------------------------------------------------…
6006 +--------------------------------------------------------------------------------------------------…
6008---------------------------+-------------------------+----------------------------------+---------…
6009 |:warning:`warning:` |nbsp| |+-----------------------+|+--------------------------------+| |nbsp| :…
6011 | |+-----------------------+|+--------------------------------+| …
6013 | |+-----------------------+|+--------------------------------+| …
6014---------------------------+-------------------------+----------------------------------+---------…
6016 +--------------------------------------------------------------------------------------------------…
6018 +--------------------------------------------------------------------------------------------------…
6021 -Wignored-optimization-argument
6022 -------------------------------
6027 +--------------------------------------------------------------------------------------------------…
6029 +--------------------------------------------------------------------------------------------------…
6031 +--------------------------------------------------------------------------------------------------…
6033 +--------------------------------------------------------------------------------------------------…
6036 -Wignored-pragma-intrinsic
6037 --------------------------
6042------------------------------------------------------------------------------------------+-------…
6043 …agtext:`is not a recognized builtin`|+------------------------------------------------------------…
6045 … |+------------------------------------------------------------…
6046 … ||:diagtext:`; consider including <intrin.h> to access non-builtin intrinsics`||
6047 … |+------------------------------------------------------------…
6048------------------------------------------------------------------------------------------+-------…
6051 -Wignored-pragma-optimize
6052 -------------------------
6057 +--------------------------------------------------------------------------+
6059 +--------------------------------------------------------------------------+
6062 -Wignored-pragmas
6063 -----------------
6066 Also controls `-Wignored-pragma-intrinsic`_, `-Wignored-pragma-optimize`_.
6070 +------------------------------------------------------------------------------+-------------------…
6071 …p| :diagtext:`expected '=' following '#pragma` |nbsp| |+-------------------------+|:diagtext:`' -
6073 … |+-------------------------+| …
6075 … |+-------------------------+| …
6076 +------------------------------------------------------------------------------+-------------------…
6078 +-----------------------------------------------------------------------------------+--------------…
6079 …iagtext:`invalid alignment option in '#pragma` |nbsp| |+-------------------------+|:diagtext:`' -
6081 … |+-------------------------+| …
6083 … |+-------------------------+| …
6084 +-----------------------------------------------------------------------------------+--------------…
6086 +--------------------------------------------------------------------------------------------------…
6087 |:warning:`warning:` |nbsp| :diagtext:`OpenCL extension end directive mismatches begin directive -
6088 +--------------------------------------------------------------------------------------------------…
6090 +--------------------------------------------------------------------------------------------------…
6092 +--------------------------------------------------------------------------------------------------…
6094 +--------------------------------------------------------------------------------------------------…
6096 +--------------------------------------------------------------------------------------------------…
6098 +----------------------------------------------------------------------------------------------+
6100 +----------------------------------------------------------------------------------------------+
6102 +------------------------------------------------------------------------------------+
6104 +------------------------------------------------------------------------------------+
6106 +--------------------------------------------------------------------------------------------------…
6107 …bsp| :diagtext:`expected action or ')' in '#pragma` |nbsp| :placeholder:`A`:diagtext:`' - ignored`|
6108 +--------------------------------------------------------------------------------------------------…
6110 +--------------------------------------------------------------------------------------------------…
6111 …rning:` |nbsp| :diagtext:`missing ':' after` |nbsp| :placeholder:`A` |nbsp| :diagtext:`- ignoring`|
6112 +--------------------------------------------------------------------------------------------------…
6114 +--------------------------------------------------------------------------------------------------…
6115 … |nbsp| :diagtext:`missing ':' or ')' after` |nbsp| :placeholder:`A` |nbsp| :diagtext:`- ignoring`|
6116 +--------------------------------------------------------------------------------------------------…
6118 +--------------------------------------------------------------------------------------------------…
6120 +--------------------------------------------------------------------------------------------------…
6122 +--------------------------------------------------------------------------------------------------…
6123 … |nbsp| :diagtext:`expected identifier in '#pragma` |nbsp| :placeholder:`A`:diagtext:`' - ignored`|
6124 +--------------------------------------------------------------------------------------------------…
6126--------------------------------------------------------------------------------------------------…
6127 … a string literal for the section name in '#pragma` |nbsp| :placeholder:`A`:diagtext:`' - ignored`|
6128--------------------------------------------------------------------------------------------------…
6130--------------------------------------------------------------------------------------------------…
6131 …holder:`B` |nbsp| :diagtext:`inclusive in '#pragma` |nbsp| :placeholder:`C`:diagtext:`' - ignored`|
6132--------------------------------------------------------------------------------------------------…
6134 +--------------------------------------------------------------------------------------------------…
6135 …ng:` |nbsp| :diagtext:`missing '(' after '#pragma` |nbsp| :placeholder:`A`:diagtext:`' - ignoring`|
6136 +--------------------------------------------------------------------------------------------------…
6138 +--------------------------------------------------------------------------------------------------…
6139 |:warning:`warning:` |nbsp| :diagtext:`expected non-wide string literal in '#pragma` |nbsp| :placeh…
6140 +--------------------------------------------------------------------------------------------------…
6142 +-------------------------------------------------------+------------------------------------------…
6143 …g:` |nbsp| :diagtext:`expected` |nbsp| |+-------------------------------------------------+| |nbsp…
6145 … |+----------------------------------------------…
6147 … |+----------------------------------------------…
6148 +-------------------------------------------------------+------------------------------------------…
6150 +--------------------------------------------------------------------------------------------------…
6152 +--------------------------------------------------------------------------------------------------…
6154 +--------------------------------------------------------------------------------------------------…
6155 …ng:` |nbsp| :diagtext:`missing ')' after '#pragma` |nbsp| :placeholder:`A`:diagtext:`' - ignoring`|
6156 +--------------------------------------------------------------------------------------------------…
6158--------------------------------------------------------------------------------------------------…
6159 … a string literal for the section name in '#pragma` |nbsp| :placeholder:`A`:diagtext:`' - ignored`|
6160--------------------------------------------------------------------------------------------------…
6162 +--------------------------------------------------------------------------------------------------…
6163 … a string literal for the section name in '#pragma` |nbsp| :placeholder:`A`:diagtext:`' - ignored`|
6164 +--------------------------------------------------------------------------------------------------…
6166--------------------------------------------------------------------------------------------------…
6167 … a string literal for the section name in '#pragma` |nbsp| :placeholder:`A`:diagtext:`' - ignored`|
6168--------------------------------------------------------------------------------------------------…
6170 +--------------------------------------------------------------------------------------------------…
6171 …p| :diagtext:`expected string literal in '#pragma` |nbsp| :placeholder:`A`:diagtext:`' - ignoring`|
6172 +--------------------------------------------------------------------------------------------------…
6174 +--------------------------------------------------------------------------------------------------…
6175 … |nbsp| :diagtext:`extra tokens at end of '#pragma` |nbsp| :placeholder:`A`:diagtext:`' - ignored`|
6176 +--------------------------------------------------------------------------------------------------…
6178 +--------------------------------------------------------------------------------------------------…
6180 +--------------------------------------------------------------------------------------------------…
6182 +--------------------------------------------------------------------------------------------------…
6184 +--------------------------------------------------------------------------------------------------…
6186 +--------------------------------------------------------------------------------------------------…
6187 …ng:` |nbsp| :diagtext:`unknown action for '#pragma` |nbsp| :placeholder:`A`:diagtext:`' - ignored`|
6188 +--------------------------------------------------------------------------------------------------…
6190--------------------------------------------------------------------------------------------------…
6191 … to '#pragma` |nbsp| :placeholder:`B`:diagtext:`'`|+----------------------------------------------…
6193 … |+----------------------------------------------…
6194 … ||+---------------------------------------------…
6196 … ||+---------------------------------------------…
6197 … |+----------------------------------------------…
6198--------------------------------------------------------------------------------------------------…
6200 +--------------------------------------------------------------------------------------------------…
6201 …action '`:placeholder:`B`:diagtext:`' for '#pragma` |nbsp| :placeholder:`A`:diagtext:`' - ignored`|
6202 +--------------------------------------------------------------------------------------------------…
6204--------------------------------------------------------------------------------------------------…
6205 … to '#pragma` |nbsp| :placeholder:`A`:diagtext:`'`|+----------------------------------------------…
6207 … |+----------------------------------------------…
6208 … ||+---------------------------------------------…
6210 … ||+---------------------------------------------…
6211 … |+----------------------------------------------…
6212--------------------------------------------------------------------------------------------------…
6214 +----------------------------------------------------------------------------------------------+
6215 |:warning:`warning:` |nbsp| :diagtext:`incorrect use of '#pragma ms\_struct on\|off' - ignored`|
6216 +----------------------------------------------------------------------------------------------+
6218 +--------------------------------------------------------------------------------------------------+
6220 +--------------------------------------------------------------------------------------------------+
6222 +---------------------------------------------------------------------------------------------+
6223 |:warning:`warning:` |nbsp| :diagtext:`expected 'align' following '#pragma options' - ignored`|
6224 +---------------------------------------------------------------------------------------------+
6226 +--------------------------------------------------------------------------------------------------…
6228 +--------------------------------------------------------------------------------------------------…
6230 +-------------------------------------------------------------------------------------------------+
6231 |:warning:`warning:` |nbsp| :diagtext:`expected integer or identifier in '#pragma pack' - ignored`|
6232 +-------------------------------------------------------------------------------------------------+
6234 +--------------------------------------------------------------------------------------------------…
6236 +--------------------------------------------------------------------------------------------------…
6238 +--------------------------------------------------------------------------------------------------…
6240 +--------------------------------------------------------------------------------------------------…
6242 +--------------------------------------------------------------------------------------------------…
6243 … |nbsp| :diagtext:`unknown OpenCL extension` |nbsp| :placeholder:`A` |nbsp| :diagtext:`- ignoring`|
6244 +--------------------------------------------------------------------------------------------------…
6246--------------------------------------------------------------------------------------------------…
6247 …action '`:placeholder:`B`:diagtext:`' for '#pragma` |nbsp| :placeholder:`A`:diagtext:`' - ignored`|
6248--------------------------------------------------------------------------------------------------…
6250 +--------------------------------------------------------------------------------------------------…
6251 …sp| :diagtext:`unsupported OpenCL extension` |nbsp| :placeholder:`A` |nbsp| :diagtext:`- ignoring`|
6252 +--------------------------------------------------------------------------------------------------…
6254 +-----------------------------------------------------------------------------------------------+
6256 +-----------------------------------------------------------------------------------------------+
6258 +------------------------------------------------------------------------------------------+
6260 +------------------------------------------------------------------------------------------+
6262 +--------------------------------------------------------------------------------------------------…
6264 +--------------------------------------------------------------------------------------------------…
6267 -Wignored-qualifiers
6268 --------------------
6273--------------------------------------------------+------------------------------------+----------…
6274 |:warning:`warning:` |nbsp| :diagtext:`ARC` |nbsp| |+----------------------------------+| |nbsp| :d…
6276 | |+----------------------------------+| …
6278 | |+----------------------------------+| …
6280 | |+----------------------------------+| …
6282 | |+----------------------------------+| …
6284 | |+----------------------------------+| …
6285--------------------------------------------------+------------------------------------+----------…
6287--------------------------------------------------------------------------------------------------…
6289--------------------------------------------------------------------------------------------------…
6291------------------------------------------------------------------------------------+-------------…
6292 …older:`A`:diagtext:`' type qualifier`|+-------------+| |nbsp| :diagtext:`on return type` |nbsp| |+
6294 … |+-------------+| |+
6296 … |+-------------+| |+
6297------------------------------------------------------------------------------------+-------------…
6299--------------------------------------------------------------------------------------------------…
6301--------------------------------------------------------------------------------------------------…
6303--------------------------------------------------------------------------------------------------…
6305--------------------------------------------------------------------------------------------------…
6308 -Wimplicit
6309 ----------
6312 Controls `-Wimplicit-function-declaration`_, `-Wimplicit-int`_.
6315 -Wimplicit-atomic-properties
6316 ----------------------------
6319 +--------------------------------------------------------------------------------------------------…
6320 |:warning:`warning:` |nbsp| :diagtext:`property is assumed atomic when auto-synthesizing the proper…
6321 +--------------------------------------------------------------------------------------------------…
6323 +----------------------------------------------------------------------------+
6325 +----------------------------------------------------------------------------+
6328 -Wimplicit-const-int-float-conversion
6329 -------------------------------------
6334--------------------------------------------------------------------------------------------------…
6336--------------------------------------------------------------------------------------------------…
6339 -Wimplicit-conversion-floating-point-to-bool
6340 --------------------------------------------
6345--------------------------------------------------------------------------------------------------…
6346 |:warning:`warning:` |nbsp| :diagtext:`implicit conversion turns floating-point number into bool:` …
6347--------------------------------------------------------------------------------------------------…
6350 -Wimplicit-exception-spec-mismatch
6351 ----------------------------------
6356-----------------------------------------------------------------------------------+--------------…
6357 … with an` |nbsp| |+--------------------+| |nbsp| :diagtext:`exception specification redeclared wit…
6359 … |+--------------------+| …
6361 … |+--------------------+| …
6362-----------------------------------------------------------------------------------+--------------…
6365 -Wimplicit-fallthrough
6366 ----------------------
6367 Also controls `-Wimplicit-fallthrough-per-function`_.
6371 +---------------------------------------------------------------------------------+
6373 +---------------------------------------------------------------------------------+
6375 +-------------------------------------------------------------------------------------+
6376 |:warning:`warning:` |nbsp| :diagtext:`unannotated fall-through between switch labels`|
6377 +-------------------------------------------------------------------------------------+
6380 -Wimplicit-fallthrough-per-function
6381 -----------------------------------
6384 +--------------------------------------------------------------------------------------------------…
6385 |:warning:`warning:` |nbsp| :diagtext:`unannotated fall-through between switch labels in partly-ann…
6386 +--------------------------------------------------------------------------------------------------…
6389 -Wimplicit-fixed-point-conversion
6390 ---------------------------------
6395--------------------------------------------------------------------------------------------------…
6397--------------------------------------------------------------------------------------------------…
6400 -Wimplicit-float-conversion
6401 ---------------------------
6404 Also controls `-Wimplicit-int-float-conversion`_, `-Wobjc-signed-char-bool-implicit-float-conversio…
6408--------------------------------------------------------------------------------------------------…
6409 |:warning:`warning:` |nbsp| :diagtext:`implicit conversion loses floating-point precision:` |nbsp| …
6410--------------------------------------------------------------------------------------------------…
6412--------------------------------------------------------------------------------------------------…
6413 …agtext:`implicit conversion when assigning computation result loses floating-point precision:` |nb…
6414--------------------------------------------------------------------------------------------------…
6417 -Wimplicit-function-declaration
6418 -------------------------------
6423 +--------------------------------------------------------------------------------------------------…
6425 +--------------------------------------------------------------------------------------------------…
6427 +--------------------------------------------------------------------------------------------------…
6429 +--------------------------------------------------------------------------------------------------…
6431 +---------------------------------------------------------------------------------+
6433 +---------------------------------------------------------------------------------+
6435 +-----------------------------------------------------------------------------------------------+
6437 +-----------------------------------------------------------------------------------------------+
6440 -Wimplicit-int
6441 --------------
6446 +--------------------------------------------------------------------------------+
6448 +--------------------------------------------------------------------------------+
6451 -Wimplicit-int-conversion
6452 -------------------------
6453 Also controls `-Wobjc-signed-char-bool-implicit-int-conversion`_.
6457 +---------------------------------------------------------------------------------------------+
6459 +---------------------------------------------------------------------------------------------+
6461--------------------------------------------------------------------------------------------------…
6463--------------------------------------------------------------------------------------------------…
6466 -Wimplicit-int-float-conversion
6467 -------------------------------
6470 Also controls `-Wimplicit-const-int-float-conversion`_.
6474--------------------------------------------------------------------------------------------------…
6476--------------------------------------------------------------------------------------------------…
6479 -Wimplicit-retain-self
6480 ----------------------
6483 +--------------------------------------------------------------------------------------------------…
6485 +--------------------------------------------------------------------------------------------------…
6488 -Wimplicitly-unsigned-literal
6489 -----------------------------
6494 +--------------------------------------------------------------------------------------------------…
6496 +--------------------------------------------------------------------------------------------------…
6499 -Wimport
6500 --------
6503 -Wimport-preprocessor-directive-pedantic
6504 ----------------------------------------
6507 +----------------------------------------------------------------------+
6509 +----------------------------------------------------------------------+
6512 -Winaccessible-base
6513 -------------------
6518 +--------------------------------------------------------------------------------------------------…
6520 +--------------------------------------------------------------------------------------------------…
6523 -Winclude-next-absolute-path
6524 ----------------------------
6529--------------------------------------------------------------------------------------------------…
6531--------------------------------------------------------------------------------------------------…
6534 -Winclude-next-outside-header
6535 -----------------------------
6540 +--------------------------------------------------------------------------------------------------…
6542 +--------------------------------------------------------------------------------------------------…
6545 -Wincompatible-exception-spec
6546 -----------------------------
6551 +--------------------------------------------------------------------------+----------------------+
6552 |:warning:`warning:` |nbsp| :diagtext:`exception specifications of` |nbsp| |+--------------------+|…
6554 | |+--------------------+|…
6556 | |+--------------------+|…
6557 +--------------------------------------------------------------------------+----------------------+
6559 +-----------------------------------------------------------------------------------------------+
6561 +-----------------------------------------------------------------------------------------------+
6564 -Wincompatible-function-pointer-types
6565 -------------------------------------
6570----------------------------------------------------------------------------------+---------------…
6571 … pointer types` |nbsp| |+--------------------------------------------------------------+|+--------…
6573 … |+--------------------------------------------------------------+|+--------…
6575 … |+--------------------------------------------------------------+|+--------…
6577 … |+--------------------------------------------------------------+|+--------…
6579 … |+--------------------------------------------------------------+|+--------…
6581 … |+--------------------------------------------------------------+|+--------…
6583 … |+-----------------------------------------------------…
6585 … |+-----------------------------------------------------…
6586----------------------------------------------------------------------------------+---------------…
6589 -Wincompatible-library-redeclaration
6590 ------------------------------------
6595 +--------------------------------------------------------------------------------------------------…
6597 +--------------------------------------------------------------------------------------------------…
6600 -Wincompatible-ms-struct
6601 ------------------------
6602 This diagnostic is an error by default, but the flag ``-Wno-incompatible-ms-struct`` can be used to…
6606 +--------------------------------------------------------------------------------------------------…
6607 |:error:`error:` |nbsp| :diagtext:`ms\_struct may not produce Microsoft-compatible layouts for clas…
6608 +--------------------------------------------------------------------------------------------------…
6610--------------------------------------------------------------------------------------------------…
6611 |:error:`error:` |nbsp| :diagtext:`ms\_struct may not produce Microsoft-compatible layouts with fun…
6612--------------------------------------------------------------------------------------------------…
6615 -Wincompatible-pointer-types
6616 ----------------------------
6619 Also controls `-Wincompatible-function-pointer-types`_, `-Wincompatible-pointer-types-discards-qual…
6623-------------------------------------------------------------------------+------------------------…
6624 … pointer types` |nbsp| |+--------------------------------------------------------------+|+--------…
6626 … |+--------------------------------------------------------------+|+--------…
6628 … |+--------------------------------------------------------------+|+--------…
6630 … |+--------------------------------------------------------------+|+--------…
6632 … |+--------------------------------------------------------------+|+--------…
6634 … |+--------------------------------------------------------------+|+--------…
6636 … |+-----------------------------------------------------…
6638 … |+-----------------------------------------------------…
6639-------------------------------------------------------------------------+------------------------…
6642 -Wincompatible-pointer-types-discards-qualifiers
6643 ------------------------------------------------
6648---------------------------+----------------------------------------------------------------+-----…
6649 |:warning:`warning:` |nbsp| |+--------------------------------------------------------------+| |nbs…
6651 | |+--------------------------------------------------------------+| …
6653 | |+--------------------------------------------------------------+| …
6655 | |+--------------------------------------------------------------+| …
6657 | |+--------------------------------------------------------------+| …
6659 | |+--------------------------------------------------------------+| …
6661 | |+--------------------------------------------------------------+| …
6663 | |+--------------------------------------------------------------+| …
6664---------------------------+----------------------------------------------------------------+-----…
6666 +---------------------------+----------------------------------------------------------------+-----…
6667 |:warning:`warning:` |nbsp| |+--------------------------------------------------------------+| |nbs…
6669 | |+--------------------------------------------------------------+| …
6671 | |+--------------------------------------------------------------+| …
6673 | |+--------------------------------------------------------------+| …
6675 | |+--------------------------------------------------------------+| …
6677 | |+--------------------------------------------------------------+| …
6679 | |+--------------------------------------------------------------+| …
6681 | |+--------------------------------------------------------------+| …
6682 +---------------------------+----------------------------------------------------------------+-----…
6684---------------------------+-------------------------------+--------------------------------------…
6685 |:warning:`warning:` |nbsp| |+-----------------------------+| |nbsp| :diagtext:`from` |nbsp| :place…
6687 | |+-----------------------------+| …
6688 | ||:diagtext:`C-style cast` || …
6689 | |+-----------------------------+| …
6690---------------------------+-------------------------------+--------------------------------------…
6693 -Wincompatible-property-type
6694 ----------------------------
6699--------------------------------------------------------------------------------------------------…
6701--------------------------------------------------------------------------------------------------…
6704 -Wincompatible-sysroot
6705 ----------------------
6710 +--------------------------------------------------------------------------------------------------…
6712 +--------------------------------------------------------------------------------------------------…
6715 -Wincomplete-framework-module-declaration
6716 -----------------------------------------
6721--------------------------------------------------------------------------------------------------…
6723--------------------------------------------------------------------------------------------------…
6726 -Wincomplete-implementation
6727 ---------------------------
6732 +--------------------------------------------------------------------------------------------------…
6734 +--------------------------------------------------------------------------------------------------…
6737 -Wincomplete-module
6738 -------------------
6741 Controls `-Wincomplete-umbrella`_, `-Wnon-modular-include-in-module`_.
6744 -Wincomplete-setjmp-declaration
6745 -------------------------------
6750--------------------------------------------------------------------------------------------------…
6751 |:warning:`warning:` |nbsp| :diagtext:`declaration of built-in function '`:placeholder:`A`:diagtext…
6752--------------------------------------------------------------------------------------------------…
6755 -Wincomplete-umbrella
6756 ---------------------
6761 +---------------------------------------------------------------------------------------+
6763 +---------------------------------------------------------------------------------------+
6765 +--------------------------------------------------------------------------------------------------+
6767 +--------------------------------------------------------------------------------------------------+
6769 +--------------------------------------------------------------------------------------------------…
6771 +--------------------------------------------------------------------------------------------------…
6774 -Winconsistent-dllimport
6775 ------------------------
6780--------------------------------------------------------------------------------------------------…
6782--------------------------------------------------------------------------------------------------…
6784 +--------------------------------------------------------------------------------------------------…
6786 +--------------------------------------------------------------------------------------------------…
6789 -Winconsistent-missing-destructor-override
6790 ------------------------------------------
6793 +--------------------------------------------------------------------------------------------------…
6795 +--------------------------------------------------------------------------------------------------…
6798 -Winconsistent-missing-override
6799 -------------------------------
6804 +--------------------------------------------------------------------------------------------------…
6806 +--------------------------------------------------------------------------------------------------…
6809 -Wincrement-bool
6810 ----------------
6813 Also controls `-Wdeprecated-increment-bool`_.
6817 +------------------------------------------------------------------------------------------------+
6819 +------------------------------------------------------------------------------------------------+
6822 -Winfinite-recursion
6823 --------------------
6826 +---------------------------------------------------------------------------------------+
6828 +---------------------------------------------------------------------------------------+
6831 -Winit-self
6832 -----------
6835 -Winitializer-overrides
6836 -----------------------
6841 +----------------------------------------------------------+-------------------------------+-------…
6842 |:warning:`warning:` |nbsp| :diagtext:`initializer` |nbsp| |+-----------------------------+|:diagte…
6844 | |+-----------------------------+| …
6846 | |+-----------------------------+| …
6847 +----------------------------------------------------------+-------------------------------+-------…
6849 +----------------------------------------------------------+-------------------------------+-------…
6850 |:warning:`warning:` |nbsp| :diagtext:`initializer` |nbsp| |+-----------------------------+|:diagte…
6852 | |+-----------------------------+| …
6854 | |+-----------------------------+| …
6855 +----------------------------------------------------------+-------------------------------+-------…
6858 -Winjected-class-name
6859 ---------------------
6864--------------------------------------------------------------------------------------------------…
6865 …er than a` |nbsp| |+-------------------------+| |nbsp| :diagtext:`in this context, despite precedi…
6867 … |+-------------------------+| …
6869 … |+-------------------------+| …
6870--------------------------------------------------------------------------------------------------…
6873 -Winline
6874 --------
6877 -Winline-asm
6878 ------------
6886 -Winline-new-delete
6887 -------------------
6892 +--------------------------------------------------------------------------------------------------…
6894 +--------------------------------------------------------------------------------------------------…
6897 -Winstantiation-after-specialization
6898 ------------------------------------
6903--------------------------------------------------------------------------------------------------…
6905--------------------------------------------------------------------------------------------------…
6908 -Wint-conversion
6909 ----------------
6914-----------------------------------------------------------------------------------------+--------…
6915 …ter conversion` |nbsp| |+--------------------------------------------------------------+|+--------…
6917 … |+--------------------------------------------------------------+|+--------…
6919 … |+--------------------------------------------------------------+|+--------…
6921 … |+--------------------------------------------------------------+|+--------…
6923 … |+--------------------------------------------------------------+|+--------…
6925 … |+--------------------------------------------------------------+|+--------…
6927 … |+-----------------------------------------------------…
6929 … |+-----------------------------------------------------…
6930-----------------------------------------------------------------------------------------+--------…
6932-----------------------------------------------------------------------------------------+--------…
6933 …ger conversion` |nbsp| |+--------------------------------------------------------------+|+--------…
6935 … |+--------------------------------------------------------------+|+--------…
6937 … |+--------------------------------------------------------------+|+--------…
6939 … |+--------------------------------------------------------------+|+--------…
6941 … |+--------------------------------------------------------------+|+--------…
6943 … |+--------------------------------------------------------------+|+--------…
6945 … |+-----------------------------------------------------…
6947 … |+-----------------------------------------------------…
6948-----------------------------------------------------------------------------------------+--------…
6951 -Wint-conversions
6952 -----------------
6953 Synonym for `-Wint-conversion`_.
6956 -Wint-in-bool-context
6957 ---------------------
6960 +--------------------------------------------------------------------------------+
6962 +--------------------------------------------------------------------------------+
6964 +--------------------------------------------------------------------------------------------------…
6966 +--------------------------------------------------------------------------------------------------…
6969 -Wint-to-pointer-cast
6970 ---------------------
6973 Also controls `-Wint-to-void-pointer-cast`_.
6977 +--------------------------------------------------------------------------------------------------…
6979 +--------------------------------------------------------------------------------------------------…
6982 -Wint-to-void-pointer-cast
6983 --------------------------
6988 +--------------------------------------------------------------------------------------------------…
6990 +--------------------------------------------------------------------------------------------------…
6993 -Winteger-overflow
6994 ------------------
6999 +--------------------------------------------------------------------------------------------------…
7001 +--------------------------------------------------------------------------------------------------…
7004 -Winvalid-command-line-argument
7005 -------------------------------
7008 Also controls `-Wignored-optimization-argument`_.
7012--------------------------------------------------------------------------------------------------…
7013 … supports` |nbsp| :placeholder:`A` |nbsp| :diagtext:`hardware multiply, but -mhwmult is set to` |n…
7014--------------------------------------------------------------------------------------------------…
7016--------------------------------------------------------------------------------------------------…
7017 …CU device specified, but '-mhwmult' is set to 'auto', assuming no hardware multiply. Use -mmcu to …
7018--------------------------------------------------------------------------------------------------…
7020 +--------------------------------------------------------------------------------------------------…
7021 |:warning:`warning:` |nbsp| :diagtext:`the given MCU does not support hardware multiply, but -mhwmu…
7022 +--------------------------------------------------------------------------------------------------…
7024 +--------------------------------------------------------------------------------------------------…
7025 |:warning:`warning:` |nbsp| :diagtext:`the object size sanitizer has no effect at -O0, but is expli…
7026 +--------------------------------------------------------------------------------------------------…
7028--------------------------------------------------------------------------------------------------…
7030--------------------------------------------------------------------------------------------------…
7032--------------------------------------------------------------------------------------------------…
7034--------------------------------------------------------------------------------------------------…
7037 -Winvalid-constexpr
7038 -------------------
7039 This diagnostic is an error by default, but the flag ``-Wno-invalid-constexpr`` can be used to disa…
7043 +-----------------------+-----------------------+--------+-------------------------+---------------…
7044 |:error:`error:` |nbsp| |+---------------------+| |nbsp| |+-----------------------+| |nbsp| :diagte…
7046 | |+---------------------+| |+-----------------------+| …
7048 | |+---------------------+| |+-----------------------+| …
7049 +-----------------------+-----------------------+--------+-------------------------+---------------…
7052 -Winvalid-iboutlet
7053 ------------------
7058---------------------------+-------------------------------+--------------------------------------…
7059 |:warning:`warning:` |nbsp| |+-----------------------------+| |nbsp| :diagtext:`with` |nbsp| :place…
7061 | |+-----------------------------+| …
7063 | |+-----------------------------+| …
7064---------------------------+-------------------------------+--------------------------------------…
7066 +--------------------------------------------------------------------------------------------------…
7068 +--------------------------------------------------------------------------------------------------…
7071 -Winvalid-initializer-from-system-header
7072 ----------------------------------------
7077 +--------------------------------------------------------------------------------------------------…
7079 +--------------------------------------------------------------------------------------------------…
7082 -Winvalid-ios-deployment-target
7083 -------------------------------
7084 This diagnostic is an error by default, but the flag ``-Wno-invalid-ios-deployment-target`` can be …
7088--------------------------------------------------------------------------------------------------…
7089 …ersion '`:placeholder:`A`:diagtext:`', iOS 10 is the maximum deployment target for 32-bit targets`|
7090--------------------------------------------------------------------------------------------------…
7093 -Winvalid-no-builtin-names
7094 --------------------------
7099 +--------------------------------------------------------------------------------------------------…
7101 +--------------------------------------------------------------------------------------------------…
7104 -Winvalid-noreturn
7105 ------------------
7110 +-------------------------------------------------------------------------------------+
7112 +-------------------------------------------------------------------------------------+
7114 +--------------------------------------------------------------------------------------------------…
7116 +--------------------------------------------------------------------------------------------------…
7119 -Winvalid-offsetof
7120 ------------------
7125 +----------------------------------------------------------------------------------------+
7126 |:warning:`warning:` |nbsp| :diagtext:`offset of on non-POD type` |nbsp| :placeholder:`A`|
7127 +----------------------------------------------------------------------------------------+
7129 +--------------------------------------------------------------------------------------------------…
7130 |:warning:`warning:` |nbsp| :diagtext:`offset of on non-standard-layout type` |nbsp| :placeholder:`…
7131 +--------------------------------------------------------------------------------------------------…
7134 -Winvalid-or-nonexistent-directory
7135 ----------------------------------
7140--------------------------------------------------------------------------------------------------…
7142--------------------------------------------------------------------------------------------------…
7144--------------------------------------------------------------------------------------------------…
7146--------------------------------------------------------------------------------------------------…
7149 -Winvalid-partial-specialization
7150 --------------------------------
7151 This diagnostic is an error by default, but the flag ``-Wno-invalid-partial-specialization`` can be…
7155 +-----------------------+----------------------+---------------------------------------------------…
7156 |:error:`error:` |nbsp| |+--------------------+| |nbsp| :diagtext:`template partial specialization …
7158 | |+--------------------+| …
7160 | |+--------------------+| …
7161 +-----------------------+----------------------+---------------------------------------------------…
7164 -Winvalid-pch
7165 -------------
7168 -Winvalid-pp-token
7169 ------------------
7174 +---------------------------------------------------------------+
7176 +---------------------------------------------------------------+
7178 +------------------------------------------------------------------+-----------------+-------------…
7179 |:warning:`warning:` |nbsp| :diagtext:`missing terminating` |nbsp| |+---------------+| |nbsp| :diag…
7181 | |+---------------+| …
7183 | |+---------------+| …
7184 +------------------------------------------------------------------+-----------------+-------------…
7187 -Winvalid-source-encoding
7188 -------------------------
7193 +--------------------------------------------------------------------------------------+
7195 +--------------------------------------------------------------------------------------+
7197 +-----------------------------------------------------------------------------------+
7199 +-----------------------------------------------------------------------------------+
7202 -Winvalid-token-paste
7203 ---------------------
7204 This diagnostic is an error by default, but the flag ``-Wno-invalid-token-paste`` can be used to di…
7208 +--------------------------------------------------------------------------------------------------…
7210 +--------------------------------------------------------------------------------------------------…
7213 -Wjump-seh-finally
7214 ------------------
7219 +-------------------------------------------------------------------------------------------+
7221 +-------------------------------------------------------------------------------------------+
7224 -Wkeyword-compat
7225 ----------------
7230--------------------------------------------------------------------------------------------------…
7231 …will be made available as an identifier` |nbsp| |+------------------------------------------------…
7233 … |+------------------------------------------------…
7235 … |+------------------------------------------------…
7236--------------------------------------------------------------------------------------------------…
7239 -Wkeyword-macro
7240 ---------------
7243 +----------------------------------------------------------------------------+
7245 +----------------------------------------------------------------------------+
7248 -Wknr-promoted-parameter
7249 ------------------------
7254--------------------------------------------------------------------------------------------------…
7256--------------------------------------------------------------------------------------------------…
7259 -Wlanguage-extension-token
7260 --------------------------
7263 +-----------------------------------------------------+
7265 +-----------------------------------------------------+
7268 -Wlarge-by-value-copy
7269 ---------------------
7274--------------------------------------------------------------------------------------------------…
7275 …sp| :diagtext:`is a large (`:placeholder:`B` |nbsp| :diagtext:`bytes) pass-by-value argument; pass…
7276--------------------------------------------------------------------------------------------------…
7278--------------------------------------------------------------------------------------------------…
7279 …sp| :diagtext:`is a large (`:placeholder:`B` |nbsp| :diagtext:`bytes) pass-by-value object; pass i…
7280--------------------------------------------------------------------------------------------------…
7283 -Wliblto
7284 --------
7287 -Wliteral-conversion
7288 --------------------
7293--------------------------------------------------------------------------------------------------…
7295--------------------------------------------------------------------------------------------------…
7297--------------------------------------------------------------------------------------------------…
7299--------------------------------------------------------------------------------------------------…
7302 -Wliteral-range
7303 ---------------
7308--------------------------------------------------------------------------------------------------…
7309 |:warning:`warning:` |nbsp| :diagtext:`magnitude of floating-point constant too large for type` |nb…
7310--------------------------------------------------------------------------------------------------…
7312--------------------------------------------------------------------------------------------------…
7313 |:warning:`warning:` |nbsp| :diagtext:`magnitude of floating-point constant too small for type` |nb…
7314--------------------------------------------------------------------------------------------------…
7317 -Wlocal-type-template-args
7318 --------------------------
7321 Also controls `-Wc++98-compat-local-type-template-args`_.
7325 +------------------------------------------------------------------------------------------------+
7327 +------------------------------------------------------------------------------------------------+
7330 -Wlogical-not-parentheses
7331 -------------------------
7336 +--------------------------------------------------------------------------------------------------…
7337 …`logical not is only applied to the left hand side of this` |nbsp| |+----------------------------+|
7339 … |+----------------------------+|
7341 … |+----------------------------+|
7342 +--------------------------------------------------------------------------------------------------…
7345 -Wlogical-op-parentheses
7346 ------------------------
7349 +---------------------------------------------------------+
7351 +---------------------------------------------------------+
7354 -Wlong-long
7355 -----------
7356 Also controls `-Wc++11-long-long`_.
7360 +-----------------------------------------------------------------------------------------------+
7362 +-----------------------------------------------------------------------------------------------+
7365 -Wloop-analysis
7366 ---------------
7367 Controls `-Wfor-loop-analysis`_, `-Wrange-loop-analysis`_.
7370 -Wmacro-redefined
7371 -----------------
7376 +------------------------------------------------------------------------------+
7378 +------------------------------------------------------------------------------+
7381 -Wmain
7382 ------
7387 +--------------------------------------------------------------------------------------------+
7389 +--------------------------------------------------------------------------------------------+
7391 +--------------------------------------------------------------------------------------+
7393 +--------------------------------------------------------------------------------------+
7395 +------------------------------------------------------------------------------------+
7397 +------------------------------------------------------------------------------------+
7399 +-------------------------------------------------------------------------------+
7401 +-------------------------------------------------------------------------------+
7403 +--------------------------------------------------------------------------------------------------…
7405 +--------------------------------------------------------------------------------------------------…
7407 +------------------------------------------------------------------------+
7409 +------------------------------------------------------------------------+
7411 +---------------------------------------------------------------------------+
7413 +---------------------------------------------------------------------------+
7416 -Wmain-return-type
7417 ------------------
7422 +-------------------------------------------------------------------------+
7424 +-------------------------------------------------------------------------+
7427 -Wmalformed-warning-check
7428 -------------------------
7433 +---------------------------------------------------------------------------------------------+
7434 |:warning:`warning:` |nbsp| :diagtext:`\_\_has\_warning expected option name (e.g. "-Wundef")`|
7435 +---------------------------------------------------------------------------------------------+
7438 -Wmany-braces-around-scalar-init
7439 --------------------------------
7444 +---------------------------------------------------------------------+----------------------------
7445 |:warning:`warning:` |nbsp| :diagtext:`too many braces around` |nbsp| |+--------------------------+…
7447 | |+--------------------------+…
7449 | |+--------------------------+…
7450 +---------------------------------------------------------------------+----------------------------
7453 -Wmax-tokens
7454 ------------
7459--------------------------------------------------------------------------------------------------…
7461--------------------------------------------------------------------------------------------------…
7463--------------------------------------------------------------------------------------------------…
7465--------------------------------------------------------------------------------------------------…
7468 The warning is issued if the number of pre-processor tokens exceeds
7474 .. code-block: c++
7477 2. As a per-translation unit limit, using the ``-fmax-tokens=`` command-line
7480 .. code-block: console
7481 clang -c a.cpp -fmax-tokens=1234
7483 3. As a per-translation unit limit using the ``clang max_tokens_total`` pragma,
7484 which works like and overrides the ``-fmax-tokens=`` flag:
7486 .. code-block: c++
7493 -Wmax-unsigned-zero
7494 -------------------
7499----------------------------------------------------------------+---------------------------------…
7500 …:`warning:` |nbsp| :diagtext:`taking the max of` |nbsp| |+-------------------------------------+| …
7502 … |+-------------------------------------+| …
7504 … |+-------------------------------------+| …
7505----------------------------------------------------------------+---------------------------------…
7508 -Wmemset-transposed-args
7509 ------------------------
7514 +---------------------------+-----------------------------------------------------+----------------…
7515 |:warning:`warning:` |nbsp| |+---------------------------------------------------+|:diagtext:`; did…
7517 | |+---------------------------------------------------+| …
7519 | |+---------------------------------------------------+| …
7520 +---------------------------+-----------------------------------------------------+----------------…
7523 -Wmemsize-comparison
7524 --------------------
7529 +--------------------------------------------------------------------------------------------------…
7531 +--------------------------------------------------------------------------------------------------…
7534 -Wmethod-signatures
7535 -------------------
7538--------------------------------------------------------------------------------------------------…
7540--------------------------------------------------------------------------------------------------…
7542--------------------------------------------------------------------------------------------------…
7544--------------------------------------------------------------------------------------------------…
7547 -Wmicrosoft
7548 -----------
7551-Winconsistent-dllimport`_, `-Wmicrosoft-anon-tag`_, `-Wmicrosoft-cast`_, `-Wmicrosoft-charize`_, …
7554 -Wmicrosoft-anon-tag
7555 --------------------
7560 +-----------------------------------------------------------------------------+--------------------
7561 |:warning:`warning:` |nbsp| :diagtext:`types declared in an anonymous` |nbsp| |+------------------+…
7563 | |+------------------+…
7565 | |+------------------+…
7566 +-----------------------------------------------------------------------------+--------------------
7568 +--------------------------------------------------------+---------------------+-------------------…
7569 |:warning:`warning:` |nbsp| :diagtext:`anonymous` |nbsp| |+-------------------+| |nbsp| :diagtext:`…
7571 | |+-------------------+| …
7573 | |+-------------------+| …
7574 +--------------------------------------------------------+---------------------+-------------------…
7577 -Wmicrosoft-cast
7578 ----------------
7583 +--------------------------------------------------------------------------------------------------…
7584 |:warning:`warning:` |nbsp| :diagtext:`static\_cast between pointer-to-function and pointer-to-obje…
7585 +--------------------------------------------------------------------------------------------------…
7587 +--------------------------------------------------------------------------------------------------…
7588 …arning:` |nbsp| :diagtext:`implicit conversion between pointer-to-function and pointer-to-object i…
7589 +--------------------------------------------------------------------------------------------------…
7592 -Wmicrosoft-charize
7593 -------------------
7596 +-------------------------------------------------------------------------------------+
7598 +-------------------------------------------------------------------------------------+
7601 -Wmicrosoft-comment-paste
7602 -------------------------
7605 +--------------------------------------------------------------------------------------------------…
7607 +--------------------------------------------------------------------------------------------------…
7610 -Wmicrosoft-const-init
7611 ----------------------
7616--------------------------------------------------------------------------------------------------…
7617 …ject of const type` |nbsp| :placeholder:`A`|+-----------------------------------------------------…
7619 … |+-----------------------------------------------------…
7620 … || |nbsp| :diagtext:`without a user-provided default cons…
7621 … |+-----------------------------------------------------…
7622--------------------------------------------------------------------------------------------------…
7625 -Wmicrosoft-cpp-macro
7626 ---------------------
7629--------------------------------------------------------------------------------------------------…
7631--------------------------------------------------------------------------------------------------…
7634 -Wmicrosoft-default-arg-redefinition
7635 ------------------------------------
7640 +-----------------------------------------------------------------------+
7642 +-----------------------------------------------------------------------+
7645 -Wmicrosoft-drectve-section
7646 ---------------------------
7651--------------------------------------------------------------------------------------------------…
7653--------------------------------------------------------------------------------------------------…
7656 -Wmicrosoft-end-of-file
7657 -----------------------
7660 +----------------------------------------------------------------------------------------------+
7661 |:warning:`warning:` |nbsp| :diagtext:`treating Ctrl-Z as end-of-file is a Microsoft extension`|
7662 +----------------------------------------------------------------------------------------------+
7665 -Wmicrosoft-enum-forward-reference
7666 ----------------------------------
7671 +--------------------------------------------------------------------------------------------------…
7673 +--------------------------------------------------------------------------------------------------…
7676 -Wmicrosoft-enum-value
7677 ----------------------
7680 +--------------------------------------------------------------------------------------------------…
7682 +--------------------------------------------------------------------------------------------------…
7685 -Wmicrosoft-exception-spec
7686 --------------------------
7691 +------------------------------------------------------------------------------------------------+
7693 +------------------------------------------------------------------------------------------------+
7695---------------------------+----------------------------------+-----------------------------------…
7696 |:warning:`warning:` |nbsp| |+--------------------------------+|:diagtext:`incomplete type` |nbsp| …
7698 | |+--------------------------------+| …
7700 | |+--------------------------------+| …
7702 | |+--------------------------------+| …
7703---------------------------+----------------------------------+-----------------------------------…
7705 +--------------------------------------------------------------------------------------------------…
7707 +--------------------------------------------------------------------------------------------------…
7709 +--------------------------------------------------------------------------------------------------…
7711 +--------------------------------------------------------------------------------------------------…
7713 +--------------------------------------------------------------------------------------------------…
7715 +--------------------------------------------------------------------------------------------------…
7717 +--------------------------------------------------------------------------------------------------…
7719 +--------------------------------------------------------------------------------------------------…
7722 -Wmicrosoft-exists
7723 ------------------
7728 +--------------------------------------------------------+---------------------------------+-------…
7729 |:warning:`warning:` |nbsp| :diagtext:`dependent` |nbsp| |+-------------------------------+| |nbsp|…
7731 | |+-------------------------------+| …
7733 | |+-------------------------------+| …
7734 +--------------------------------------------------------+---------------------------------+-------…
7737 -Wmicrosoft-explicit-constructor-call
7738 -------------------------------------
7743 +-------------------------------------------------------------------------------------------+
7745 +-------------------------------------------------------------------------------------------+
7748 -Wmicrosoft-extra-qualification
7749 -------------------------------
7754 +--------------------------------------------------------------------------------------------+
7756 +--------------------------------------------------------------------------------------------+
7759 -Wmicrosoft-fixed-enum
7760 ----------------------
7763 +--------------------------------------------------------------------------------------------------…
7765 +--------------------------------------------------------------------------------------------------…
7768 -Wmicrosoft-flexible-array
7769 --------------------------
7772--------------------------------------------------------------------------------------------------…
7773 …| :placeholder:`A` |nbsp| :diagtext:`in otherwise empty` |nbsp| |+---------------------+| |nbsp| :…
7775 … |+---------------------+| …
7777 … |+---------------------+| …
7779 … |+---------------------+| …
7781 … |+---------------------+| …
7783 … |+---------------------+| …
7784--------------------------------------------------------------------------------------------------…
7786 +--------------------------------------------------------------------------------------------------…
7788 +--------------------------------------------------------------------------------------------------…
7791 -Wmicrosoft-goto
7792 ----------------
7797 +--------------------------------------------------------------------------------------------------…
7799 +--------------------------------------------------------------------------------------------------…
7802 -Wmicrosoft-inaccessible-base
7803 -----------------------------
7808--------------------------------------------------------------------------------------------------…
7810--------------------------------------------------------------------------------------------------…
7813 -Wmicrosoft-include
7814 -------------------
7819 +--------------------------------------------------------------------------------------------------…
7820 |:warning:`warning:` |nbsp| :diagtext:`#include resolved using non-portable Microsoft search rules …
7821 +--------------------------------------------------------------------------------------------------…
7824 -Wmicrosoft-mutable-reference
7825 -----------------------------
7830 +---------------------------------------------------------------------------------------------+
7832 +---------------------------------------------------------------------------------------------+
7835 -Wmicrosoft-pure-definition
7836 ---------------------------
7841 +--------------------------------------------------------------------------------------------------…
7842 |:warning:`warning:` |nbsp| :diagtext:`function definition with pure-specifier is a Microsoft exten…
7843 +--------------------------------------------------------------------------------------------------…
7846 -Wmicrosoft-redeclare-static
7847 ----------------------------
7850 +--------------------------------------------------------------------------------------------------…
7851 |:warning:`warning:` |nbsp| :diagtext:`redeclaring non-static` |nbsp| :placeholder:`A` |nbsp| :diag…
7852 +--------------------------------------------------------------------------------------------------…
7855 -Wmicrosoft-sealed
7856 ------------------
7861 +--------------------------------------------------------------------------------+
7863 +--------------------------------------------------------------------------------+
7866 -Wmicrosoft-template
7867 --------------------
7870 Also controls `-Wmicrosoft-template-shadow`_.
7874 +--------------------------------------------------------------------------------------------------…
7876 +--------------------------------------------------------------------------------------------------…
7878--------------------------------------------------------------------------------------------------…
7880--------------------------------------------------------------------------------------------------…
7882--------------------------------------------------------------------------------------------------…
7884--------------------------------------------------------------------------------------------------…
7886 +--------------------------------------------------------------------------------------------------…
7887 |:warning:`warning:` |nbsp| :diagtext:`non-type template argument containing a dereference operatio…
7888 +--------------------------------------------------------------------------------------------------…
7890---------------------------+---------------------------------------+------------------------------…
7891-------------------------------------+| |nbsp| :diagtext:`specialization of` |nbsp| :placeholder:`…
7892 … ||+--------------------------------------------------…
7893 | |+-------------------------------------+| …
7894 … ||+--------------------------------------------------…
7895-------------------------------------+| …
7896 … ||+-----------------------------------------------------------------…
7897 | |+-------------------------------------+| …
7898 … ||+-----------------------------------------------------------------…
7899-------------------------------------+| …
7901 | |+-------------------------------------+| …
7903 | |+-------------------------------------+| …
7905 | |+-------------------------------------+| …
7907 | |+-------------------------------------+| …
7909 | |+-------------------------------------+| …
7910---------------------------+---------------------------------------+------------------------------…
7912 +--------------------------------------------------------------------------------------------------…
7914 +--------------------------------------------------------------------------------------------------…
7916 +-------------------------------------------------------------------------------------------------+
7918 +-------------------------------------------------------------------------------------------------+
7920--------------------------------------------------------------------------------------------------…
7922--------------------------------------------------------------------------------------------------…
7925 -Wmicrosoft-template-shadow
7926 ---------------------------
7931 +--------------------------------------------------------------------------------------------------…
7933 +--------------------------------------------------------------------------------------------------…
7936 -Wmicrosoft-union-member-reference
7937 ----------------------------------
7942--------------------------------------------------------------------------------------------------…
7944--------------------------------------------------------------------------------------------------…
7947 -Wmicrosoft-unqualified-friend
7948 ------------------------------
7953--------------------------------------------------------------------------------------------------…
7955--------------------------------------------------------------------------------------------------…
7958 -Wmicrosoft-using-decl
7959 ----------------------
7964--------------------------------------------------------------------------------------------------…
7966--------------------------------------------------------------------------------------------------…
7969 -Wmicrosoft-void-pseudo-dtor
7970 ----------------------------
7975 +------------------------------------------------------------------------------------------------+
7976 |:warning:`warning:` |nbsp| :diagtext:`pseudo-destructors on type void are a Microsoft extension`|
7977 +------------------------------------------------------------------------------------------------+
7980 -Wmisleading-indentation
7981 ------------------------
7984 +--------------------------------------------------------------------------------------------------…
7985 …:`misleading indentation; statement is not part of the previous '`|+-----------------+|:diagtext:`…
7987 … |+-----------------+| …
7989 … |+-----------------+| …
7991 … |+-----------------+| …
7993 … |+-----------------+| …
7994 +--------------------------------------------------------------------------------------------------…
7997 -Wmismatched-new-delete
7998 -----------------------
8003----------------------------------------------+------------------+--------------------------------…
8004----------------+|:diagtext:`' applied to a pointer that was allocated with 'new`|+---------------…
8006----------------+| |+---------------…
8008----------------+| |+---------------…
8009----------------------------------------------+------------------+--------------------------------…
8012 -Wmismatched-parameter-types
8013 ----------------------------
8018 +--------------------------------------------------------------------------------------------------…
8020 +--------------------------------------------------------------------------------------------------…
8023 -Wmismatched-return-types
8024 -------------------------
8029 +--------------------------------------------------------------------------------------------------…
8031 +--------------------------------------------------------------------------------------------------…
8034 -Wmismatched-tags
8035 -----------------
8038---------------------------------------------------------------------------------+----------------…
8039------------------------+|+----------------------------+| |nbsp| :diagtext:`here but previously de…
8041------------------------+|+----------------------------+| …
8043------------------------+|+----------------------------+| …
8045 … |+------------------------+| | …
8046---------------------------------------------------------------------------------+----------------…
8048---------------------------+-----------------------+------------------------------+---------------…
8049---------------------+|+----------------------------+| |nbsp| :placeholder:`C` |nbsp| :diagtext:`w…
8051---------------------+|+----------------------------+| …
8053---------------------+|+----------------------------+| …
8055---------------------+| | …
8056---------------------------+-----------------------+------------------------------+---------------…
8059 -Wmissing-braces
8060 ----------------
8063 +----------------------------------------------------------------------------------------+
8065 +----------------------------------------------------------------------------------------+
8068 -Wmissing-constinit
8069 -------------------
8074 +--------------------------------------------------------------------------------------------------…
8076 +--------------------------------------------------------------------------------------------------…
8079 -Wmissing-declarations
8080 ----------------------
8085 +----------------------------------------------------------------------------+
8087 +----------------------------------------------------------------------------+
8089 +--------------------------------------------------------------------------------------------------…
8091 +--------------------------------------------------------------------------------------------------…
8093 +--------------------------------------------------------------+
8095 +--------------------------------------------------------------+
8097 +-------------------------------------------------------------------------------------------------+
8099 +-------------------------------------------------------------------------------------------------+
8102 -Wmissing-exception-spec
8103 ------------------------
8108 +--------------------------------------------------------------------------------------------------…
8110 +--------------------------------------------------------------------------------------------------…
8113 -Wmissing-field-initializers
8114 ----------------------------
8117 +--------------------------------------------------------------------------------------------------…
8119 +--------------------------------------------------------------------------------------------------…
8122 -Wmissing-format-attribute
8123 --------------------------
8126 -Wmissing-include-dirs
8127 ----------------------
8130 -Wmissing-method-return-type
8131 ----------------------------
8134 +--------------------------------------------------------------------------------------------+
8136 +--------------------------------------------------------------------------------------------+
8139 -Wmissing-noescape
8140 ------------------
8145 +--------------------------------------------------------------------------------------------------…
8147 +--------------------------------------------------------------------------------------------------…
8150 -Wmissing-noreturn
8151 ------------------
8154 +----------------------------------------------------------------------------------------+
8156 +----------------------------------------------------------------------------------------+
8158 +---------------------------+----------------------+-----------------------------------------------…
8159 |:warning:`warning:` |nbsp| |+--------------------+| |nbsp| :placeholder:`B` |nbsp| :diagtext:`coul…
8161 | |+--------------------+| …
8163 | |+--------------------+| …
8164 +---------------------------+----------------------+-----------------------------------------------…
8167 -Wmissing-prototype-for-cc
8168 --------------------------
8173 +--------------------------------------------------------------------------------------------------…
8175 +--------------------------------------------------------------------------------------------------…
8178 -Wmissing-prototypes
8179 --------------------
8182 +-------------------------------------------------------------------------------------------------+
8184 +-------------------------------------------------------------------------------------------------+
8187 -Wmissing-selector-name
8188 -----------------------
8193 +--------------------------------------------------------------------------------------------------…
8195 +--------------------------------------------------------------------------------------------------…
8198 -Wmissing-sysroot
8199 -----------------
8204 +------------------------------------------------------------------------------------------------+
8206 +------------------------------------------------------------------------------------------------+
8209 -Wmissing-variable-declarations
8210 -------------------------------
8213 +--------------------------------------------------------------------------------------------------…
8214 |:warning:`warning:` |nbsp| :diagtext:`no previous extern declaration for non-static variable` |nbs…
8215 +--------------------------------------------------------------------------------------------------…
8218 -Rmodule-build
8219 --------------
8222 +--------------------------------------------------------------------------------------------------…
8224 +--------------------------------------------------------------------------------------------------…
8226 +--------------------------------------------------------------------------------------------+
8228 +--------------------------------------------------------------------------------------------+
8230 +--------------------------------------------------------------------------------------------------…
8232 +--------------------------------------------------------------------------------------------------…
8234 +--------------------------------------------------------------------------------------------------…
8236 +--------------------------------------------------------------------------------------------------…
8239 -Wmodule-conflict
8240 -----------------
8245--------------------------------------------------------------------------------------------------…
8246 …bsp| :diagtext:`module '`:placeholder:`A`:diagtext:`' conflicts with already-imported module '`:pl…
8247--------------------------------------------------------------------------------------------------…
8249--------------------------------------------------------------------------------------------------…
8250 …gtext:`' was validated as a system module and is now being imported as a non-system module; any di…
8251--------------------------------------------------------------------------------------------------…
8254 -Wmodule-file-config-mismatch
8255 -----------------------------
8256 This diagnostic is an error by default, but the flag ``-Wno-module-file-config-mismatch`` can be us…
8260--------------------------------------------------------------------------------------------------…
8262--------------------------------------------------------------------------------------------------…
8265 -Wmodule-file-extension
8266 -----------------------
8271 +--------------------------------------------------------------------------------------------------…
8273 +--------------------------------------------------------------------------------------------------…
8276 -Rmodule-import
8277 ---------------
8280------------------------------------------------------------------------------------+-------------…
8281 …porting module '`:placeholder:`A`:diagtext:`'`|+--------------------------------------------------…
8283 … |+--------------------------------------------------…
8284 … ||+-------------------------------------------------…
8286 … ||+-------------------------------------------------…
8287 … |+--------------------------------------------------…
8288------------------------------------------------------------------------------------+-------------…
8291 -Wmodule-import-in-extern-c
8292 ---------------------------
8293 This diagnostic is an error by default, but the flag ``-Wno-module-import-in-extern-c`` can be used…
8297 +--------------------------------------------------------------------------------------------------…
8299 +--------------------------------------------------------------------------------------------------…
8302 -Wmodules-ambiguous-internal-linkage
8303 ------------------------------------
8308--------------------------------------------------------------------------------------------------…
8310--------------------------------------------------------------------------------------------------…
8313 -Wmodules-import-nested-redundant
8314 ---------------------------------
8315 This diagnostic is an error by default, but the flag ``-Wno-modules-import-nested-redundant`` can b…
8319 +--------------------------------------------------------------------------------------------------…
8321 +--------------------------------------------------------------------------------------------------…
8324 -Wmost
8325 ------
8328-Wcast-of-sel-type`_, `-Wchar-subscripts`_, `-Wcomment`_, `-Wdelete-non-virtual-dtor`_, `-Wextern-
8331 -Wmove
8332 ------
8333 Controls `-Wpessimizing-move`_, `-Wredundant-move`_, `-Wreturn-std-move`_, `-Wself-move`_.
8336 -Wmsvc-include
8337 --------------
8338 Synonym for `-Wmicrosoft-include`_.
8341 -Wmsvc-not-found
8342 ----------------
8347 +--------------------------------------------------------------------------------------------------…
8349 +--------------------------------------------------------------------------------------------------…
8352 -Wmultichar
8353 -----------
8358 +-------------------------------------------------------------------------+
8359 |:warning:`warning:` |nbsp| :diagtext:`multi-character character constant`|
8360 +-------------------------------------------------------------------------+
8363 -Wmultiple-move-vbase
8364 ---------------------
8369--------------------------------------------------------------------------------------------------…
8371--------------------------------------------------------------------------------------------------…
8374 -Wnarrowing
8375 -----------
8376 Synonym for `-Wc++11-narrowing`_.
8379 -Wnested-anon-types
8380 -------------------
8383 +---------------------------------------------------------------------------------------+----------…
8384 …bsp| :diagtext:`anonymous types declared in an anonymous` |nbsp| |+------------------+| |nbsp| :di…
8386 … |+------------------+| …
8388 … |+------------------+| …
8389 +---------------------------------------------------------------------------------------+----------…
8392 -Wnested-externs
8393 ----------------
8396 -Wnew-returns-null
8397 ------------------
8402--------------------------------------------------------------------------------------------------…
8403 …uld not return a null pointer unless it is declared 'throw()'`|+---------------------------------+|
8405 … |+---------------------------------+|
8407 … |+---------------------------------+|
8408--------------------------------------------------------------------------------------------------…
8411 -Wnewline-eof
8412 -------------
8415 +----------------------------------------------------------------+
8417 +----------------------------------------------------------------+
8419 +----------------------------------------------------------------+
8421 +----------------------------------------------------------------+
8424 -Wnoderef
8425 ---------
8430 +--------------------------------------------------------------------------------------------------…
8432 +--------------------------------------------------------------------------------------------------…
8434 +-----------------------------------------------------------------------------------+
8436 +-----------------------------------------------------------------------------------+
8438 +--------------------------------------------------------------------------------------------------…
8440 +--------------------------------------------------------------------------------------------------…
8443 -Wnoexcept-type
8444 ---------------
8445 Synonym for `-Wc++17-compat-mangling`_.
8448 -Wnon-c-typedef-for-linkage
8449 ---------------------------
8454--------------------------------------------------------------------------------------------------…
8455 …g:` |nbsp| :diagtext:`anonymous non-C-compatible type given name for linkage purposes by` |nbsp| |…
8457 … |+-------------------+| …
8459 … |+-------------------+| …
8460--------------------------------------------------------------------------------------------------…
8463 -Wnon-gcc
8464 ---------
8467 Controls `-Wconversion`_, `-Wliteral-range`_, `-Wsign-compare`_.
8470 -Wnon-literal-null-conversion
8471 -----------------------------
8476 +--------------------------------------------------------------------------------------------------…
8478 +--------------------------------------------------------------------------------------------------…
8481 -Wnon-modular-include-in-framework-module
8482 -----------------------------------------
8485--------------------------------------------------------------------------------------------------…
8486 |:warning:`warning:` |nbsp| :diagtext:`include of non-modular header inside framework module '`:pla…
8487--------------------------------------------------------------------------------------------------…
8490 -Wnon-modular-include-in-module
8491 -------------------------------
8492 Also controls `-Wnon-modular-include-in-framework-module`_.
8496 +--------------------------------------------------------------------------------------------------…
8497 |:warning:`warning:` |nbsp| :diagtext:`include of non-modular header inside module '`:placeholder:`…
8498 +--------------------------------------------------------------------------------------------------…
8501 -Wnon-pod-varargs
8502 -----------------
8503 This diagnostic is an error by default, but the flag ``-Wno-non-pod-varargs`` can be used to disabl…
8507----------------------------------------------------------------+-------------------------+-------…
8508 …p| |+-----------------------+| |nbsp| :diagtext:`type` |nbsp| :placeholder:`B` |nbsp| :diagtext:`t…
8509 | ||:diagtext:`non-POD` || …
8510 … |+-----------------------+| …
8511 | ||:diagtext:`non-trivial`|| …
8512 … |+-----------------------+| …
8514 … |+-----------------------+| …
8516 … |+-----------------------+| …
8517----------------------------------------------------------------+-------------------------+-------…
8519------------------------------------------------------+-------------------------+-----------------…
8520 … |+-----------------------+| |nbsp| :diagtext:`object of type` |nbsp| :placeholder:`B` |nbsp| :dia…
8521 | ||:diagtext:`non-POD` || …
8522 … |+-----------------------+| …
8523 | ||:diagtext:`non-trivial`|| …
8524 … |+-----------------------+| …
8526 … |+-----------------------+| …
8528 … |+-----------------------+| …
8529------------------------------------------------------+-------------------------+-----------------…
8531 +--------------------------------------------------------------------------------------------------…
8532 |:error:`error:` |nbsp| :diagtext:`second argument to 'va\_arg' is of non-POD type` |nbsp| :placeho…
8533 +--------------------------------------------------------------------------------------------------…
8535 +--------------------------------------------------------------------------------------------------…
8536 |:error:`error:` |nbsp| :diagtext:`second argument to 'va\_arg' is of ARC ownership-qualified type`…
8537 +--------------------------------------------------------------------------------------------------…
8540 -Wnon-power-of-two-alignment
8541 ----------------------------
8546 +------------------------------------------------------------------------------+
8548 +------------------------------------------------------------------------------+
8551 -Wnon-virtual-dtor
8552 ------------------
8555 +--------------------------------------------------------------------------------------------------…
8556 |:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`has virtual functions but non-virtua…
8557 +--------------------------------------------------------------------------------------------------…
8560 -Wnonnull
8561 ---------
8566 +------------------------------------------------------------------------------------------------+
8567 |:warning:`warning:` |nbsp| :diagtext:`null passed to a callee that requires a non-null argument`|
8568 +------------------------------------------------------------------------------------------------+
8570 +-----------------------------------------------------------------+----------------------+---------…
8571 …nbsp| :diagtext:`null returned from` |nbsp| |+--------------------+| |nbsp| :diagtext:`that requir…
8573 | |+--------------------+| …
8575 | |+--------------------+| …
8576 +-----------------------------------------------------------------+----------------------+---------…
8579 -Wnonportable-cfstrings
8580 -----------------------
8583 -Wnonportable-include-path
8584 --------------------------
8589 +--------------------------------------------------------------------------------------------------…
8590 |:warning:`warning:` |nbsp| :diagtext:`non-portable path to file '`:placeholder:`A`:diagtext:`'; sp…
8591 +--------------------------------------------------------------------------------------------------…
8594 -Wnonportable-system-include-path
8595 ---------------------------------
8598 +--------------------------------------------------------------------------------------------------…
8599 |:warning:`warning:` |nbsp| :diagtext:`non-portable path to file '`:placeholder:`A`:diagtext:`'; sp…
8600 +--------------------------------------------------------------------------------------------------…
8603 -Wnonportable-vector-initialization
8604 -----------------------------------
8609 +--------------------------------------------------------------------------------------------------…
8611 +--------------------------------------------------------------------------------------------------…
8614 -Wnontrivial-memaccess
8615 ----------------------
8620---------------------------+-------------------------------+--------------------------------------…
8621-----------------------------+| |nbsp| :diagtext:`this` |nbsp| :placeholder:`B` |nbsp| :diagtext:`…
8622 … ||:diagtext:`primitive-default-initialize`||
8623-----------------------------+| …
8624 … ||:diagtext:`primitive-copy` ||
8625-----------------------------+| …
8627 | |+-----------------------------+| …
8629 | |+-----------------------------+| …
8630---------------------------+-------------------------------+--------------------------------------…
8633 -Wnsconsumed-mismatch
8634 ---------------------
8639 +--------------------------------------------------------------------------------------------------…
8641 +--------------------------------------------------------------------------------------------------…
8644 -Wnsreturns-mismatch
8645 --------------------
8650 +-------------------------------------------------------------------------------------+------------…
8651 …sp| :diagtext:`overriding method has mismatched ns\_returns\_`|+-------------------------+| |nbsp|…
8653 … |+-------------------------+| …
8655 … |+-------------------------+| …
8656 +-------------------------------------------------------------------------------------+------------…
8659 -Wnull-arithmetic
8660 -----------------
8665 +--------------------------------------------------------------------------+
8667 +--------------------------------------------------------------------------+
8669 +--------------------------------------------------------------------------------------+-----------…
8670 …text:`comparison between NULL and non-pointer` |nbsp| |+------------------------------------------…
8671 … ||+---------------------------------------------------…
8673 … ||+---------------------------------------------------…
8674 … |+----------------------------------------------------…
8675 … ||+---------------------------------------------------…
8677 … ||+---------------------------------------------------…
8678 … |+----------------------------------------------------…
8679 +--------------------------------------------------------------------------------------+-----------…
8682 -Wnull-character
8683 ----------------
8688 +-----------------------------------------------------------------------------+--------------------
8689 |:warning:`warning:` |nbsp| :diagtext:`null character(s) preserved in` |nbsp| |+------------------+…
8691 | |+------------------+…
8693 | |+------------------+…
8694 +-----------------------------------------------------------------------------+--------------------
8696 +-------------------------------------------------------------+
8698 +-------------------------------------------------------------+
8701 -Wnull-conversion
8702 -----------------
8707 +---------------------------------------------------------------------+---------------------+------…
8708 |:warning:`warning:` |nbsp| :diagtext:`implicit conversion of` |nbsp| |+-------------------+| |nbsp…
8710 | |+-------------------+| …
8712 | |+-------------------+| …
8713 +---------------------------------------------------------------------+---------------------+------…
8716 -Wnull-dereference
8717 ------------------
8722 +--------------------------------------------------------------------------------------------------…
8724 +--------------------------------------------------------------------------------------------------…
8726 +--------------------------------------------------------------------------------------------------…
8727 |:warning:`warning:` |nbsp| :diagtext:`indirection of non-volatile null pointer will be deleted, no…
8728 +--------------------------------------------------------------------------------------------------…
8731 -Wnull-pointer-arithmetic
8732 -------------------------
8735 +--------------------------------------------------------------------------------------------------…
8737 +--------------------------------------------------------------------------------------------------…
8739--------------------------------------------------------------------------------------------------…
8740 …arithmetic on a null pointer has undefined behavior`|+--------------------------------------------
8742 … |+--------------------------------------------
8744 … |+--------------------------------------------
8745--------------------------------------------------------------------------------------------------…
8748 -Wnullability
8749 -------------
8754--------------------------------------------------------------------------------------------------…
8756--------------------------------------------------------------------------------------------------…
8758--------------------------------------------------------------------------------------------------…
8760--------------------------------------------------------------------------------------------------…
8762--------------------------------------------------------------------------------------------------…
8764--------------------------------------------------------------------------------------------------…
8766--------------------------------------------------------------------------------------------------…
8768--------------------------------------------------------------------------------------------------…
8770 +----------------------------------------------------------------------------------------------+
8772 +----------------------------------------------------------------------------------------------+
8775 -Wnullability-completeness
8776 --------------------------
8779 Also controls `-Wnullability-completeness-on-arrays`_.
8783---------------------------+----------------------------+-----------------------------------------…
8784 |:warning:`warning:` |nbsp| |+--------------------------+| |nbsp| :diagtext:`is missing a nullabili…
8786 | |+--------------------------+| …
8788 | |+--------------------------+| …
8790 | |+--------------------------+| …
8791---------------------------+----------------------------+-----------------------------------------…
8794 -Wnullability-completeness-on-arrays
8795 ------------------------------------
8800 +--------------------------------------------------------------------------------------------------…
8802 +--------------------------------------------------------------------------------------------------…
8805 -Wnullability-declspec
8806 ----------------------
8807 This diagnostic is an error by default, but the flag ``-Wno-nullability-declspec`` can be used to d…
8811--------------------------------------------------------------------------------------------------…
8812 … to non-pointer type` |nbsp| :placeholder:`B`:diagtext:`; did you mean to apply the specifier to t…
8814 … |+-----------------------------------+| …
8816 … |+-----------------------------------+| …
8818 … |+-----------------------------------+| …
8820 … |+-----------------------------------+| …
8822 … |+-----------------------------------+| …
8823--------------------------------------------------------------------------------------------------…
8826 -Wnullability-extension
8827 -----------------------
8830 +--------------------------------------------------------------------------------------------------…
8832 +--------------------------------------------------------------------------------------------------…
8835 -Wnullability-inferred-on-nested-type
8836 -------------------------------------
8841 +--------------------------------------------------------------------------------------------+-----…
8842 …diagtext:`inferring '\_Nonnull' for pointer type within` |nbsp| |+---------------------+| |nbsp| :…
8844 … |+---------------------+| …
8846 … |+---------------------+| …
8847 +--------------------------------------------------------------------------------------------+-----…
8850 -Wnullable-to-nonnull-conversion
8851 --------------------------------
8854--------------------------------------------------------------------------------------------------…
8855 …sion from nullable pointer` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to non-nullable pointer type…
8856--------------------------------------------------------------------------------------------------…
8859 -Wobjc-autosynthesis-property-ivar-name-match
8860 ---------------------------------------------
8865--------------------------------------------------------------------------------------------------…
8866 …ty` |nbsp| :placeholder:`A` |nbsp| :diagtext:`will use` |nbsp| |+-----------------------+| |nbsp| …
8868 … |+-----------------------+| …
8870 … |+-----------------------+| …
8871--------------------------------------------------------------------------------------------------…
8874 -Wobjc-bool-constant-conversion
8875 -------------------------------
8880--------------------------------------------------------------------------------------------------…
8882--------------------------------------------------------------------------------------------------…
8885 -Wobjc-boxing
8886 -------------
8891 +--------------------------------------------------------------------------------------------------…
8892 |:warning:`warning:` |nbsp| :diagtext:`string is ill-formed as UTF-8 and will become a null` |nbsp|…
8893 +--------------------------------------------------------------------------------------------------…
8896 -Wobjc-circular-container
8897 -------------------------
8902--------------------------------------------------------------------------------------------------…
8904--------------------------------------------------------------------------------------------------…
8907 -Wobjc-cocoa-api
8908 ----------------
8909 Synonym for `-Wobjc-redundant-api-use`_.
8912 -Wobjc-designated-initializers
8913 ------------------------------
8918 +--------------------------------------------------------------------------------------------------…
8920 +--------------------------------------------------------------------------------------------------…
8922 +--------------------------------------------------------------------------------------------------+
8923 |:warning:`warning:` |nbsp| :diagtext:`designated initializer invoked a non-designated initializer`|
8924 +--------------------------------------------------------------------------------------------------+
8926 +--------------------------------------------------------------------------------------------------…
8928 +--------------------------------------------------------------------------------------------------…
8930--------------------------------------------------------------------------------------------------…
8932--------------------------------------------------------------------------------------------------…
8934 +--------------------------------------------------------------------------------------------------…
8936 +--------------------------------------------------------------------------------------------------…
8938 +--------------------------------------------------------------------------------------------------…
8940 +--------------------------------------------------------------------------------------------------…
8943 -Wobjc-flexible-array
8944 ---------------------
8949--------------------------------------------------------------------------------------------------…
8951--------------------------------------------------------------------------------------------------…
8953--------------------------------------------------------------------------------------------------…
8955--------------------------------------------------------------------------------------------------…
8958 -Wobjc-forward-class-redefinition
8959 ---------------------------------
8964--------------------------------------------------------------------------------------------------…
8966--------------------------------------------------------------------------------------------------…
8969 -Wobjc-interface-ivars
8970 ----------------------
8973 +--------------------------------------------------------------------------------------------------…
8975 +--------------------------------------------------------------------------------------------------…
8978 -Wobjc-literal-compare
8979 ----------------------
8982 Also controls `-Wobjc-string-compare`_.
8986 +-------------------------------------------------------------------+------------------------------…
8987 …`warning:` |nbsp| :diagtext:`direct comparison of` |nbsp| |+--------------------------------+| |nb…
8989 … |+--------------------------------+| …
8991 … |+--------------------------------+| …
8993 … |+--------------------------------+| …
8995 … |+--------------------------------+| …
8997 … |+--------------------------------+| …
8998 +-------------------------------------------------------------------+------------------------------…
9001 -Wobjc-literal-conversion
9002 -------------------------
9007 +--------------------------------------------------------------------------------------------------…
9008 |:warning:`warning:` |nbsp| :diagtext:`implicit boolean conversion of Objective-C object literal al…
9009 +--------------------------------------------------------------------------------------------------…
9011--------------------------------------------------------------------------------------------------…
9012 …lder:`A` |nbsp| :diagtext:`is not compatible with` |nbsp| |+---------------------------------+| |n…
9014 … |+---------------------------------+| …
9016 … |+---------------------------------+| …
9018 … |+---------------------------------+| …
9019--------------------------------------------------------------------------------------------------…
9022 -Wobjc-macro-redefinition
9023 -------------------------
9028 +-------------------------------------------------------------------------------------------+
9029 |:warning:`warning:` |nbsp| :diagtext:`ignoring redefinition of Objective-C qualifier macro`|
9030 +-------------------------------------------------------------------------------------------+
9033 -Wobjc-messaging-id
9034 -------------------
9037 +---------------------------------------------------------------+
9039 +---------------------------------------------------------------+
9042 -Wobjc-method-access
9043 --------------------
9048 +--------------------------------------------------------------------------------------------------…
9050 +--------------------------------------------------------------------------------------------------…
9052--------------------------------------------------------------------------------------------------…
9054--------------------------------------------------------------------------------------------------…
9056 +--------------------------------------------------------------------------------------------------…
9058 +--------------------------------------------------------------------------------------------------…
9060--------------------------------------------------------------------------------------------------…
9062--------------------------------------------------------------------------------------------------…
9064 +--------------------------------------------------------------------------------------------------…
9066 +--------------------------------------------------------------------------------------------------…
9068--------------------------------------------------------------------------------------------------…
9070--------------------------------------------------------------------------------------------------…
9073 -Wobjc-missing-property-synthesis
9074 ---------------------------------
9077 +--------------------------------------------------------------------------------------------------…
9079 +--------------------------------------------------------------------------------------------------…
9082 -Wobjc-missing-super-calls
9083 --------------------------
9088 +--------------------------------------------------------------------------------------------------…
9090 +--------------------------------------------------------------------------------------------------…
9093 -Wobjc-multiple-method-names
9094 ----------------------------
9099 +--------------------------------------------------------------------------------------------------…
9101 +--------------------------------------------------------------------------------------------------…
9104 -Wobjc-noncopy-retain-block-property
9105 ------------------------------------
9110 +--------------------------------------------------------------------------------------------------…
9111 |:warning:`warning:` |nbsp| :diagtext:`retain'ed block property does not copy the block - use copy …
9112 +--------------------------------------------------------------------------------------------------…
9115 -Wobjc-nonunified-exceptions
9116 ----------------------------
9121 +--------------------------------------------------------------------------------------------------…
9122 …p| :diagtext:`cannot catch an exception thrown with @throw in C++ in the non-unified exception mod…
9123 +--------------------------------------------------------------------------------------------------…
9126 -Wobjc-property-assign-on-object-type
9127 -------------------------------------
9130 +--------------------------------------------------------------------------------------------------…
9132 +--------------------------------------------------------------------------------------------------…
9135 -Wobjc-property-implementation
9136 ------------------------------
9141--------------------------------------------------------------------------------------------------…
9142 …t:`requires method` |nbsp| :placeholder:`B` |nbsp| :diagtext:`to be defined - use @dynamic or prov…
9143--------------------------------------------------------------------------------------------------…
9145--------------------------------------------------------------------------------------------------…
9146 …t:`requires method` |nbsp| :placeholder:`B` |nbsp| :diagtext:`to be defined - use @dynamic or prov…
9147--------------------------------------------------------------------------------------------------…
9149--------------------------------------------------------------------------------------------------…
9150 …t:`requires method` |nbsp| :placeholder:`B` |nbsp| :diagtext:`to be defined - use @synthesize, @dy…
9151--------------------------------------------------------------------------------------------------…
9153--------------------------------------------------------------------------------------------------…
9154 …t:`requires method` |nbsp| :placeholder:`B` |nbsp| :diagtext:`to be defined - use @dynamic or prov…
9155--------------------------------------------------------------------------------------------------…
9158 -Wobjc-property-implicit-mismatch
9159 ---------------------------------
9164 +--------------------------------------------------------------------------------------------------…
9166 +--------------------------------------------------------------------------------------------------…
9169 -Wobjc-property-matches-cocoa-ownership-rule
9170 --------------------------------------------
9175 +--------------------------------------------------------------------------------------------------…
9177 +--------------------------------------------------------------------------------------------------…
9180 -Wobjc-property-no-attribute
9181 ----------------------------
9186 +--------------------------------------------------------------------------------------------------…
9188 +--------------------------------------------------------------------------------------------------…
9190 +--------------------------------------------------------------------------------------------------…
9191 |:warning:`warning:` |nbsp| :diagtext:`no 'assign', 'retain', or 'copy' attribute is specified - 'a…
9192 +--------------------------------------------------------------------------------------------------…
9195 -Wobjc-property-synthesis
9196 -------------------------
9201--------------------------------------------------------------------------------------------------…
9203--------------------------------------------------------------------------------------------------…
9205--------------------------------------------------------------------------------------------------…
9207--------------------------------------------------------------------------------------------------…
9209--------------------------------------------------------------------------------------------------…
9211--------------------------------------------------------------------------------------------------…
9214 -Wobjc-protocol-method-implementation
9215 -------------------------------------
9220 +--------------------------------------------------------------------------------------------------…
9222 +--------------------------------------------------------------------------------------------------…
9225 -Wobjc-protocol-property-synthesis
9226 ----------------------------------
9231--------------------------------------------------------------------------------------------------…
9233--------------------------------------------------------------------------------------------------…
9236 -Wobjc-protocol-qualifiers
9237 --------------------------
9242--------------------------------------------------------------------------------------------------…
9244--------------------------------------------------------------------------------------------------…
9247 -Wobjc-readonly-with-setter-property
9248 ------------------------------------
9253 +-----------------------------------------------------------------------------------------+
9255 +-----------------------------------------------------------------------------------------+
9258 -Wobjc-redundant-api-use
9259 ------------------------
9260 Synonym for `-Wobjc-redundant-literal-use`_.
9263 -Wobjc-redundant-literal-use
9264 ----------------------------
9269 +--------------------------------------------------------------------------------------------------…
9271 +--------------------------------------------------------------------------------------------------…
9274 -Wobjc-root-class
9275 -----------------
9280 +--------------------------------------------------------------------------------------------------…
9282 +--------------------------------------------------------------------------------------------------…
9285 -Wobjc-signed-char-bool
9286 -----------------------
9289-Wobjc-bool-constant-conversion`_, `-Wobjc-signed-char-bool-implicit-float-conversion`_, `-Wobjc-s…
9292 -Wobjc-signed-char-bool-implicit-float-conversion
9293 -------------------------------------------------
9298 +--------------------------------------------------------------------------------------------------…
9299 |:warning:`warning:` |nbsp| :diagtext:`implicit conversion from floating-point type` |nbsp| :placeh…
9300 +--------------------------------------------------------------------------------------------------…
9303 -Wobjc-signed-char-bool-implicit-int-conversion
9304 -----------------------------------------------
9307 +--------------------------------------------------------------------------------------------------…
9309 +--------------------------------------------------------------------------------------------------…
9312 -Wobjc-string-compare
9313 ---------------------
9318 +--------------------------------------------------------------------------------------------------…
9320 +--------------------------------------------------------------------------------------------------…
9323 -Wobjc-string-concatenation
9324 ---------------------------
9329 +--------------------------------------------------------------------------------------------------…
9330 |:warning:`warning:` |nbsp| :diagtext:`concatenated NSString literal for an NSArray expression - po…
9331 +--------------------------------------------------------------------------------------------------…
9334 -Wobjc-unsafe-perform-selector
9335 ------------------------------
9340--------------------------------------------------------------------------------------------------…
9341 … :diagtext:`is incompatible with selectors that return a` |nbsp| |+------------------+| |nbsp| :di…
9343 … |+------------------+| …
9345 … |+------------------+| …
9347 … |+------------------+| …
9348--------------------------------------------------------------------------------------------------…
9351 -Wodr
9352 -----
9357--------------------------------------------------------------------------------------------------…
9359--------------------------------------------------------------------------------------------------…
9361 +--------------------------------------------------------------------------------------------------…
9363 +--------------------------------------------------------------------------------------------------…
9365--------------------------------------------------------------------------------------------------…
9367--------------------------------------------------------------------------------------------------…
9369--------------------------------------------------------------------------------------------------…
9371--------------------------------------------------------------------------------------------------…
9373--------------------------------------------------------------------------------------------------…
9375--------------------------------------------------------------------------------------------------…
9377--------------------------------------------------------------------------------------------------…
9378 |:warning:`warning:` |nbsp| :diagtext:`non-type template parameter declared with incompatible types…
9379--------------------------------------------------------------------------------------------------…
9381---------------------------+----------------------+-----------------------------------------------…
9382 |:warning:`warning:` |nbsp| |+--------------------+| |nbsp| :diagtext:`method` |nbsp| :placeholder:…
9384 | |+--------------------+| …
9386 | |+--------------------+| …
9387---------------------------+----------------------+-----------------------------------------------…
9389---------------------------+----------------------+-----------------------------------------------…
9390 |:warning:`warning:` |nbsp| |+--------------------+| |nbsp| :diagtext:`method` |nbsp| :placeholder:…
9392 | |+--------------------+| …
9394 | |+--------------------+| …
9395---------------------------+----------------------+-----------------------------------------------…
9397---------------------------+----------------------+-----------------------------------------------…
9398 |:warning:`warning:` |nbsp| |+--------------------+| |nbsp| :diagtext:`method` |nbsp| :placeholder:…
9400 | |+--------------------+| …
9402 | |+--------------------+| …
9403---------------------------+----------------------+-----------------------------------------------…
9405---------------------------+----------------------+-----------------------------------------------…
9406 |:warning:`warning:` |nbsp| |+--------------------+| |nbsp| :diagtext:`method` |nbsp| :placeholder:…
9408 | |+--------------------+| …
9410 | |+--------------------+| …
9411---------------------------+----------------------+-----------------------------------------------…
9413--------------------------------------------------------------------------------------------------…
9414 …mplemented with` |nbsp| |+-----------------------+| |nbsp| :diagtext:`in one translation but` |nbs…
9416 … |+-----------------------+| …
9418 … |+-----------------------+| …
9419--------------------------------------------------------------------------------------------------…
9421--------------------------------------------------------------------------------------------------…
9423--------------------------------------------------------------------------------------------------…
9425 +--------------------------------------------------------------------------------------------------…
9427 +--------------------------------------------------------------------------------------------------…
9429--------------------------------------------------------------------------------------------------…
9431--------------------------------------------------------------------------------------------------…
9433 +------------------------------------------------------------------------------------+-------------…
9434 …` |nbsp| :diagtext:`parameter kind mismatch; parameter is` |nbsp| |+-----------------+| |nbsp| :di…
9436 … |+-----------------+| …
9438 … |+-----------------+| …
9439 +------------------------------------------------------------------------------------+-------------…
9441 +--------------------------------------------------------------------------------------------------…
9443 +--------------------------------------------------------------------------------------------------…
9445 +--------------------------------------------------------------------------------------------------…
9447 +--------------------------------------------------------------------------------------------------…
9449--------------------------------------------------------------------------------------------------…
9451--------------------------------------------------------------------------------------------------…
9454 -Wold-style-cast
9455 ----------------
9458 +------------------------------------------------------------+
9459 |:warning:`warning:` |nbsp| :diagtext:`use of old-style cast`|
9460 +------------------------------------------------------------+
9463 -Wold-style-definition
9464 ----------------------
9467 -Wopencl-unsupported-rgba
9468 -------------------------
9473 +--------------------------------------------------------------------------------------------------…
9475 +--------------------------------------------------------------------------------------------------…
9478 -Wopenmp
9479 --------
9482 Controls `-Wopenmp-clauses`_, `-Wopenmp-loop-form`_, `-Wopenmp-mapping`_, `-Wopenmp-target`_, `-Wso…
9485 -Wopenmp-clauses
9486 ----------------
9491 +--------------------------------------------------------------------------------------------------…
9493 +--------------------------------------------------------------------------------------------------…
9495 +--------------------------------------------------------------------------------------------------…
9497 +--------------------------------------------------------------------------------------------------…
9499--------------------------------------------------------------------------------------------------…
9501--------------------------------------------------------------------------------------------------…
9503--------------------------------------------------------------------------------------------------…
9505--------------------------------------------------------------------------------------------------…
9507--------------------------------------------------------------------------------------------------…
9509--------------------------------------------------------------------------------------------------…
9511--------------------------------------------------------------------------------------------------…
9513--------------------------------------------------------------------------------------------------…
9515----------------------------------------------------------+----------------------+----------------…
9516--------------------+| |nbsp| :diagtext:`'`:placeholder:`B`:diagtext:`' was used already in the sa…
9518--------------------+| …
9520--------------------+| …
9522--------------------+| …
9523----------------------------------------------------------+----------------------+----------------…
9525--------------------------------------------------------------------------------------------------…
9527--------------------------------------------------------------------------------------------------…
9529--------------------------------------------------------------------------------------------------…
9531--------------------------------------------------------------------------------------------------…
9533 +--------------------------------------------------------------------------------------------------…
9535 +--------------------------------------------------------------------------------------------------…
9537--------------------------------------------------------------------------------------------------…
9539--------------------------------------------------------------------------------------------------…
9541--------------------------------------------------------------------------------------------------…
9542 …ring literal describing a context` |nbsp| |+--------------------+|:diagtext:`;` |nbsp| |+---------…
9544 … |+--------------------+| |+---------…
9546 … |+--------------------+| |+---------…
9548 … |+--------------------+| |+---------…
9549--------------------------------------------------------------------------------------------------…
9551---------------------------------------------------------------------------------+----------------…
9552 …gtext:`zero linear step (`:placeholder:`A` |nbsp| |+----------------------------------------------…
9554 … |+----------------------------------------------…
9556 … |+----------------------------------------------…
9557---------------------------------------------------------------------------------+----------------…
9559 +---------------------------------------------------------------------------------------+
9561 +---------------------------------------------------------------------------------------+
9563---------------------------------------------------------------------------+----------------------…
9564 …+--------------------------------------------+| |nbsp| :diagtext:`allocator while previously used`…
9566 …+--------------------------------------------+| …
9567 …|+------------------------------------------+|| …
9569 …|+------------------------------------------+|| …
9570 …+--------------------------------------------+| …
9571---------------------------------------------------------------------------+----------------------…
9574 -Wopenmp-loop-form
9575 ------------------
9580 +--------------------------------------------------------------------------------------------------…
9582 +--------------------------------------------------------------------------------------------------…
9584 +--------------------------------------------------------------------------------------------------…
9586 +--------------------------------------------------------------------------------------------------…
9589 -Wopenmp-mapping
9590 ----------------
9595--------------------------------------------------------------------------------------------------…
9597--------------------------------------------------------------------------------------------------…
9600 -Wopenmp-target
9601 ---------------
9604 Also controls `-Wopenmp-mapping`_.
9608--------------------------------------------------------------------------------------------------…
9609 …gtext:`' is similar to target '`:placeholder:`B`:diagtext:`' already specified - will be ignored.`|
9610--------------------------------------------------------------------------------------------------…
9612--------------------------------------------------------------------------------------------------…
9614--------------------------------------------------------------------------------------------------…
9616 +--------------------------------------------------------------------------------------------------…
9618 +--------------------------------------------------------------------------------------------------…
9620 +-----------------------------------------------------------------------------------------------+
9622 +-----------------------------------------------------------------------------------------------+
9625 -Woption-ignored
9626 ----------------
9631 +--------------------------------------------------------------------------------------------------…
9632 |:warning:`warning:` |nbsp| :diagtext:`option '-ffine-grained-bitfield-accesses' cannot be enabled …
9633 +--------------------------------------------------------------------------------------------------…
9635 +--------------------------------------------------------------------------------------------------…
9636 …:diagtext:`The '`:placeholder:`A`:diagtext:`' architecture does not support -moutline; flag ignore…
9637 +--------------------------------------------------------------------------------------------------…
9639 +--------------------------------------------------------------------------------------------------…
9640 … :diagtext:`option '`:placeholder:`A`:diagtext:`' was ignored by the PS4 toolchain, using '-fPIC'`|
9641 +--------------------------------------------------------------------------------------------------…
9643--------------------------------------------------------------------------------------------------…
9644 …xt:`ignoring '-mlong-calls' option as it is not currently supported with` |nbsp| |+---------------…
9646 … |+-----------------------------------------+…
9648 … |+-----------------------------------------+…
9649--------------------------------------------------------------------------------------------------…
9651--------------------------------------------------------------------------------------------------…
9652 …text:`' option as it cannot be used with` |nbsp| |+-----------------------------+| |nbsp| :diagtex…
9654 … |+-----------------------------+| …
9656 … |+-----------------------------+| …
9657--------------------------------------------------------------------------------------------------…
9659 +--------------------------------------------------------------------------------------------------…
9660 |:warning:`warning:` |nbsp| :diagtext:`ignoring '-msmall-data-limit=' with -mcmodel=large for -fpic…
9661 +--------------------------------------------------------------------------------------------------…
9663 +----------------------------------------------------------------------------------------------+
9664 |:warning:`warning:` |nbsp| :diagtext:`auto-vectorization requires HVX, use -mhvx to enable it`|
9665 +----------------------------------------------------------------------------------------------+
9668 -Wordered-compare-function-pointers
9669 -----------------------------------
9674--------------------------------------------------------------------------------------------------…
9676--------------------------------------------------------------------------------------------------…
9679 -Wout-of-line-declaration
9680 -------------------------
9681 This diagnostic is an error by default, but the flag ``-Wno-out-of-line-declaration`` can be used t…
9685 +-------------------------------------------------------------------------------------------+
9686 |:error:`error:` |nbsp| :diagtext:`out-of-line declaration of a member must be a definition`|
9687 +-------------------------------------------------------------------------------------------+
9690 -Wout-of-scope-function
9691 -----------------------
9696-------------------------------------------------------------------------------------------------+
9697 …e of out-of-scope declaration of` |nbsp| :placeholder:`A`|+---------------------------------------…
9699 … |+----------------------------------------------------------------…
9701 … |+----------------------------------------------------------------…
9702-------------------------------------------------------------------------------------------------+
9705 -Wover-aligned
9706 --------------
9709--------------------------------------------------------------------------------------------------…
9711--------------------------------------------------------------------------------------------------…
9714 -Woverflow
9715 ----------
9718 -Woverlength-strings
9719 --------------------
9722--------------------------------------------------------------------------------------------------…
9723 …m length` |nbsp| :placeholder:`B` |nbsp| :diagtext:`that` |nbsp| |+-------------------+| |nbsp| :d…
9725 … |+-------------------+| …
9727 … |+-------------------+| …
9729 … |+-------------------+| …
9730--------------------------------------------------------------------------------------------------…
9733 -Woverloaded-shift-op-parentheses
9734 ---------------------------------
9739 +------------------------------------------------------------------+----------------+--------------…
9740 |:warning:`warning:` |nbsp| :diagtext:`overloaded operator` |nbsp| |+--------------+| |nbsp| :diagt…
9742 | |+--------------+| …
9744 | |+--------------+| …
9745 +------------------------------------------------------------------+----------------+--------------…
9748 -Woverloaded-virtual
9749 --------------------
9752 +-----------------------------------------------------------------------------------------------+--…
9753 …nbsp| :placeholder:`A` |nbsp| :diagtext:`hides overloaded virtual` |nbsp| |+---------------------+|
9755 … |+---------------------+|
9757 … |+---------------------+|
9758 +-----------------------------------------------------------------------------------------------+--…
9761 -Woverride-init
9762 ---------------
9763 Synonym for `-Winitializer-overrides`_.
9766 -Woverride-module
9767 -----------------
9772 +--------------------------------------------------------------------------------------------------…
9774 +--------------------------------------------------------------------------------------------------…
9777 -Woverriding-method-mismatch
9778 ----------------------------
9781 +--------------------------------------------------------------------------------------------------…
9783 +--------------------------------------------------------------------------------------------------…
9785 +--------------------------------------------------------------------------------------------------…
9787 +--------------------------------------------------------------------------------------------------…
9789 +--------------------------------------------------------------------------------------------------…
9791 +--------------------------------------------------------------------------------------------------…
9793 +--------------------------------------------------------------------------------------------------…
9795 +--------------------------------------------------------------------------------------------------…
9797 +--------------------------------------------------------------------------------------------------…
9799 +--------------------------------------------------------------------------------------------------…
9801--------------------------------------------------------------------------------------------------…
9803--------------------------------------------------------------------------------------------------…
9805--------------------------------------------------------------------------------------------------…
9807--------------------------------------------------------------------------------------------------…
9810 -Woverriding-t-option
9811 ---------------------
9816 +--------------------------------------------------------------------------------------------------…
9818 +--------------------------------------------------------------------------------------------------…
9821 -Wpacked
9822 --------
9825 +--------------------------------------------------------------------------------------------------+
9827 +--------------------------------------------------------------------------------------------------+
9830 -Wpadded
9831 --------
9834------------------------------------------------------+-----------------------+-------------------…
9835---------------------+| |nbsp| :placeholder:`B` |nbsp| :diagtext:`with` |nbsp| :placeholder:`C` |n…
9837 … |+---------------------+| …
9839 … |+---------------------+| …
9841 | |+---------------------+| …
9842------------------------------------------------------+-----------------------+-------------------…
9844------------------------------------------------------+-----------------------+-------------------…
9845 …nbsp| |+---------------------+| |nbsp| :placeholder:`B` |nbsp| :diagtext:`with` |nbsp| :placeholde…
9847 … |+---------------------+| …
9849 … |+---------------------+| …
9851 | |+---------------------+| …
9852------------------------------------------------------+-----------------------+-------------------…
9854--------------------------------------------------------------------------------------------------…
9855 …A` |nbsp| :diagtext:`with` |nbsp| :placeholder:`B` |nbsp| |+----------------+|+-------------+| |nb…
9857 … |+----------------+|+-------------+| …
9859 … |+----------------+|+-------------+| …
9860--------------------------------------------------------------------------------------------------…
9863 -Wparentheses
9864 -------------
9867-Wbitwise-conditional-parentheses`_, `-Wbitwise-op-parentheses`_, `-Wdangling-else`_, `-Wlogical-n…
9871 +--------------------------------------------------------------------------------------------------…
9873 +--------------------------------------------------------------------------------------------------…
9875--------------------------------------------------------------------------------------------------…
9877--------------------------------------------------------------------------------------------------…
9879--------------------------------------------------------------------------------------------------…
9881--------------------------------------------------------------------------------------------------…
9884 -Wparentheses-equality
9885 ----------------------
9890 +--------------------------------------------------------------------------------------+
9892 +--------------------------------------------------------------------------------------+
9895 -Wpartial-availability
9896 ----------------------
9897 Synonym for `-Wunguarded-availability`_.
9900 -Rpass
9901 ------
9907 -Rpass-analysis
9908 ---------------
9913--------------------------------------------------------------------------------------------------…
9915--------------------------------------------------------------------------------------------------…
9917--------------------------------------------------------------------------------------------------…
9918 … clang loop vectorize(enable)' before the loop or by providing the compiler option '-ffast-math'.`|
9919--------------------------------------------------------------------------------------------------…
9922 -Wpass-failed
9923 -------------
9931 -Rpass-missed
9932 -------------
9938 -Wpch-date-time
9939 ---------------
9944 +---------------------------+--------------------------------+-------------------------------------…
9945 |:warning:`warning:` |nbsp| |+------------------------------+| |nbsp| :diagtext:`uses \_\_DATE\_\_ …
9947 | |+------------------------------+| …
9949 | |+------------------------------+| …
9950 +---------------------------+--------------------------------+-------------------------------------…
9953 -Wpedantic
9954 ----------
9955-Wc++11-extra-semi`_, `-Wc++11-long-long`_, `-Wc++14-binary-literal`_, `-Wc++20-designator`_, `-Wc…
9959 +--------------------------------------------------------------------------------------------------…
9961 +--------------------------------------------------------------------------------------------------…
9963 +------------------------------------------------------------------------+
9965 +------------------------------------------------------------------------+
9967 +--------------------------------------------------------------------------+
9969 +--------------------------------------------------------------------------+
9971 +--------------------------------------------------------------------------------+
9973 +--------------------------------------------------------------------------------+
9975 +--------------------------------------------------------------------------------------------+
9977 +--------------------------------------------------------------------------------------------+
9979--------------------------------------------------------------------------------------------------…
9980 …C` |nbsp| :diagtext:`when binding a reference to a temporary; was` |nbsp| |+---------------------+|
9982 … |+---------------------+|
9984 … |+---------------------+|
9985--------------------------------------------------------------------------------------------------…
9987 +--------------------------------------------------------+--------------------+--------------------…
9988 |:warning:`warning:` |nbsp| :diagtext:`anonymous` |nbsp| |+------------------+| |nbsp| :diagtext:`c…
9990 | |+------------------+| …
9992 | |+------------------+| …
9993 +--------------------------------------------------------+--------------------+--------------------…
9995 +--------------------------------------------------------------------------------------------------…
9997 +--------------------------------------------------------------------------------------------------…
9999 +--------------------------------------------------------------------------------------------------…
10001 +--------------------------------------------------------------------------------------------------…
10003--------------------------------------------------------------------+-----------------------------…
10004 …|nbsp| :diagtext:`no viable constructor` |nbsp| |+------------------------------------------------…
10006 … |+------------------------------------------------…
10008 … |+------------------------------------------------…
10010 … |+------------------------------------------------…
10012 … |+------------------------------------------------…
10014 … |+------------------------------------------------…
10016 … |+------------------------------------------------…
10018 … |+------------------------------------------------…
10020 … |+------------------------------------------------…
10022 … |+------------------------------------------------…
10024 … |+------------------------------------------------…
10026 … |+------------------------------------------------…
10028 … |+------------------------------------------------…
10029--------------------------------------------------------------------+-----------------------------…
10031--------------------------------------------------------------------------------------------------…
10032 …low new expression for type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to use list-initialization`|
10033--------------------------------------------------------------------------------------------------…
10035 +--------------------------------------------------------------------------------------------------…
10037 +--------------------------------------------------------------------------------------------------…
10039 +--------------------------------------------------------------------------------------------------…
10041 +--------------------------------------------------------------------------------------------------…
10043--------------------------------------------------------------------------------------------------…
10044 …tantiation of` |nbsp| :placeholder:`A` |nbsp| :diagtext:`requires a template-id (a typedef is not …
10045--------------------------------------------------------------------------------------------------…
10047-----------------------------------------------------+----------------------+---------------------…
10048 |:warning:`warning:` |nbsp| :diagtext:`static` |nbsp| |+--------------------+| |nbsp| :placeholder:…
10050 | |+--------------------+| …
10052 | |+--------------------+| …
10053-----------------------------------------------------+----------------------+---------------------…
10055 +---------------------------------------------------------------------------------------+
10057 +---------------------------------------------------------------------------------------+
10059--------------------------------------------------------------------------------------------------…
10060 …ange of 'int' (`:placeholder:`A` |nbsp| :diagtext:`is too` |nbsp| |+-----------------+|:diagtext:`…
10062 … |+-----------------+| …
10064 … |+-----------------+| …
10065--------------------------------------------------------------------------------------------------…
10067 +--------------------------------------------------------------------------------------------------+
10069 +--------------------------------------------------------------------------------------------------+
10071 +-----------------------------------------------------------------------------------------------+
10072 |:warning:`warning:` |nbsp| :diagtext:`initializer for aggregate is not a compile-time constant`|
10073 +-----------------------------------------------------------------------------------------------+
10075 +-------------------------------------------------------------------------------+
10077 +-------------------------------------------------------------------------------+
10079 +---------------------------------------------------------------+----------------------------------…
10080 …ing:` |nbsp| :diagtext:`invalid application of '`|+-----------------------------------------------…
10082 … |+-----------------------------------------------…
10084 … |+-----------------------------------------------…
10086 … |+-----------------------------------------------…
10088 … |+-----------------------------------------------…
10090 … |+-----------------------------------------------…
10091 +---------------------------------------------------------------+----------------------------------…
10093 +---------------------------------------------------------------+----------------------------------…
10094 …ing:` |nbsp| :diagtext:`invalid application of '`|+-----------------------------------------------…
10096 … |+-----------------------------------------------…
10098 … |+-----------------------------------------------…
10100 … |+-----------------------------------------------…
10102 … |+-----------------------------------------------…
10104 … |+-----------------------------------------------…
10105 +---------------------------------------------------------------+----------------------------------…
10107 +-------------------------------------------------------------------------------------------+
10108 |:warning:`warning:` |nbsp| :diagtext:`ISO C90 does not allow subscripting non-lvalue array`|
10109 +-------------------------------------------------------------------------------------------+
10111 +----------------------------------------------------------------------------------------+
10113 +----------------------------------------------------------------------------------------+
10115 +--------------------------------------------------------------------------------------------------…
10117 +--------------------------------------------------------------------------------------------------…
10119--------------------------------------------------------------------------------------------------…
10121--------------------------------------------------------------------------------------------------…
10123--------------------------------------------------------------------------------------------------…
10125--------------------------------------------------------------------------------------------------…
10127----------------------------------------------------+-----------------------+---------------------…
10128 …warning:` |nbsp| :diagtext:`arithmetic on`|+---------------------+| |nbsp| :diagtext:`pointer`|+--…
10130 … |+---------------------+| |+--…
10132 … |+---------------------+| |+--…
10133----------------------------------------------------+-----------------------+---------------------…
10135----------------------------------------------------+-----------------------+---------------------…
10136---------------------+| |nbsp| :diagtext:`pointer`|+-------------+| |nbsp| :diagtext:`to`|+-------…
10138---------------------+| |+-------------+| |+-------…
10139 … ||:diagtext:`s`|| ||+---------------------------------------------…
10140---------------------+| |+-------------+| |+-------…
10141 … | | ||+---------------------------------------------…
10142 … | | |+----------------------------------------------…
10143----------------------------------------------------+-----------------------+---------------------…
10145 +--------------------------------------------------------------------------------------------------…
10146 |:warning:`warning:` |nbsp| :diagtext:`ISO C does not support '++'/'--' on complex integer type` |n…
10147 +--------------------------------------------------------------------------------------------------…
10149 +--------------------------------------------------------------------------------------------------…
10151 +--------------------------------------------------------------------------------------------------…
10153 +--------------------------------------------------------------------------------------------------…
10155 +--------------------------------------------------------------------------------------------------…
10157 +--------------------------------------------------------------------------------------------------…
10158 |:warning:`warning:` |nbsp| :diagtext:`cast between pointer-to-function and pointer-to-object is an…
10159 +--------------------------------------------------------------------------------------------------…
10161--------------------------------------------------------------------------------------------------…
10162 … of type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| |+-----------------------+| |nbsp| …
10164 … |+-----------------------+| …
10166 … |+-----------------------+| …
10167--------------------------------------------------------------------------------------------------…
10169---------------------------+----------------------------------------------------------------+-----…
10170 |:warning:`warning:` |nbsp| |+--------------------------------------------------------------+| |nbs…
10172 | |+--------------------------------------------------------------+| …
10174 | |+--------------------------------------------------------------+| …
10176 | |+--------------------------------------------------------------+| …
10178 | |+--------------------------------------------------------------+| …
10180 | |+--------------------------------------------------------------+| …
10182 | |+--------------------------------------------------------------+| …
10184 | |+--------------------------------------------------------------+| …
10185---------------------------+----------------------------------------------------------------+-----…
10187--------------------------------------------------------------------------------------------------…
10189--------------------------------------------------------------------------------------------------…
10191 +--------------------------------------------------------------------------------------------------+
10193 +--------------------------------------------------------------------------------------------------+
10195 +--------------------------------------------------------------------------------------------------…
10197 +--------------------------------------------------------------------------------------------------…
10199 +--------------------------------------------------------------------------------------------------…
10201 +--------------------------------------------------------------------------------------------------…
10203 +--------------------------------------------------------------------------------------------------…
10205 +--------------------------------------------------------------------------------------------------…
10207 +--------------------------------------------------------------------------------------------------…
10209 +--------------------------------------------------------------------------------------------------…
10211 +-----------------------------------------------------------------------------+--------------------
10212 |:warning:`warning:` |nbsp| :diagtext:`types declared in an anonymous` |nbsp| |+------------------+…
10214 | |+------------------+…
10216 | |+------------------+…
10217 +-----------------------------------------------------------------------------+--------------------
10219--------------------------------------------------------------------------------------------------…
10220 …aceholder:`A` |nbsp| :diagtext:`but the argument has` |nbsp| |+---------------------------+| |nbsp…
10222 … |+---------------------------+| …
10224 … |+---------------------------+| …
10225--------------------------------------------------------------------------------------------------…
10227---------------------------------------------------+----------------------+-----------------------…
10228 |:warning:`warning:` |nbsp| :diagtext:`void` |nbsp| |+--------------------+| |nbsp| :placeholder:`A…
10230 | |+--------------------+| …
10232 | |+--------------------+| …
10234 | |+--------------------+| …
10235---------------------------------------------------+----------------------+-----------------------…
10237 +---------------------------+----------------------------------+------------------------------+----…
10238 |:warning:`warning:` |nbsp| |+--------------------------------+|:diagtext:`array size` |nbsp| |+---…
10240 | |+--------------------------------+| |+---…
10242 | |+--------------------------------+| |+---…
10244 | |+--------------------------------+| |+---…
10245 +---------------------------+----------------------------------+------------------------------+----…
10247 +--------------------------------------------------------+-----------------------------------------…
10248 …ing:`warning:` |nbsp| :diagtext:`extra ';'` |nbsp| |+---------------------------------------------…
10250 … |+---------------------------------------------…
10251 … ||+--------------------------------------------
10253 … ||+--------------------------------------------
10254 … |+---------------------------------------------…
10256 … |+---------------------------------------------…
10258 … |+---------------------------------------------…
10259 +--------------------------------------------------------+-----------------------------------------…
10261 +-----------------------------------------------------------------------------------------+
10263 +-----------------------------------------------------------------------------------------+
10265 +----------------------------------------------------------------------------------------+
10266 |:warning:`warning:` |nbsp| :diagtext:`type-less parameter names in function declaration`|
10267 +----------------------------------------------------------------------------------------+
10269 +-------------------------------------------------------------------------------------------------+
10270 |:warning:`warning:` |nbsp| :diagtext:`variable declaration in for loop is a C99-specific feature`|
10271 +-------------------------------------------------------------------------------------------------+
10273 +-----------------------------------------------------------------------------------+
10274 |:warning:`warning:` |nbsp| :diagtext:`compound literals are a C99-specific feature`|
10275 +-----------------------------------------------------------------------------------+
10277 +--------------------------------------------------------------------------------------------------…
10278 |:warning:`warning:` |nbsp| :diagtext:`commas at the end of enumerator lists are a C99-specific fea…
10279 +--------------------------------------------------------------------------------------------------…
10281 +--------------------------------------------------------------------------------------------------+
10283 +--------------------------------------------------------------------------------------------------+
10285 +--------------------------------------------------------------------------------------------------…
10287 +--------------------------------------------------------------------------------------------------…
10289 +----------------------------------------------------------------------------------------+
10291 +----------------------------------------------------------------------------------------+
10293 +-----------------------------------------------------------------------+
10295 +-----------------------------------------------------------------------+
10297 +------------------------------------------------------------------------------------------------+
10299 +------------------------------------------------------------------------------------------------+
10301 +------------------------------------------------------------+---------------------------+---------…
10302 |:warning:`warning:` |nbsp| :diagtext:`attributes on` |nbsp| |+-------------------------+| |nbsp| :…
10304 | |+-------------------------+| …
10306 | |+-------------------------+| …
10307 +------------------------------------------------------------+---------------------------+---------…
10309 +-----------------------------------------------------------------------------+
10311 +-----------------------------------------------------------------------------+
10313 +------------------------------------------------------------+
10314 |:warning:`warning:` |nbsp| :diagtext:`multi-line // comment`|
10315 +------------------------------------------------------------+
10317 +-----------------------------------------------------------------------------------+
10319 +-----------------------------------------------------------------------------------+
10321 +----------------------------------------------------------------+
10323 +----------------------------------------------------------------+
10325 +--------------------------------------------------------------------------------------------------…
10326 |:warning:`warning:` |nbsp| :diagtext:`use of non-standard escape character '\\`:placeholder:`A`:di…
10327 +--------------------------------------------------------------------------------------------------…
10329 +---------------------------------------------------------------------------------------+
10331 +---------------------------------------------------------------------------------------+
10333 +----------------------------------------------------------------------------------------+
10335 +----------------------------------------------------------------------------------------+
10337 +---------------------------------------------------------------------+
10339 +---------------------------------------------------------------------+
10341 +-----------------------------------------------------------------------+
10343 +-----------------------------------------------------------------------+
10345 +-----------------------------------------------------------------------+
10347 +-----------------------------------------------------------------------+
10349 +--------------------------------------------------------------------------------------------------…
10351 +--------------------------------------------------------------------------------------------------…
10353 +------------------------------------------------------------------------+
10355 +------------------------------------------------------------------------+
10357 +--------------------------------------------------------------------------------+
10359 +--------------------------------------------------------------------------------+
10361 +------------------------------------------------------------------------------+
10363 +------------------------------------------------------------------------------+
10365 +--------------------------------------------------------------------------------------+
10367 +--------------------------------------------------------------------------------------+
10369 +--------------------------------------------------------------------------------------------------…
10371 +--------------------------------------------------------------------------------------------------…
10373 +-------------------------------------------------------------------------------------------------+
10375 +-------------------------------------------------------------------------------------------------+
10378 -Wpedantic-core-features
10379 ------------------------
10382--------------------------------------------------------------------------------------------------…
10383 … :placeholder:`A` |nbsp| :diagtext:`is core feature or supported optional core feature - ignoring`|
10384--------------------------------------------------------------------------------------------------…
10387 -Wpessimizing-move
10388 ------------------
10391 +--------------------------------------------------------------------------------------+
10393 +--------------------------------------------------------------------------------------+
10395 +--------------------------------------------------------------------------------------------------…
10397 +--------------------------------------------------------------------------------------------------…
10400 -Wpointer-arith
10401 ---------------
10406----------------------------------------------------+-----------------------+---------------------…
10407---------------------+| |nbsp| :diagtext:`pointer`|+-------------+| |nbsp| :diagtext:`to`|+-------…
10409---------------------+| |+-------------+| |+-------…
10410 … ||:diagtext:`s`|| ||+---------------------------------------------…
10411---------------------+| |+-------------+| |+-------…
10412 … | | ||+---------------------------------------------…
10413 … | | |+----------------------------------------------…
10414----------------------------------------------------+-----------------------+---------------------…
10416 +----------------------------------------------------------------------------------------+
10418 +----------------------------------------------------------------------------------------+
10420----------------------------------------------------+-----------------------+---------------------…
10421 …warning:` |nbsp| :diagtext:`arithmetic on`|+---------------------+| |nbsp| :diagtext:`pointer`|+--…
10423 … |+---------------------+| |+--…
10425 … |+---------------------+| |+--…
10426----------------------------------------------------+-----------------------+---------------------…
10428 +---------------------------------------------------------------+----------------------------------…
10429 …ing:` |nbsp| :diagtext:`invalid application of '`|+-----------------------------------------------…
10431 … |+-----------------------------------------------…
10433 … |+-----------------------------------------------…
10435 … |+-----------------------------------------------…
10437 … |+-----------------------------------------------…
10439 … |+-----------------------------------------------…
10440 +---------------------------------------------------------------+----------------------------------…
10442 +---------------------------------------------------------------+----------------------------------…
10443 …ing:` |nbsp| :diagtext:`invalid application of '`|+-----------------------------------------------…
10445 … |+-----------------------------------------------…
10447 … |+-----------------------------------------------…
10449 … |+-----------------------------------------------…
10451 … |+-----------------------------------------------…
10453 … |+-----------------------------------------------…
10454 +---------------------------------------------------------------+----------------------------------…
10456 +--------------------------------------------------------------------------------------------------…
10458 +--------------------------------------------------------------------------------------------------…
10461 -Wpointer-bool-conversion
10462 -------------------------
10467------------------------------------------------------+---------------------------+---------------…
10468 |:warning:`warning:` |nbsp| :diagtext:`nonnull` |nbsp| |+-------------------------+| |nbsp| :diagte…
10470 | |+-------------------------+| …
10472 | |+-------------------------+| …
10473------------------------------------------------------+---------------------------+---------------…
10475-------------------------------------------------+------------------------------+-----------------…
10476 |:warning:`warning:` |nbsp| :diagtext:`address of`|+----------------------------+| |nbsp| :diagtext…
10478 | |+----------------------------+| …
10480 | |+----------------------------+| …
10482 | |+----------------------------+| …
10483-------------------------------------------------+------------------------------+-----------------…
10486 -Wpointer-compare
10487 -----------------
10492--------------------------------------------------------------------------------------------------…
10493 … a null character constant; did you mean to compare to` |nbsp| |+----------------------+|:diagtext…
10495 … |+----------------------+| …
10497 … |+----------------------+| …
10498--------------------------------------------------------------------------------------------------…
10501 -Wpointer-integer-compare
10502 -------------------------
10507--------------------------------------------------------------------------------------------------…
10509--------------------------------------------------------------------------------------------------…
10512 -Wpointer-sign
10513 --------------
10518---------------------------+----------------------------------------------------------------+-----…
10519 |:warning:`warning:` |nbsp| |+--------------------------------------------------------------+| |nbs…
10521 | |+--------------------------------------------------------------+| …
10523 | |+--------------------------------------------------------------+| …
10525 | |+--------------------------------------------------------------+| …
10527 | |+--------------------------------------------------------------+| …
10529 | |+--------------------------------------------------------------+| …
10531 | |+--------------------------------------------------------------+| …
10533 | |+--------------------------------------------------------------+| …
10534---------------------------+----------------------------------------------------------------+-----…
10537 -Wpointer-to-enum-cast
10538 ----------------------
10541 Also controls `-Wvoid-pointer-to-enum-cast`_.
10545 +--------------------------------------------------------------------------------------------------…
10547 +--------------------------------------------------------------------------------------------------…
10550 -Wpointer-to-int-cast
10551 ---------------------
10554 Also controls `-Wpointer-to-enum-cast`_, `-Wvoid-pointer-to-int-cast`_.
10558 +--------------------------------------------------------------------------------------------------…
10560 +--------------------------------------------------------------------------------------------------…
10563 -Wpointer-to-int-cast
10564 ---------------------
10567 Also controls `-Wpointer-to-enum-cast`_, `-Wvoid-pointer-to-int-cast`_.
10571 +--------------------------------------------------------------------------------------------------…
10573 +--------------------------------------------------------------------------------------------------…
10576 -Wpointer-type-mismatch
10577 -----------------------
10582 +------------------------------------------------------------+
10584 +------------------------------------------------------------+
10587 -Wpoison-system-directories
10588 ---------------------------
10591 +--------------------------------------------------------------------------------------------------…
10592 …|nbsp| :diagtext:`include location '`:placeholder:`A`:diagtext:`' is unsafe for cross-compilation`|
10593 +--------------------------------------------------------------------------------------------------…
10596 -Wpotentially-evaluated-expression
10597 ----------------------------------
10602 +--------------------------------------------------------------------------------------------------…
10604 +--------------------------------------------------------------------------------------------------…
10607 -Wpragma-clang-attribute
10608 ------------------------
10613 +--------------------------------------------------------------------------------------------------…
10615 +--------------------------------------------------------------------------------------------------…
10618 -Wpragma-once-outside-header
10619 ----------------------------
10624 +----------------------------------------------------------------+
10626 +----------------------------------------------------------------+
10629 -Wpragma-pack
10630 -------------
10633 Also controls `-Wpragma-pack-suspicious-include`_.
10637 +--------------------------------------------------------------------------------------------------…
10639 +--------------------------------------------------------------------------------------------------…
10641 +---------------------------------------------------------------------------------------------+
10643 +---------------------------------------------------------------------------------------------+
10646 -Wpragma-pack-suspicious-include
10647 --------------------------------
10650 +--------------------------------------------------------------------------------------------------…
10651 |:warning:`warning:` |nbsp| :diagtext:`non-default #pragma pack value changes the alignment of stru…
10652 +--------------------------------------------------------------------------------------------------…
10655 -Wpragma-system-header-outside-header
10656 -------------------------------------
10661 +----------------------------------------------------------------------------------+
10663 +----------------------------------------------------------------------------------+
10666 -Wpragmas
10667 ---------
10670 Also controls `-Wignored-pragmas`_, `-Wpragma-clang-attribute`_, `-Wpragma-pack`_, `-Wunknown-pragm…
10674--------------------------------------------------------------------------------------------------…
10675 …licable to external C declarations only; not applied to` |nbsp| |+--------------------+| |nbsp| :p…
10677 … |+--------------------+| …
10679 … |+--------------------+| …
10680--------------------------------------------------------------------------------------------------…
10683 -Wpredefined-identifier-outside-function
10684 ----------------------------------------
10689 +------------------------------------------------------------------------------------------+
10691 +------------------------------------------------------------------------------------------+
10694 -Wprivate-extern
10695 ----------------
10700--------------------------------------------------------------------------------------------------…
10702--------------------------------------------------------------------------------------------------…
10705 -Wprivate-header
10706 ----------------
10707 This diagnostic is an error by default, but the flag ``-Wno-private-header`` can be used to disable…
10711 +--------------------------------------------------------------------------------------------------…
10713 +--------------------------------------------------------------------------------------------------…
10716 -Wprivate-module
10717 ----------------
10722 +--------------------------------------------------------------------------------------------------…
10724 +--------------------------------------------------------------------------------------------------…
10726 +--------------------------------------------------------------------------------------------------…
10727 …private submodule '`:placeholder:`A`:diagtext:`' in private module map, expected top-level module`|
10728 +--------------------------------------------------------------------------------------------------…
10730 +--------------------------------------------------------------------------------------------------…
10731 |:warning:`warning:` |nbsp| :diagtext:`module '`:placeholder:`A`:diagtext:`' already re-exported as…
10732 +--------------------------------------------------------------------------------------------------…
10734--------------------------------------------------------------------------------------------------…
10736--------------------------------------------------------------------------------------------------…
10739 -Wprofile-instr-missing
10740 -----------------------
10743--------------------------------------------------------------------------------------------------…
10744 …der:`A` |nbsp| :diagtext:`function`|+-------------+|:diagtext:`,` |nbsp| :placeholder:`B` |nbsp| |…
10746 … |+-------------+| |…
10748 … |+-------------+| |…
10749--------------------------------------------------------------------------------------------------…
10752 -Wprofile-instr-out-of-date
10753 ---------------------------
10758--------------------------------------------------------------------------------------------------…
10759 …der:`A` |nbsp| :diagtext:`function`|+-------------+|:diagtext:`,` |nbsp| :placeholder:`B` |nbsp| |…
10761 … |+-------------+| |…
10763 … |+-------------+| |…
10764--------------------------------------------------------------------------------------------------…
10767 -Wprofile-instr-unprofiled
10768 --------------------------
10773 +--------------------------------------------------------------------------------------------------…
10775 +--------------------------------------------------------------------------------------------------…
10778 -Wproperty-access-dot-syntax
10779 ----------------------------
10784--------------------------------------------------------------------------------------------------…
10786--------------------------------------------------------------------------------------------------…
10789 -Wproperty-attribute-mismatch
10790 -----------------------------
10795 +--------------------------------------------------------------------------------------------------…
10797 +--------------------------------------------------------------------------------------------------…
10799--------------------------------------------------------------------------------------------------…
10801--------------------------------------------------------------------------------------------------…
10803--------------------------------------------------------------------------------------------------…
10805--------------------------------------------------------------------------------------------------…
10807--------------------------------------------------------------------------------------------------…
10809--------------------------------------------------------------------------------------------------…
10812 -Wprotocol
10813 ----------
10818--------------------------------------------------------------------------------------------------…
10820--------------------------------------------------------------------------------------------------…
10823 -Wprotocol-property-synthesis-ambiguity
10824 ---------------------------------------
10829-------------------------------------------------------+------------------------------------------…
10830 …rning:` |nbsp| :diagtext:`property` |nbsp| |+-----------------------------------------------------…
10831 … ||+-------------------------------------------
10833 … ||+-------------------------------------------
10834 … |+-----------------------------------------------------…
10835 … ||+--------------------------------------------------…
10837 … ||+--------------------------------------------------…
10838 … |+-----------------------------------------------------…
10839 … ||+----------------------------------------------------…
10841 … ||+----------------------------------------------------…
10842 … |+-----------------------------------------------------…
10843 … ||+---------------------------------------------…
10845 … ||+---------------------------------------------…
10846 … |+-----------------------------------------------------…
10847 … ||+---------------------------------------------…
10849 … ||+---------------------------------------------…
10850 … |+-----------------------------------------------------…
10851-------------------------------------------------------+------------------------------------------…
10854 -Wqualified-void-return-type
10855 ----------------------------
10860 +--------------------------------------------------------------------------------------------------…
10862 +--------------------------------------------------------------------------------------------------…
10865 -Wquoted-include-in-framework-header
10866 ------------------------------------
10869 +--------------------------------------------------------------------------------------------------…
10870 …`warning:` |nbsp| :diagtext:`double-quoted include "`:placeholder:`A`:diagtext:`" in framework hea…
10871 +--------------------------------------------------------------------------------------------------…
10874 -Wrange-loop-analysis
10875 ---------------------
10876 Controls `-Wrange-loop-bind-reference`_, `-Wrange-loop-construct`_.
10879 -Wrange-loop-bind-reference
10880 ---------------------------
10883--------------------------------------------------------------------------------------------------…
10885--------------------------------------------------------------------------------------------------…
10888 -Wrange-loop-construct
10889 ----------------------
10892 +--------------------------------------------------------------------------------------------------…
10894 +--------------------------------------------------------------------------------------------------…
10896 +--------------------------------------------------------------------------------------------------…
10898 +--------------------------------------------------------------------------------------------------…
10901 -Wreadonly-iboutlet-property
10902 ----------------------------
10907--------------------------------------------------------------------------------------------------…
10908 …donly IBOutlet property` |nbsp| :placeholder:`A` |nbsp| :diagtext:`when auto-synthesized may not w…
10909--------------------------------------------------------------------------------------------------…
10912 -Wreceiver-expr
10913 ---------------
10918--------------------------------------------------------------------------------------------------…
10920--------------------------------------------------------------------------------------------------…
10923 -Wreceiver-forward-class
10924 ------------------------
10929--------------------------------------------------------------------------------------------------…
10931--------------------------------------------------------------------------------------------------…
10933 +--------------------------------------------------------------------------------------------------…
10935 +--------------------------------------------------------------------------------------------------…
10938 -Wredeclared-class-member
10939 -------------------------
10944 +------------------------------------------------------------------------+
10946 +------------------------------------------------------------------------+
10949 -Wredundant-decls
10950 -----------------
10953 -Wredundant-move
10954 ----------------
10957 +-------------------------------------------------------------------------+
10959 +-------------------------------------------------------------------------+
10962 -Wredundant-parens
10963 ------------------
10966 +-----------------------------------------------------------------------------------+
10968 +-----------------------------------------------------------------------------------+
10971 -Wregister
10972 ----------
10975 Also controls `-Wdeprecated-register`_.
10979 +----------------------------------------------------------------------------------------------+
10981 +----------------------------------------------------------------------------------------------+
10984 -Wreinterpret-base-class
10985 ------------------------
10990------------------------------------------------------------------+------------------+------------…
10991----------------+| |nbsp| :diagtext:`class` |nbsp| :placeholder:`A` |nbsp| |+----------------+| |n…
10993----------------+| |+----------------+| …
10994 … ||:diagtext:`from`|| ||:diagtext:`base at non-zero offset`|| …
10995----------------+| |+----------------+| …
10996------------------------------------------------------------------+------------------+------------…
10999 -Rremark-backend-plugin
11000 -----------------------
11006 -Wreorder
11007 ---------
11010 Controls `-Wreorder-ctor`_, `-Wreorder-init-list`_.
11013 -Wreorder-ctor
11014 --------------
11017---------------------------+------------------------+---------------------------------------------…
11018 …ning:` |nbsp| |+----------------------+| |nbsp| :placeholder:`B` |nbsp| :diagtext:`will be initial…
11020 … |+----------------------+| …
11022 … |+----------------------+| …
11023---------------------------+------------------------+---------------------------------------------…
11026 -Wreorder-init-list
11027 -------------------
11032--------------------------------------------------------------------------------------------------…
11034--------------------------------------------------------------------------------------------------…
11037 -Wrequires-expression
11038 ---------------------
11043--------------------------------------------------------------------------------------------------…
11045--------------------------------------------------------------------------------------------------…
11048 -Wrequires-super-attribute
11049 --------------------------
11054 +--------------------------------------------------------------------------------------------------…
11055 …r:`A` |nbsp| :diagtext:`attribute cannot be applied to` |nbsp| |+--------------------------------+|
11057 … |+--------------------------------+|
11059 … |+--------------------------------+|
11060 +--------------------------------------------------------------------------------------------------…
11063 -Wreserved-id-macro
11064 -------------------
11067 +--------------------------------------------------------------------------+
11069 +--------------------------------------------------------------------------+
11072 -Wreserved-user-defined-literal
11073 -------------------------------
11076 Also controls `-Wc++11-compat-reserved-user-defined-literal`_.
11080 +--------------------------------------------------------------------------------------------------…
11082 +--------------------------------------------------------------------------------------------------…
11084 +--------------------------------------------------------------------------------------------------…
11086 +--------------------------------------------------------------------------------------------------…
11089 -Wretained-language-linkage
11090 ---------------------------
11093 +--------------------------------------------------------------------------------------------------…
11095 +--------------------------------------------------------------------------------------------------…
11098 -Wreturn-stack-address
11099 ----------------------
11104 +---------------------------------------------------------------------------------+
11106 +---------------------------------------------------------------------------------+
11108 +--------------------------------------------------------+--------------------------+--------------…
11109 |:warning:`warning:` |nbsp| :diagtext:`returning` |nbsp| |+------------------------+| |nbsp| :diagt…
11111 | |+------------------------+| …
11113 | |+------------------------+| …
11114 +--------------------------------------------------------+--------------------------+--------------…
11116---------------------------+--------------------------+-------------------------------------------…
11117 …:`warning:` |nbsp| |+------------------------+| |nbsp| :diagtext:`stack memory associated with` |n…
11119 … |+------------------------+| …
11121 … |+------------------------+| …
11122---------------------------+--------------------------+-------------------------------------------…
11125 -Wreturn-std-move
11126 -----------------
11129--------------------------------------------------------------------------------------------------…
11130 …lder:`A` |nbsp| :diagtext:`will be copied despite being` |nbsp| |+--------------------+| |nbsp| :d…
11132 … |+--------------------+| …
11134 … |+--------------------+| …
11135--------------------------------------------------------------------------------------------------…
11138 -Wreturn-std-move-in-c++11
11139 --------------------------
11142--------------------------------------------------------------------------------------------------…
11144--------------------------------------------------------------------------------------------------…
11147 -Wreturn-type
11148 -------------
11151 Also controls `-Wreturn-type-c-linkage`_.
11155 +-----------------------+---------------------------+----------------------------------------------…
11156 |:error:`error:` |nbsp| |+-------------------------+| |nbsp| :placeholder:`A` |nbsp| :diagtext:`sho…
11158 | |+-------------------------+| …
11160 | |+-------------------------+| …
11162 | |+-------------------------+| …
11164 | |+-------------------------+| …
11165 +-----------------------+---------------------------+----------------------------------------------…
11167 +---------------------------------------------------+----------------------+-----------------------…
11168 |:error:`error:` |nbsp| :diagtext:`non-void` |nbsp| |+--------------------+| |nbsp| :placeholder:`A…
11170 | |+--------------------+| …
11172 | |+--------------------+| …
11173 +---------------------------------------------------+----------------------+-----------------------…
11175 +---------------------------------------------------------------------------------+
11176 |:warning:`warning:` |nbsp| :diagtext:`non-void coroutine does not return a value`|
11177 +---------------------------------------------------------------------------------+
11179 +--------------------------------------------------------------------------------+
11180 |:warning:`warning:` |nbsp| :diagtext:`non-void function does not return a value`|
11181 +--------------------------------------------------------------------------------+
11183 +------------------------------------------------------------------------------+
11184 |:warning:`warning:` |nbsp| :diagtext:`non-void lambda does not return a value`|
11185 +------------------------------------------------------------------------------+
11187 +--------------------------------------------------------------------------------------------------…
11188 |:warning:`warning:` |nbsp| :diagtext:`non-void coroutine does not return a value in all control pa…
11189 +--------------------------------------------------------------------------------------------------…
11191 +--------------------------------------------------------------------------------------------------…
11192 |:warning:`warning:` |nbsp| :diagtext:`non-void function does not return a value in all control pat…
11193 +--------------------------------------------------------------------------------------------------…
11195 +--------------------------------------------------------------------------------------------------…
11196 |:warning:`warning:` |nbsp| :diagtext:`non-void lambda does not return a value in all control paths…
11197 +--------------------------------------------------------------------------------------------------…
11199 +---------------------------------------------------+----------------------+-----------------------…
11200 |:error:`error:` |nbsp| :diagtext:`non-void` |nbsp| |+--------------------+| |nbsp| :placeholder:`A…
11202 | |+--------------------+| …
11204 | |+--------------------+| …
11205 +---------------------------------------------------+----------------------+-----------------------…
11208 -Wreturn-type-c-linkage
11209 -----------------------
11214--------------------------------------------------------------------------------------------------…
11215 …`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`has C-linkage specified, but returns user-def…
11216--------------------------------------------------------------------------------------------------…
11218--------------------------------------------------------------------------------------------------…
11219 |:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`has C-linkage specified, but returns…
11220--------------------------------------------------------------------------------------------------…
11223 -Wrewrite-not-bool
11224 ------------------
11229--------------------------------------------------------------------------------------------------…
11231--------------------------------------------------------------------------------------------------…
11234 -Rsanitize-address
11235 ------------------
11238 +--------------------------------------------------------------------------------------------------…
11239 |:remark:`remark:` |nbsp| :diagtext:`-fsanitize-address-field-padding applied to` |nbsp| :placehold…
11240 +--------------------------------------------------------------------------------------------------…
11242--------------------------------------------------------------------------------------------------…
11243 …xt:`-fsanitize-address-field-padding ignored for` |nbsp| :placeholder:`A` |nbsp| :diagtext:`becaus…
11245 … |+------------------------------------+|
11247 … |+------------------------------------+|
11249 … |+------------------------------------+|
11251 … |+------------------------------------+|
11253 … |+------------------------------------+|
11255 … |+------------------------------------+|
11257 … |+------------------------------------+|
11259 … |+------------------------------------+|
11260--------------------------------------------------------------------------------------------------…
11263 -Wsection
11264 ---------
11269 +--------------------------------------------------------------------------------------------+
11271 +--------------------------------------------------------------------------------------------+
11273 +------------------------------------------------------------------------+
11275 +------------------------------------------------------------------------+
11277 +---------------------------+---------------------+------------------------------------------------…
11278 |:warning:`warning:` |nbsp| |+-------------------+| |nbsp| :diagtext:`does not match previous decla…
11280 | |+-------------------+| …
11282 | |+-------------------+| …
11283 +---------------------------+---------------------+------------------------------------------------…
11286 -Wselector
11287 ----------
11288 Also controls `-Wselector-type-mismatch`_.
11292 +--------------------------------------------------------------------------------------------------…
11294 +--------------------------------------------------------------------------------------------------…
11297 -Wselector-type-mismatch
11298 ------------------------
11301--------------------------------------------------------------------------------------------------…
11303--------------------------------------------------------------------------------------------------…
11306 -Wself-assign
11307 -------------
11310 Also controls `-Wself-assign-field`_, `-Wself-assign-overloaded`_.
11314 +--------------------------------------------------------------------------------------------------…
11316 +--------------------------------------------------------------------------------------------------…
11319 -Wself-assign-field
11320 -------------------
11325 +--------------------------------------------------------+-------------------------------+---------…
11326 |:warning:`warning:` |nbsp| :diagtext:`assigning` |nbsp| |+-----------------------------+| |nbsp| :…
11328 | |+-----------------------------+| …
11330 | |+-----------------------------+| …
11331 +--------------------------------------------------------+-------------------------------+---------…
11334 -Wself-assign-overloaded
11335 ------------------------
11338 +--------------------------------------------------------------------------------------------------…
11340 +--------------------------------------------------------------------------------------------------…
11343 -Wself-move
11344 -----------
11347 +--------------------------------------------------------------------------------------------------…
11349 +--------------------------------------------------------------------------------------------------…
11352 -Wsemicolon-before-method-body
11353 ------------------------------
11356 +------------------------------------------------------------------------------+
11358 +------------------------------------------------------------------------------+
11361 -Wsentinel
11362 ----------
11367 +------------------------------------------------------------------+-----------------------------+
11368 |:warning:`warning:` |nbsp| :diagtext:`missing sentinel in` |nbsp| |+---------------------------+|
11370 | |+---------------------------+|
11372 | |+---------------------------+|
11374 | |+---------------------------+|
11375 +------------------------------------------------------------------+-----------------------------+
11377 +--------------------------------------------------------------------------------------------------…
11379 +--------------------------------------------------------------------------------------------------…
11382 -Wsequence-point
11383 ----------------
11384 Synonym for `-Wunsequenced`_.
11387 -Wserialized-diagnostics
11388 ------------------------
11393--------------------------------------------------------------------------------------------------…
11395--------------------------------------------------------------------------------------------------…
11397 +--------------------------------------------------------------------------------------------+
11399 +--------------------------------------------------------------------------------------------+
11402 -Wshadow
11403 --------
11406 Also controls `-Wshadow-field-in-constructor-modified`_, `-Wshadow-ivar`_.
11410 +--------------------------------------------------------------------+-----------------------------…
11411 …sp| :diagtext:`declaration shadows a` |nbsp| |+---------------------------------------------------…
11413 … |+---------------------------------------------------…
11414 … ||+---------------------------------------------…
11416 … ||+---------------------------------------------…
11417 … |+---------------------------------------------------…
11418 … ||+--------------------------------------------------…
11420 … ||+--------------------------------------------------…
11421 … |+---------------------------------------------------…
11422 … ||+--------------------------------------------
11424 … ||+--------------------------------------------
11425 … |+---------------------------------------------------…
11426 … ||+---------------------------------------------…
11428 … ||+---------------------------------------------…
11429 … |+---------------------------------------------------…
11430 … ||+----------------------------------------------…
11432 … ||+----------------------------------------------…
11433 … |+---------------------------------------------------…
11434 +--------------------------------------------------------------------+-----------------------------…
11437 -Wshadow-all
11438 ------------
11441 Controls `-Wshadow`_, `-Wshadow-field`_, `-Wshadow-field-in-constructor`_, `-Wshadow-uncaptured-loc…
11444 -Wshadow-field
11445 --------------
11448---------------------------+------------------------------------+--------------------------------+
11449 …rning:` |nbsp| |+----------------------------------+| |nbsp| :placeholder:`A` |nbsp| |+-----------…
11451 … |+----------------------------------+| |+-----------…
11452 … ||:diagtext:`non-static data member`|| ||+----------------…
11453 | |+----------------------------------+| |…
11454 … | ||+---------------------------------------------…
11455 … | |+----------------------------------------------…
11456---------------------------+------------------------------------+--------------------------------+
11459 -Wshadow-field-in-constructor
11460 -----------------------------
11461 Also controls `-Wshadow-field-in-constructor-modified`_.
11465--------------------------------------------------------------------------------------------------…
11467--------------------------------------------------------------------------------------------------…
11470 -Wshadow-field-in-constructor-modified
11471 --------------------------------------
11474--------------------------------------------------------------------------------------------------…
11476--------------------------------------------------------------------------------------------------…
11479 -Wshadow-ivar
11480 -------------
11485 +--------------------------------------------------------------------------------------------------…
11487 +--------------------------------------------------------------------------------------------------…
11490 -Wshadow-uncaptured-local
11491 -------------------------
11494 +--------------------------------------------------------------------+-----------------------------…
11495 …sp| :diagtext:`declaration shadows a` |nbsp| |+---------------------------------------------------…
11497 … |+---------------------------------------------------…
11498 … ||+---------------------------------------------…
11500 … ||+---------------------------------------------…
11501 … |+---------------------------------------------------…
11502 … ||+--------------------------------------------------…
11504 … ||+--------------------------------------------------…
11505 … |+---------------------------------------------------…
11506 … ||+--------------------------------------------
11508 … ||+--------------------------------------------
11509 … |+---------------------------------------------------…
11510 … ||+---------------------------------------------…
11512 … ||+---------------------------------------------…
11513 … |+---------------------------------------------------…
11514 … ||+----------------------------------------------…
11516 … ||+----------------------------------------------…
11517 … |+---------------------------------------------------…
11518 +--------------------------------------------------------------------+-----------------------------…
11521 -Wshift-count-negative
11522 ----------------------
11527 +--------------------------------------------------------------+
11529 +--------------------------------------------------------------+
11532 -Wshift-count-overflow
11533 ----------------------
11538 +-------------------------------------------------------------------+
11540 +-------------------------------------------------------------------+
11543 -Wshift-negative-value
11544 ----------------------
11549 +------------------------------------------------------------------------------------+
11551 +------------------------------------------------------------------------------------+
11554 -Wshift-op-parentheses
11555 ----------------------
11560--------------------------------------------------------------------------------------------------…
11562--------------------------------------------------------------------------------------------------…
11565 -Wshift-overflow
11566 ----------------
11571--------------------------------------------------------------------------------------------------…
11573--------------------------------------------------------------------------------------------------…
11576 -Wshift-sign-overflow
11577 ---------------------
11580--------------------------------------------------------------------------------------------------…
11582--------------------------------------------------------------------------------------------------…
11585 -Wshorten-64-to-32
11586 ------------------
11589--------------------------------------------------------------------------------------------------…
11591--------------------------------------------------------------------------------------------------…
11594 -Wsign-compare
11595 --------------
11598--------------------------------------------------------------------------------------------------…
11600--------------------------------------------------------------------------------------------------…
11603 -Wsign-conversion
11604 -----------------
11607 +--------------------------------------------------------------------------------------------------…
11609 +--------------------------------------------------------------------------------------------------…
11611 +--------------------------------------------------------------------------------------------------…
11613 +--------------------------------------------------------------------------------------------------…
11615 +--------------------------------------------------------------------------------------------------…
11616 |:warning:`warning:` |nbsp| :diagtext:`the resulting value is always non-negative after implicit co…
11617 +--------------------------------------------------------------------------------------------------…
11620 -Wsign-promo
11621 ------------
11624 -Wsigned-enum-bitfield
11625 ----------------------
11628--------------------------------------------------------------------------------------------------…
11630--------------------------------------------------------------------------------------------------…
11633 -Wsigned-unsigned-wchar
11634 -----------------------
11635 This diagnostic is an error by default, but the flag ``-Wno-signed-unsigned-wchar`` can be used to …
11639 +----------------------------------------------------------------------------------------------+
11641 +----------------------------------------------------------------------------------------------+
11644 -Wsizeof-array-argument
11645 -----------------------
11650--------------------------------------------------------------------------------------------------…
11652--------------------------------------------------------------------------------------------------…
11655 -Wsizeof-array-decay
11656 --------------------
11661--------------------------------------------------------------------------------------------------…
11663--------------------------------------------------------------------------------------------------…
11666 -Wsizeof-array-div
11667 ------------------
11672--------------------------------------------------------------------------------------------------…
11674--------------------------------------------------------------------------------------------------…
11677 -Wsizeof-pointer-div
11678 --------------------
11683 +--------------------------------------------------------------------------------------------------…
11685 +--------------------------------------------------------------------------------------------------…
11688 -Wsizeof-pointer-memaccess
11689 --------------------------
11694--------------------------------------------------------------------------------------------------…
11696--------------------------------------------------------------------------------------------------…
11698--------------------------------------------------------------------------------------------------…
11699 …type` |nbsp| :placeholder:`B` |nbsp| :diagtext:`as the` |nbsp| |+-----------------------+|:diagtex…
11701 … |+-----------------------+| …
11703 … |+-----------------------+| …
11704--------------------------------------------------------------------------------------------------…
11707 -Wslash-u-filename
11708 ------------------
11713 +--------------------------------------------------------------------------------------------------+
11715 +--------------------------------------------------------------------------------------------------+
11718 -Wsometimes-uninitialized
11719 -------------------------
11722--------------------------------------------------------------------------------------------------…
11723--------------------+| |nbsp| :diagtext:`uninitialized whenever` |nbsp| |+------------------------…
11724 … ||+---------------------------------------------------------------
11725--------------------+| |||:diagtext:`'`:placehold…
11727--------------------+| ||| …
11729 …||| |+-----------------+| …
11730 … ||+---------------------------------------------------------------
11731 … |+----------------------------------------------------------------------------…
11732 … ||+-------------------------------------------------------+-------------------…
11733 …text:`'`:placeholder:`D`:diagtext:`' loop` |nbsp| |+----------------------------------------------…
11735 … |+----------------------------------------------…
11737 … |+----------------------------------------------…
11738 … ||+-------------------------------------------------------+-------------------…
11739 … |+----------------------------------------------------------------------------…
11740 … ||+-------------------------------------------------------+-------------------…
11741 …text:`'`:placeholder:`D`:diagtext:`' loop` |nbsp| |+----------------------------------------------…
11743 … |+----------------------------------------------…
11745 … |+----------------------------------------------…
11746 … ||+-------------------------------------------------------+-------------------…
11747 … |+----------------------------------------------------------------------------…
11748 … ||+---------------------------------------------------------…
11750 … ||+---------------------------------------------------------…
11751 … |+----------------------------------------------------------------------------…
11753 … |+----------------------------------------------------------------------------…
11754 …| ||+--------------------------------------------…
11756 …| ||+--------------------------------------------…
11757 … |+----------------------------------------------------------------------------…
11758--------------------------------------------------------------------------------------------------…
11761 -Wsource-uses-openmp
11762 --------------------
11767 +--------------------------------------------------------------------------------------------------…
11769 +--------------------------------------------------------------------------------------------------…
11771--------------------------------------------------------------------------------------------------…
11773--------------------------------------------------------------------------------------------------…
11775--------------------------------------------------------------------------------------------------…
11777--------------------------------------------------------------------------------------------------…
11779 +--------------------------------------------------------------------------------------------------…
11781 +--------------------------------------------------------------------------------------------------…
11783--------------------------------------------------------------------------------------------------…
11785--------------------------------------------------------------------------------------------------…
11787 +--------------------------------------------------------------------------------------------------…
11789 +--------------------------------------------------------------------------------------------------…
11791 +------------------------------------------------------------------------------+
11793 +------------------------------------------------------------------------------+
11796 -Wspir-compat
11797 -------------
11800 +--------------------------------------------------------------------------------------------------…
11802 +--------------------------------------------------------------------------------------------------…
11805 -Wstack-exhausted
11806 -----------------
11811 +--------------------------------------------------------------------------------------------------…
11813 +--------------------------------------------------------------------------------------------------…
11816 -Wstack-protector
11817 -----------------
11822 +--------------------------------------------------------------------------------------------------…
11824 +--------------------------------------------------------------------------------------------------…
11827 -Wstack-protector
11828 -----------------
11833 +--------------------------------------------------------------------------------------------------…
11835 +--------------------------------------------------------------------------------------------------…
11838 -Wstatic-float-init
11839 -------------------
11842 Also controls `-Wgnu-static-float-init`_.
11846--------------------------------------------------------------------------------------------------…
11847 |:error:`error:` |nbsp| :diagtext:`in-class initializer for static data member of type` |nbsp| :pla…
11848--------------------------------------------------------------------------------------------------…
11851 -Wstatic-in-inline
11852 ------------------
11857-----------------------------------------------------+----------------------+---------------------…
11858 |:warning:`warning:` |nbsp| :diagtext:`static` |nbsp| |+--------------------+| |nbsp| :placeholder:…
11860 | |+--------------------+| …
11862 | |+--------------------+| …
11863-----------------------------------------------------+----------------------+---------------------…
11865-----------------------------------------------------+----------------------+---------------------…
11866 |:warning:`warning:` |nbsp| :diagtext:`static` |nbsp| |+--------------------+| |nbsp| :placeholder:…
11868 | |+--------------------+| …
11870 | |+--------------------+| …
11871-----------------------------------------------------+----------------------+---------------------…
11874 -Wstatic-inline-explicit-instantiation
11875 --------------------------------------
11880 +-------------------------------------------------+--------------------+---------------------------…
11881 |:warning:`warning:` |nbsp| :diagtext:`ignoring '`|+------------------+|:diagtext:`' keyword on exp…
11883 | |+------------------+| …
11885 | |+------------------+| …
11886 +-------------------------------------------------+--------------------+---------------------------…
11889 -Wstatic-local-in-inline
11890 ------------------------
11895 +--------------------------------------------------------------------------------------------------…
11896 |:warning:`warning:` |nbsp| :diagtext:`non-constant static local variable in inline function may be…
11897 +--------------------------------------------------------------------------------------------------…
11900 -Wstatic-self-init
11901 ------------------
11906 +--------------------------------------------------------------------------------------------------…
11908 +--------------------------------------------------------------------------------------------------…
11911 -Wstdlibcxx-not-found
11912 ---------------------
11917--------------------------------------------------------------------------------------------------…
11918 |:warning:`warning:` |nbsp| :diagtext:`include path for libstdc++ headers not found; pass '-stdlib=…
11919--------------------------------------------------------------------------------------------------…
11922 -Wstrict-aliasing
11923 -----------------
11926 -Wstrict-aliasing=0
11927 -------------------
11930 -Wstrict-aliasing=1
11931 -------------------
11934 -Wstrict-aliasing=2
11935 -------------------
11938 -Wstrict-overflow
11939 -----------------
11942 -Wstrict-overflow=0
11943 -------------------
11946 -Wstrict-overflow=1
11947 -------------------
11950 -Wstrict-overflow=2
11951 -------------------
11954 -Wstrict-overflow=3
11955 -------------------
11958 -Wstrict-overflow=4
11959 -------------------
11962 -Wstrict-overflow=5
11963 -------------------
11966 -Wstrict-prototypes
11967 -------------------
11970 +---------------------------------------------------+----------------------------------------------…
11971 …g:`warning:` |nbsp| :diagtext:`this` |nbsp| |+----------------------------------------------------…
11973 … |+----------------------------------------------------…
11975 … |+----------------------------------------------------…
11976 | ||:diagtext:`old-style function definition is n…
11977 … |+----------------------------------------------------…
11978 +---------------------------------------------------+----------------------------------------------…
11981 -Wstrict-prototypes
11982 -------------------
11985 +---------------------------------------------------+----------------------------------------------…
11986 …g:`warning:` |nbsp| :diagtext:`this` |nbsp| |+----------------------------------------------------…
11988 … |+----------------------------------------------------…
11990 … |+----------------------------------------------------…
11991 | ||:diagtext:`old-style function definition is n…
11992 … |+----------------------------------------------------…
11993 +---------------------------------------------------+----------------------------------------------…
11996 -Wstrict-selector-match
11997 -----------------------
12000 +--------------------------------------------------------------------------------------------------…
12002 +--------------------------------------------------------------------------------------------------…
12005 -Wstring-compare
12006 ----------------
12011---------------------------------------------------------------------------+----------------------…
12012 …ng:` |nbsp| :diagtext:`result of comparison against` |nbsp| |+----------------------------+| |nbsp…
12014 … |+----------------------------+| …
12016 … |+----------------------------+| …
12017---------------------------------------------------------------------------+----------------------…
12020 -Wstring-conversion
12021 -------------------
12024--------------------------------------------------------------------------------------------------…
12026--------------------------------------------------------------------------------------------------…
12029 -Wstring-plus-char
12030 ------------------
12035 +--------------------------------------------------------------------------------------------------…
12037 +--------------------------------------------------------------------------------------------------…
12040 -Wstring-plus-int
12041 -----------------
12046 +--------------------------------------------------------------------------------------------------…
12048 +--------------------------------------------------------------------------------------------------…
12051 -Wstrlcpy-strlcat-size
12052 ----------------------
12057--------------------------------------------------------------------------------------------------…
12059--------------------------------------------------------------------------------------------------…
12062 -Wstrncat-size
12063 --------------
12068 +--------------------------------------------------------------------------------------------------…
12070 +--------------------------------------------------------------------------------------------------…
12072 +--------------------------------------------------------------------------------------------------…
12074 +--------------------------------------------------------------------------------------------------…
12076 +-------------------------------------------------------------------------------------------+
12078 +-------------------------------------------------------------------------------------------+
12081 -Wsuper-class-method-mismatch
12082 -----------------------------
12085 +--------------------------------------------------------------------------------------------------…
12087 +--------------------------------------------------------------------------------------------------…
12090 -Wsuspicious-bzero
12091 ------------------
12096 +----------------------------------------------------------------------+
12098 +----------------------------------------------------------------------+
12101 -Wsuspicious-memaccess
12102 ----------------------
12105 Controls `-Wdynamic-class-memaccess`_, `-Wmemset-transposed-args`_, `-Wnontrivial-memaccess`_, `-Ws…
12108 -Wswitch
12109 --------
12114--------------------------------------------------------------------------------------------------…
12116--------------------------------------------------------------------------------------------------…
12118---------------------------+----------------------------------------------------------------------…
12119--------------------------------------------------------------------------------------------------…
12120 … ||+---------------------------------------------------------------------…
12122 … ||+---------------------------------------------------------------------…
12123--------------------------------------------------------------------------------------------------…
12124 … ||+---------------------------------------------------------------------------------------------…
12126 … ||+---------------------------------------------------------------------------------------------…
12127--------------------------------------------------------------------------------------------------…
12128--------------------------------------------------------------------------------------------------…
12130--------------------------------------------------------------------------------------------------…
12131--------------------------------------------------------------------------------------------------…
12132--------------------------------------------------------------------------------------------------…
12134--------------------------------------------------------------------------------------------------…
12135--------------------------------------------------------------------------------------------------…
12136---------------------------+----------------------------------------------------------------------…
12138 +------------------------------------------------------------------------------------------------+
12140 +------------------------------------------------------------------------------------------------+
12143 -Wswitch-bool
12144 -------------
12149 +-------------------------------------------------------------------------+
12151 +-------------------------------------------------------------------------+
12154 -Wswitch-default
12155 ----------------
12158 -Wswitch-enum
12159 -------------
12162---------------------------+----------------------------------------------------------------------…
12163--------------------------------------------------------------------------------------------------…
12164 … ||+--------------------------------------------------------------------------…
12166 … ||+--------------------------------------------------------------------------…
12167--------------------------------------------------------------------------------------------------…
12168--------------------------------------------------------------------------------------------------…
12170--------------------------------------------------------------------------------------------------…
12171--------------------------------------------------------------------------------------------------…
12172--------------------------------------------------------------------------------------------------…
12174--------------------------------------------------------------------------------------------------…
12175--------------------------------------------------------------------------------------------------…
12176--------------------------------------------------------------------------------------------------…
12178--------------------------------------------------------------------------------------------------…
12179--------------------------------------------------------------------------------------------------…
12180---------------------------+----------------------------------------------------------------------…
12183 -Wsync-fetch-and-nand-semantics-changed
12184 ---------------------------------------
12189 +--------------------------------------------------------------------------------------------------…
12190 …sp| :diagtext:`the semantics of this intrinsic changed with GCC version 4.4 - the newer semantics …
12191 +--------------------------------------------------------------------------------------------------…
12194 -Wsynth
12195 -------
12198 -Wtautological-bitwise-compare
12199 ------------------------------
12202 +-------------------------------------------------------------------------------------+------------…
12203 …g:`warning:` |nbsp| :diagtext:`bitwise comparison always evaluates to` |nbsp| |+-----------------+|
12205 … |+-----------------+|
12207 … |+-----------------+|
12208 +-------------------------------------------------------------------------------------+------------…
12210 +----------------------------------------------------------------------------------------------+
12211 |:warning:`warning:` |nbsp| :diagtext:`bitwise or with non-zero value always evaluates to true`|
12212 +----------------------------------------------------------------------------------------------+
12215 -Wtautological-compare
12216 ----------------------
12219-Wtautological-bitwise-compare`_, `-Wtautological-constant-compare`_, `-Wtautological-objc-bool-co…
12223---------------------------+---------------------------------------------------------------+------…
12224 …:` |nbsp| |+-------------------------------------------------------------+| |nbsp| :diagtext:`to 1…
12225 … || ||:diagtext:`a no-op` ||
12226 … |+-------------------------------------------------------------+| …
12228 … |+-------------------------------------------------------------+| …
12229---------------------------+---------------------------------------------------------------+------…
12231 +---------------------------+---------------------------+------------------------------------------…
12232 …ning:` |nbsp| |+-------------------------+|:diagtext:`comparison always evaluates to` |nbsp| |+---…
12233 | ||:diagtext:`self-` || …
12234 … |+-------------------------+| |+---…
12236 … |+-------------------------+| |+---…
12238 … | |+------------------------------------------+|
12240 … | |+------------------------------------------+|
12241 +---------------------------+---------------------------+------------------------------------------…
12244 -Wtautological-constant-compare
12245 -------------------------------
12248 Also controls `-Wtautological-constant-out-of-range-compare`_.
12252 +--------------------------------------------------------------------------------------------------…
12254 +--------------------------------------------------------------------------------------------------…
12256 +--------------------------------------------------------------------------------------------------…
12257 …gtext:`converting the result of '<<' to a boolean always evaluates to` |nbsp| |+-----------------+|
12259 … |+-----------------+|
12261 … |+-----------------+|
12262 +--------------------------------------------------------------------------------------------------…
12264----------------------------------------------------------------------+---------------------------…
12265 …bsp| |+----------------------------------------------+| |nbsp| :diagtext:`with` |nbsp| |+---------…
12266 … ||+--------------------------------------------+|| ||+--------…
12268 … ||+--------------------------------------------+|| ||+--------…
12269 … |+----------------------------------------------+| |+---------…
12271 … |+----------------------------------------------+| |+---------…
12273 … |+---------------------------------------------…
12274----------------------------------------------------------------------+---------------------------…
12277 -Wtautological-constant-in-range-compare
12278 ----------------------------------------
12279 Controls `-Wtautological-type-limit-compare`_, `-Wtautological-unsigned-enum-zero-compare`_, `-Wtau…
12282 -Wtautological-constant-out-of-range-compare
12283 --------------------------------------------
12288----------------------------------------------------------------------+---------------------------…
12289 …bsp| |+----------------------------------------------+| |nbsp| :diagtext:`with` |nbsp| |+---------…
12290 … ||+--------------------------------------------+|| ||+--------…
12292 … ||+--------------------------------------------+|| ||+--------…
12293 … |+----------------------------------------------+| |+---------…
12295 … |+----------------------------------------------+| |+---------…
12297 … |+---------------------------------------------…
12298----------------------------------------------------------------------+---------------------------…
12301 -Wtautological-objc-bool-compare
12302 --------------------------------
12307--------------------------------------------------------------------------------------------------…
12309--------------------------------------------------------------------------------------------------…
12312 -Wtautological-overlap-compare
12313 ------------------------------
12316 +-----------------------------------------------------------------------------------------+--------…
12317 …arning:` |nbsp| :diagtext:`overlapping comparisons always evaluate to` |nbsp| |+-----------------+|
12319 … |+-----------------+|
12321 … |+-----------------+|
12322 +-----------------------------------------------------------------------------------------+--------…
12325 -Wtautological-pointer-compare
12326 ------------------------------
12331--------------------------------------------------------------------+---------------------------+-…
12332-------------------------+| |nbsp| :diagtext:`'`:placeholder:`B`:diagtext:`'` |nbsp| |+-----------…
12334-------------------------+| |+-----------…
12336-------------------------+| |+-----------…
12337--------------------------------------------------------------------+---------------------------+-…
12339------------------------------------------------------------+------------------------+------------…
12340----------------------+| |nbsp| :diagtext:`'`:placeholder:`B`:diagtext:`'` |nbsp| |+--------------…
12342----------------------+| |+--------------…
12344----------------------+| |+--------------…
12346 | |+----------------------+| …
12347------------------------------------------------------------+------------------------+------------…
12350 -Wtautological-type-limit-compare
12351 ---------------------------------
12354-------------------------------------------------------------------+------------------+-----------…
12355 …:diagtext:`result of comparison` |nbsp| |+----------------+| |nbsp| :placeholder:`C` |nbsp| |+----…
12357 … |+----------------+| |+----…
12359 … |+----------------+| |+----…
12360-------------------------------------------------------------------+------------------+-----------…
12363 -Wtautological-undefined-compare
12364 --------------------------------
12369--------------------------------------------------------------------------------------------------…
12370 …ferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to` |…
12372 … |+-----------------+|
12374 … |+-----------------+|
12375--------------------------------------------------------------------------------------------------…
12377--------------------------------------------------------------------------------------------------…
12378 …ointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to` |…
12380 … |+-----------------+|
12382 … |+-----------------+|
12383--------------------------------------------------------------------------------------------------…
12386 -Wtautological-unsigned-enum-zero-compare
12387 -----------------------------------------
12390----------------------------------------------------------------------+---------------------------…
12391 …mparison of` |nbsp| |+------------------------------------+| |nbsp| :placeholder:`C` |nbsp| |+----…
12393 … |+------------------------------------+| |+----…
12395 … |+------------------------------------+| |+----…
12396----------------------------------------------------------------------+---------------------------…
12399 -Wtautological-unsigned-zero-compare
12400 ------------------------------------
12403----------------------------------------------------------------------+---------------------------…
12404 …of comparison of` |nbsp| |+-------------------------------+| |nbsp| :placeholder:`C` |nbsp| |+----…
12406 … |+-------------------------------+| |+----…
12408 … |+-------------------------------+| |+----…
12409----------------------------------------------------------------------+---------------------------…
12412 -Wtentative-definition-incomplete-type
12413 --------------------------------------
12418 +--------------------------------------------------------------------------------------------------…
12419 …t:`tentative definition of variable with internal linkage has incomplete non-array type` |nbsp| :p…
12420 +--------------------------------------------------------------------------------------------------…
12423 -Wthread-safety
12424 ---------------
12425 Controls `-Wthread-safety-analysis`_, `-Wthread-safety-attributes`_, `-Wthread-safety-precise`_, `-
12428 -Wthread-safety-analysis
12429 ------------------------
12432 +--------------------------------------------------------------------------------------------------…
12434 +--------------------------------------------------------------------------------------------------…
12436 +--------------------------------------------------------------------------------------------------…
12438 +--------------------------------------------------------------------------------------------------…
12440 +---------------------------------------------------------------------+
12442 +---------------------------------------------------------------------+
12444 +--------------------------------------------------------------------------------------------------…
12446 +--------------------------------------------------------------------------------------------------…
12448--------------------------------------------------------------------------------------------------…
12450--------------------------------------------------------------------------------------------------…
12452--------------------------------------------------------------------------------------------------…
12454--------------------------------------------------------------------------------------------------…
12456--------------------------------------------------------------------------------------------------…
12458--------------------------------------------------------------------------------------------------…
12460--------------------------------------------------------------------------------------------------…
12461 …uires holding` |nbsp| :placeholder:`A` |nbsp| |+--------------------------------------------------…
12462 … ||+------------------------------------------+…
12464 … ||+------------------------------------------+…
12465 … |+--------------------------------------------------…
12466 … ||+-------------------------------------------------…
12468 … ||+-------------------------------------------------…
12469 … |+--------------------------------------------------…
12470--------------------------------------------------------------------------------------------------…
12472 +--------------------------------------------------------------------------------------------------…
12474 +--------------------------------------------------------------------------------------------------…
12476 +--------------------------------------------------------------------------------------------------…
12478 +--------------------------------------------------------------------------------------------------…
12480 +--------------------------------------------------------------------------------------------------…
12482 +--------------------------------------------------------------------------------------------------…
12484 +--------------------------------------------------------------------------------------------------…
12486 +--------------------------------------------------------------------------------------------------…
12488--------------------------------------------------------------------------------------------------…
12489 …B`:diagtext:`' using` |nbsp| |+---------------------+| |nbsp| :diagtext:`access, expected` |nbsp| …
12491 … |+---------------------+| …
12493 … |+---------------------+| …
12494--------------------------------------------------------------------------------------------------…
12496---------------------------+---------------------+------------------------------------------------…
12497-------------------+| |nbsp| :diagtext:`the value pointed to by` |nbsp| :placeholder:`A` |nbsp| :d…
12499-------------------+| …
12501-------------------+| …
12502---------------------------+---------------------+------------------------------------------------…
12504---------------------------+---------------------+------------------------------------------------…
12505-------------------+| |nbsp| :diagtext:`the value pointed to by` |nbsp| :placeholder:`B` |nbsp| :d…
12506 … ||+------------------------------------------+…
12507 | |+-------------------+| …
12508 … ||+------------------------------------------+…
12509-------------------+| …
12510 … ||+-------------------------------------------------…
12512 … ||+-------------------------------------------------…
12513 … |+--------------------------------------------------…
12514---------------------------+---------------------+------------------------------------------------…
12516---------------------------+---------------------+------------------------------------------------…
12517-------------------+| |nbsp| :diagtext:`variable` |nbsp| :placeholder:`A` |nbsp| :diagtext:`requir…
12519-------------------+| …
12521-------------------+| …
12522---------------------------+---------------------+------------------------------------------------…
12524---------------------------+---------------------+------------------------------------------------…
12525-------------------+| |nbsp| :diagtext:`variable` |nbsp| :placeholder:`B` |nbsp| :diagtext:`requir…
12526 … ||+------------------------------------------+…
12527 | |+-------------------+| …
12528 … ||+------------------------------------------+…
12529-------------------+| …
12530 … ||+-------------------------------------------------…
12532 … ||+-------------------------------------------------…
12533 … |+--------------------------------------------------…
12534---------------------------+---------------------+------------------------------------------------…
12537 -Wthread-safety-attributes
12538 --------------------------
12541--------------------------------------------------------------------------------------------------…
12543--------------------------------------------------------------------------------------------------…
12545 +--------------------------------------------------------------------------------------------------…
12547 +--------------------------------------------------------------------------------------------------…
12549 +--------------------------------------------------------------------------------------------------…
12551 +--------------------------------------------------------------------------------------------------…
12553 +--------------------------------------------------------------------------------------------------…
12555 +--------------------------------------------------------------------------------------------------…
12557--------------------------------------------------------------------------------------------------…
12559--------------------------------------------------------------------------------------------------…
12561--------------------------------------------------------------------------------------------------…
12562 …:diagtext:`attribute without capability arguments can only be applied to non-static methods of a c…
12563--------------------------------------------------------------------------------------------------…
12566 -Wthread-safety-beta
12567 --------------------
12570 +------------------------------------------------------------------+
12572 +------------------------------------------------------------------+
12575 -Wthread-safety-negative
12576 ------------------------
12579--------------------------------------------------------------------------------------------------…
12581--------------------------------------------------------------------------------------------------…
12584 -Wthread-safety-precise
12585 -----------------------
12588--------------------------------------------------------------------------------------------------…
12589 …uires holding` |nbsp| :placeholder:`A` |nbsp| |+--------------------------------------------------…
12590 … ||+------------------------------------------+…
12592 … ||+------------------------------------------+…
12593 … |+--------------------------------------------------…
12594 … ||+-------------------------------------------------…
12596 … ||+-------------------------------------------------…
12597 … |+--------------------------------------------------…
12598--------------------------------------------------------------------------------------------------…
12600---------------------------+---------------------+------------------------------------------------…
12601-------------------+| |nbsp| :diagtext:`the value pointed to by` |nbsp| :placeholder:`B` |nbsp| :d…
12602 … ||+------------------------------------------+…
12603 | |+-------------------+| …
12604 … ||+------------------------------------------+…
12605-------------------+| …
12606 … ||+-------------------------------------------------…
12608 … ||+-------------------------------------------------…
12609 … |+--------------------------------------------------…
12610---------------------------+---------------------+------------------------------------------------…
12612---------------------------+---------------------+------------------------------------------------…
12613-------------------+| |nbsp| :diagtext:`variable` |nbsp| :placeholder:`B` |nbsp| :diagtext:`requir…
12614 … ||+------------------------------------------+…
12615 | |+-------------------+| …
12616 … ||+------------------------------------------+…
12617-------------------+| …
12618 … ||+-------------------------------------------------…
12620 … ||+-------------------------------------------------…
12621 … |+--------------------------------------------------…
12622---------------------------+---------------------+------------------------------------------------…
12625 -Wthread-safety-reference
12626 -------------------------
12629--------------------------------------------------------------------------------------------------…
12630 …uires holding` |nbsp| :placeholder:`A` |nbsp| |+--------------------------------------------------…
12631 … ||+------------------------------------------+…
12633 … ||+------------------------------------------+…
12634 … |+--------------------------------------------------…
12635 … ||+-------------------------------------------------…
12637 … ||+-------------------------------------------------…
12638 … |+--------------------------------------------------…
12639--------------------------------------------------------------------------------------------------…
12641--------------------------------------------------------------------------------------------------…
12642 …uires holding` |nbsp| :placeholder:`A` |nbsp| |+--------------------------------------------------…
12643 … ||+------------------------------------------+…
12645 … ||+------------------------------------------+…
12646 … |+--------------------------------------------------…
12647 … ||+-------------------------------------------------…
12649 … ||+-------------------------------------------------…
12650 … |+--------------------------------------------------…
12651--------------------------------------------------------------------------------------------------…
12654 -Wthread-safety-verbose
12655 -----------------------
12658 +---------------------------------------------------------------------+
12660 +---------------------------------------------------------------------+
12663 -Wtrigraphs
12664 -----------
12669 +--------------------------------------------------------------------------------------------------…
12671 +--------------------------------------------------------------------------------------------------…
12673 +------------------------------------------------------------------+
12675 +------------------------------------------------------------------+
12677 +-------------------------------------------------------+
12679 +-------------------------------------------------------+
12681 +-------------------------------------------------------------------------------+
12683 +-------------------------------------------------------------------------------+
12686 -Wtype-limits
12687 -------------
12688 Synonym for `-Wtautological-constant-in-range-compare`_.
12691 -Wtype-limits
12692 -------------
12693 Synonym for `-Wtautological-constant-in-range-compare`_.
12696 -Wtype-safety
12697 -------------
12702 +--------------------------------------------------------------------------------------------------…
12704 +--------------------------------------------------------------------------------------------------…
12706--------------------------------------------------------------------------------------------------…
12707 …aceholder:`B` |nbsp| :diagtext:`type tag` |nbsp| |+-----------------------------------------------…
12708 … ||+----------------------------------------------…
12710 … ||+----------------------------------------------…
12711 … |+-----------------------------------------------…
12713 … |+-----------------------------------------------…
12714--------------------------------------------------------------------------------------------------…
12716 +--------------------------------------------------------------------------------------------------…
12718 +--------------------------------------------------------------------------------------------------…
12721 -Wtypedef-redefinition
12722 ----------------------
12727 +--------------------------------------------------------------------------------------------------…
12729 +--------------------------------------------------------------------------------------------------…
12732 -Wtypename-missing
12733 ------------------
12738 +--------------------------------------------------------------------------------------------------…
12740 +--------------------------------------------------------------------------------------------------…
12743 -Wunable-to-open-stats-file
12744 ---------------------------
12749 +--------------------------------------------------------------------------------------------------…
12751 +--------------------------------------------------------------------------------------------------…
12754 -Wunavailable-declarations
12755 --------------------------
12760 +--------------------------------------------------------------------------------------------------…
12762 +--------------------------------------------------------------------------------------------------…
12765 -Wundeclared-selector
12766 ---------------------
12769 +----------------------------------------------------------------------------------+
12771 +----------------------------------------------------------------------------------+
12773 +--------------------------------------------------------------------------------------------------…
12775 +--------------------------------------------------------------------------------------------------…
12778 -Wundef
12779 -------
12782 +---------------------------------------------------------------------------------------------+
12784 +---------------------------------------------------------------------------------------------+
12787 -Wundefined-bool-conversion
12788 ---------------------------
12793--------------------------------------------------------------------------------------------------…
12794 …p| :diagtext:`reference cannot be bound to dereferenced null pointer in well-defined C++ code; poi…
12795--------------------------------------------------------------------------------------------------…
12797 +--------------------------------------------------------------------------------------------------…
12798 |:warning:`warning:` |nbsp| :diagtext:`'this' pointer cannot be null in well-defined C++ code; poin…
12799 +--------------------------------------------------------------------------------------------------…
12802 -Wundefined-func-template
12803 -------------------------
12806--------------------------------------------------------------------------------------------------…
12808--------------------------------------------------------------------------------------------------…
12811 -Wundefined-inline
12812 ------------------
12817 +--------------------------------------------------------------------------------------------------…
12819 +--------------------------------------------------------------------------------------------------…
12822 -Wundefined-internal
12823 --------------------
12828 +---------------------------+----------------------+-----------------------------------------------…
12829 |:warning:`warning:` |nbsp| |+--------------------+| |nbsp| :placeholder:`B` |nbsp| :diagtext:`has …
12831 | |+--------------------+| …
12833 | |+--------------------+| …
12834 +---------------------------+----------------------+-----------------------------------------------…
12837 -Wundefined-internal-type
12838 -------------------------
12841--------------------------------------------------------------------------------------------------…
12842 … C++ requires a definition in this translation unit for` |nbsp| |+--------------------+| |nbsp| :p…
12844 … |+--------------------+| …
12846 … |+--------------------+| …
12847--------------------------------------------------------------------------------------------------…
12850 -Wundefined-reinterpret-cast
12851 ----------------------------
12854--------------------------------------------------------------------------------------------------…
12856--------------------------------------------------------------------------------------------------…
12858--------------------------------------------------------------------------------------------------…
12860--------------------------------------------------------------------------------------------------…
12863 -Wundefined-var-template
12864 ------------------------
12869--------------------------------------------------------------------------------------------------…
12871--------------------------------------------------------------------------------------------------…
12874 -Wunderaligned-exception-object
12875 -------------------------------
12880 +---------------------------------------------------------------------------+
12882 +---------------------------------------------------------------------------+
12885 -Wunevaluated-expression
12886 ------------------------
12889 Also controls `-Wpotentially-evaluated-expression`_.
12893 +--------------------------------------------------------------------------------------------------…
12895 +--------------------------------------------------------------------------------------------------…
12898 -Wunguarded-availability
12899 ------------------------
12902 Also controls `-Wunguarded-availability-new`_.
12906--------------------------------------------------------------------------------------------------…
12908--------------------------------------------------------------------------------------------------…
12911 -Wunguarded-availability-new
12912 ----------------------------
12917--------------------------------------------------------------------------------------------------…
12919--------------------------------------------------------------------------------------------------…
12922 -Wunicode
12923 ---------
12928 +--------------------------------------------------------------------------------------------------…
12930 +--------------------------------------------------------------------------------------------------…
12932 +--------------------------------------------------------------------------------------------------…
12934 +--------------------------------------------------------------------------------------------------…
12936 +-----------------------------------------------------------------------------------------------+
12938 +-----------------------------------------------------------------------------------------------+
12940 +--------------------------------------------------------------------------------------------------…
12942 +--------------------------------------------------------------------------------------------------…
12944 +---------------------------------------------------------------------------------------------+
12946 +---------------------------------------------------------------------------------------------+
12949 -Wunicode-homoglyph
12950 -------------------
12955--------------------------------------------------------------------------------------------------…
12957--------------------------------------------------------------------------------------------------…
12960 -Wunicode-whitespace
12961 --------------------
12966 +-------------------------------------------------------------------------------+
12968 +-------------------------------------------------------------------------------+
12971 -Wunicode-zero-width
12972 --------------------
12977 +--------------------------------------------------------------------------------------------------…
12979 +--------------------------------------------------------------------------------------------------…
12982 -Wuninitialized
12983 ---------------
12986 Also controls `-Wsometimes-uninitialized`_, `-Wstatic-self-init`_.
12990--------------------------------------------------------------------------------------------------…
12992--------------------------------------------------------------------------------------------------…
12994 +--------------------------------------------------------------------------------------------------…
12996 +--------------------------------------------------------------------------------------------------…
12998 +--------------------------------------------------------------------------------------------------…
13000 +--------------------------------------------------------------------------------------------------…
13002--------------------------------------------------------------------------------------------------…
13003 …ariable` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is` |nbsp| |+-------------------------+| |nbsp|…
13005 … |+-------------------------+| …
13007 … |+-------------------------+| …
13008--------------------------------------------------------------------------------------------------…
13010 +--------------------------------------------------------------------------------------------------…
13012 +--------------------------------------------------------------------------------------------------…
13014--------------------------------------------------------------------------------------------------…
13016--------------------------------------------------------------------------------------------------…
13018--------------------------------------------------------------------------------------------------…
13019 … :placeholder:`A` |nbsp| :diagtext:`is uninitialized when` |nbsp| |+-----------------------------+|
13021 … |+-----------------------------+|
13023 … |+-----------------------------+|
13024--------------------------------------------------------------------------------------------------…
13027 -Wunknown-argument
13028 ------------------
13033 +--------------------------------------------------------------------------------------------------…
13034 |:warning:`warning:` |nbsp| :diagtext:`unknown argument ignored in clang-cl: '`:placeholder:`A`:dia…
13035 +--------------------------------------------------------------------------------------------------…
13037--------------------------------------------------------------------------------------------------…
13038 |:warning:`warning:` |nbsp| :diagtext:`unknown argument ignored in clang-cl '`:placeholder:`A`:diag…
13039--------------------------------------------------------------------------------------------------…
13042 -Wunknown-attributes
13043 --------------------
13048 +--------------------------------------------------------------------------------------------------…
13050 +--------------------------------------------------------------------------------------------------…
13053 -Wunknown-cuda-version
13054 ----------------------
13059--------------------------------------------------------------------------------------------------…
13061--------------------------------------------------------------------------------------------------…
13064 -Wunknown-escape-sequence
13065 -------------------------
13070 +-----------------------------------------------------------------------------------------------+
13072 +-----------------------------------------------------------------------------------------------+
13075 -Wunknown-pragmas
13076 -----------------
13081 +------------------------------------------------------------------------------------+
13083 +------------------------------------------------------------------------------------+
13085 +--------------------------------------------------------------------------+
13087 +--------------------------------------------------------------------------+
13089 +-----------------------------------------------------------------------+
13091 +-----------------------------------------------------------------------+
13093 +--------------------------------------------------------------------------------------------+
13095 +--------------------------------------------------------------------------------------------+
13097 +--------------------------------------------------------------------------------------------------…
13099 +--------------------------------------------------------------------------------------------------…
13101 +----------------------------------------------------------------------------------------------+
13102 |:warning:`warning:` |nbsp| :diagtext:`pragma diagnostic expected option name (e.g. "-Wundef")`|
13103 +----------------------------------------------------------------------------------------------+
13105 +----------------------------------------------------------------------------+
13107 +----------------------------------------------------------------------------+
13109 +--------------------------------------------------------------------------------------------------…
13111 +--------------------------------------------------------------------------------------------------…
13113 +--------------------------------------------------------------------------------------------------…
13114 …execution\_character\_set invalid value '`:placeholder:`A`:diagtext:`', only 'UTF-8' is supported`|
13115 +--------------------------------------------------------------------------------------------------…
13117 +-------------------------------------------------------------------------------------------------+
13119 +-------------------------------------------------------------------------------------------------+
13121 +-------------------------------------------------------------+
13123 +-------------------------------------------------------------+
13125 +--------------------------------------------------------------------------------------------------…
13127 +--------------------------------------------------------------------------------------------------…
13129 +--------------------------------------------------------------------------------------+
13131 +--------------------------------------------------------------------------------------+
13133--------------------------------------------------------------------------------------------------…
13134 …ng:`warning:` |nbsp| :diagtext:`angle-bracketed include <`:placeholder:`A`:diagtext:`> cannot be a…
13135--------------------------------------------------------------------------------------------------…
13137--------------------------------------------------------------------------------------------------…
13138 …ing:`warning:` |nbsp| :diagtext:`double-quoted include "`:placeholder:`A`:diagtext:`" cannot be al…
13139--------------------------------------------------------------------------------------------------…
13141 +----------------------------------------------------------------------------------------------+
13143 +----------------------------------------------------------------------------------------------+
13145 +--------------------------------------------------------------------------------+
13147 +--------------------------------------------------------------------------------+
13149 +--------------------------------------------------------------------------------------------------…
13151 +--------------------------------------------------------------------------------------------------…
13153 +--------------------------------------------------------------------------------------------------…
13155 +--------------------------------------------------------------------------------------------------…
13157 +--------------------------------------------------------------------------------------------------…
13159 +--------------------------------------------------------------------------------------------------…
13162 -Wunknown-sanitizers
13163 --------------------
13168 +-----------------------------------------------------------------------------------------------+
13170 +-----------------------------------------------------------------------------------------------+
13173 -Wunknown-warning-option
13174 ------------------------
13179 +--------------------------------------------------------------------------------------------------…
13181 +--------------------------------------------------------------------------------------------------…
13183------------------------------------------------------+---------------------+---------------------…
13184 …sp| |+-------------------+| |nbsp| :diagtext:`option '`:placeholder:`B`:diagtext:`'`|+------------…
13186 … |+-------------------+| |+------------…
13187 … ||+---------------------------------------------------…
13188 | |+-------------------+| …
13189 … ||+---------------------------------------------------…
13190 … |+----------------------------------------------------…
13191------------------------------------------------------+---------------------+---------------------…
13193 +--------------------------------------------------------------------------------------------------…
13195 +--------------------------------------------------------------------------------------------------…
13198 -Wunnamed-type-template-args
13199 ----------------------------
13202 Also controls `-Wc++98-compat-unnamed-type-template-args`_.
13206 +--------------------------------------------------------------------------+
13208 +--------------------------------------------------------------------------+
13211 -Wunneeded-internal-declaration
13212 -------------------------------
13215 +---------------------------+----------------------+-----------------------------------------------…
13216 |:warning:`warning:` |nbsp| |+--------------------+| |nbsp| :placeholder:`B` |nbsp| :diagtext:`is n…
13218 | |+--------------------+| …
13220 | |+--------------------+| …
13221 +---------------------------+----------------------+-----------------------------------------------…
13223--------------------------------------------------------------------------------------------------…
13225--------------------------------------------------------------------------------------------------…
13228 -Wunneeded-member-function
13229 --------------------------
13232 +--------------------------------------------------------------------------------------------------…
13234 +--------------------------------------------------------------------------------------------------…
13237 -Wunreachable-code
13238 ------------------
13239 Also controls `-Wunreachable-code-loop-increment`_.
13243 +------------------------------------------------------------------+
13245 +------------------------------------------------------------------+
13248 -Wunreachable-code-aggressive
13249 -----------------------------
13250 Controls `-Wunreachable-code`_, `-Wunreachable-code-break`_, `-Wunreachable-code-return`_.
13253 -Wunreachable-code-break
13254 ------------------------
13257 +---------------------------------------------------------------------+
13259 +---------------------------------------------------------------------+
13262 -Wunreachable-code-loop-increment
13263 ---------------------------------
13266 +-------------------------------------------------------------------------------------------------+
13268 +-------------------------------------------------------------------------------------------------+
13271 -Wunreachable-code-return
13272 -------------------------
13275 +----------------------------------------------------------------------+
13277 +----------------------------------------------------------------------+
13280 -Wunsequenced
13281 -------------
13286 +--------------------------------------------------------------------------------------------------…
13288 +--------------------------------------------------------------------------------------------------…
13290 +--------------------------------------------------------------------------------------------------…
13292 +--------------------------------------------------------------------------------------------------…
13295 -Wunsupported-abs
13296 -----------------
13301 +--------------------------------------------------------------------------------------------------…
13302 |:warning:`warning:` |nbsp| :diagtext:`ignoring '-mabs=2008' option because the '`:placeholder:`A`:…
13303 +--------------------------------------------------------------------------------------------------…
13305 +--------------------------------------------------------------------------------------------------…
13306 |:warning:`warning:` |nbsp| :diagtext:`ignoring '-mabs=legacy' option because the '`:placeholder:`A…
13307 +--------------------------------------------------------------------------------------------------…
13310 -Wunsupported-availability-guard
13311 --------------------------------
13316---------------------------+------------------------------------+---------------------------------…
13317 …|nbsp| |+----------------------------------+| |nbsp| :diagtext:`does not guard availability here; …
13319 … |+----------------------------------+| …
13321 … |+----------------------------------+| …
13322---------------------------+------------------------------------+---------------------------------…
13325 -Wunsupported-cb
13326 ----------------
13331--------------------------------------------------------------------------------------------------…
13332 |:warning:`warning:` |nbsp| :diagtext:`ignoring '-mcompact-branches=' option because the '`:placeho…
13333--------------------------------------------------------------------------------------------------…
13336 -Wunsupported-dll-base-class-template
13337 -------------------------------------
13340---------------------------------------------------------------------------+----------------------…
13341 …` |nbsp| :diagtext:`propagating dll attribute to` |nbsp| |+----------------------------------+| |n…
13343 … |+----------------------------------+| …
13345 … |+----------------------------------+| …
13346---------------------------------------------------------------------------+----------------------…
13349 -Wunsupported-friend
13350 --------------------
13355--------------------------------------------------------------------------------------------------…
13357--------------------------------------------------------------------------------------------------…
13359--------------------------------------------------------------------------------------------------…
13361--------------------------------------------------------------------------------------------------…
13364 -Wunsupported-gpopt
13365 -------------------
13370--------------------------------------------------------------------------------------------------
13371 …| :diagtext:`ignoring '-mgpopt' option as it cannot be used with` |nbsp| |+-----------------------…
13373 … |+-----------------------------------------+…
13375 … |+-----------------------------------------+…
13376--------------------------------------------------------------------------------------------------
13379 -Wunsupported-nan
13380 -----------------
13385 +--------------------------------------------------------------------------------------------------…
13386 |:warning:`warning:` |nbsp| :diagtext:`ignoring '-mnan=2008' option because the '`:placeholder:`A`:…
13387 +--------------------------------------------------------------------------------------------------…
13389 +--------------------------------------------------------------------------------------------------…
13390 |:warning:`warning:` |nbsp| :diagtext:`ignoring '-mnan=legacy' option because the '`:placeholder:`A…
13391 +--------------------------------------------------------------------------------------------------…
13394 -Wunsupported-target-opt
13395 ------------------------
13400--------------------------------------------------------------------------------------------------…
13402--------------------------------------------------------------------------------------------------…
13405 -Wunsupported-visibility
13406 ------------------------
13411 +--------------------------------------------------------------------------------------------------…
13413 +--------------------------------------------------------------------------------------------------…
13416 -Wunusable-partial-specialization
13417 ---------------------------------
13418 This diagnostic is an error by default, but the flag ``-Wno-unusable-partial-specialization`` can b…
13422-----------------------+----------------------+---------------------------------------------------…
13423 …or:` |nbsp| |+--------------------+| |nbsp| :diagtext:`template partial specialization contains` |…
13425 … |+--------------------+| …
13427 … |+--------------------+| …
13428-----------------------+----------------------+---------------------------------------------------…
13431 -Wunused
13432 --------
13435-Wunused-argument`_, `-Wunused-function`_, `-Wunused-label`_, `-Wunused-lambda-capture`_, `-Wunuse…
13438 -Wunused-argument
13439 -----------------
13442 -Wunused-command-line-argument
13443 ------------------------------
13448 +--------------------------------------------------------------------------------------------------…
13449 |:warning:`warning:` |nbsp| :diagtext:`argument '`:placeholder:`A`:diagtext:`' requires profile-gui…
13450 +--------------------------------------------------------------------------------------------------…
13452 +--------------------------------------------------------------------------------------------------…
13454 +--------------------------------------------------------------------------------------------------…
13456--------------------------------------------------------------------------------------------------…
13457 …laceholder:`B`:diagtext:`' input unused`|+--------------------------------------------------------…
13458 … ||+-------------------------------------------------------…
13460 … ||+-------------------------------------------------------…
13461 … |+--------------------------------------------------------…
13463 … |+--------------------------------------------------------…
13464--------------------------------------------------------------------------------------------------…
13466 +--------------------------------------------------------------------------------------------------…
13468 +--------------------------------------------------------------------------------------------------…
13470--------------------------------------------------------------------------------------+-----------…
13471 …ext:`: previously preprocessed input`|+-----------------------------------------------------------…
13472 … ||+----------------------------------------------------------…
13474 … ||+----------------------------------------------------------…
13475 … |+-----------------------------------------------------------…
13477 … |+-----------------------------------------------------------…
13478--------------------------------------------------------------------------------------+-----------…
13480 +--------------------------------------------------------------------------------------------------…
13482 +--------------------------------------------------------------------------------------------------…
13484 +--------------------------------------------------------------------------------------------------…
13486 +--------------------------------------------------------------------------------------------------…
13488 +--------------------------------------------------------------------------------------+
13489 |:warning:`warning:` |nbsp| :diagtext:`ignoring -fdiscard-value-names for LLVM Bitcode`|
13490 +--------------------------------------------------------------------------------------+
13493 -Wunused-comparison
13494 -------------------
13499 +---------------------------+------------------------+--------------------------------------------+
13500 |:warning:`warning:` |nbsp| |+----------------------+| |nbsp| :diagtext:`comparison result unused`|
13502 | |+----------------------+| |
13504 | |+----------------------+| |
13506 | |+----------------------+| |
13507 | ||:diagtext:`three-way` || |
13508 | |+----------------------+| |
13509 +---------------------------+------------------------+--------------------------------------------+
13512 -Wunused-const-variable
13513 -----------------------
13516 +------------------------------------------------------------------------------+
13518 +------------------------------------------------------------------------------+
13521 -Wunused-exception-parameter
13522 ----------------------------
13525 +-----------------------------------------------------------------------------------------+
13527 +-----------------------------------------------------------------------------------------+
13530 -Wunused-function
13531 -----------------
13532 Also controls `-Wunneeded-internal-declaration`_.
13536 +------------------------------------------------------------------------------+
13538 +------------------------------------------------------------------------------+
13541 -Wunused-getter-return-value
13542 ----------------------------
13547 +--------------------------------------------------------------------------------------------------…
13548 |:warning:`warning:` |nbsp| :diagtext:`property access result unused - getters should not be used f…
13549 +--------------------------------------------------------------------------------------------------…
13552 -Wunused-label
13553 --------------
13556 +---------------------------------------------------------------------------+
13558 +---------------------------------------------------------------------------+
13561 -Wunused-lambda-capture
13562 -----------------------
13565--------------------------------------------------------------------------------------------------…
13566 …:placeholder:`A` |nbsp| :diagtext:`is not` |nbsp| |+----------------------------------------------…
13568 … |+----------------------------------------------…
13570 … |+----------------------------------------------…
13571--------------------------------------------------------------------------------------------------…
13574 -Wunused-local-typedef
13575 ----------------------
13578 +-----------------------------------------------------+------------------------+-------------------…
13579 |:warning:`warning:` |nbsp| :diagtext:`unused` |nbsp| |+----------------------+| |nbsp| :placeholde…
13581 | |+----------------------+| …
13583 | |+----------------------+| …
13584 +-----------------------------------------------------+------------------------+-------------------…
13587 -Wunused-local-typedefs
13588 -----------------------
13589 Synonym for `-Wunused-local-typedef`_.
13592 -Wunused-macros
13593 ---------------
13596 +--------------------------------------------------------+
13598 +--------------------------------------------------------+
13601 -Wunused-member-function
13602 ------------------------
13603 Also controls `-Wunneeded-member-function`_.
13607 +-------------------------------------------------------------------------------------+
13609 +-------------------------------------------------------------------------------------+
13612 -Wunused-parameter
13613 ------------------
13616 +-------------------------------------------------------------------------------+
13618 +-------------------------------------------------------------------------------+
13621 -Wunused-private-field
13622 ----------------------
13625 +--------------------------------------------------------------------------------------------------…
13627 +--------------------------------------------------------------------------------------------------…
13630 -Wunused-property-ivar
13631 ----------------------
13634--------------------------------------------------------------------------------------------------…
13636--------------------------------------------------------------------------------------------------…
13639 -Wunused-result
13640 ---------------
13645 +--------------------------------------------------------------------------------------------------…
13647 +--------------------------------------------------------------------------------------------------…
13649--------------------------------------------------------------------------------------------------…
13651--------------------------------------------------------------------------------------------------…
13654 -Wunused-template
13655 -----------------
13656 Also controls `-Wunneeded-internal-declaration`_.
13660 +-----------------------------------------------------+----------------------+---------------------…
13661 |:warning:`warning:` |nbsp| :diagtext:`unused` |nbsp| |+--------------------+| |nbsp| :diagtext:`te…
13663 | |+--------------------+| …
13665 | |+--------------------+| …
13666 +-----------------------------------------------------+----------------------+---------------------…
13669 -Wunused-value
13670 --------------
13673 Also controls `-Wunevaluated-expression`_, `-Wunused-comparison`_, `-Wunused-result`_.
13677 +--------------------------------------------------------------------------------------------------…
13679 +--------------------------------------------------------------------------------------------------…
13681 +--------------------------------------------------------------------------------------------------…
13683 +--------------------------------------------------------------------------------------------------…
13685--------------------------------------------------------------------------------------------------…
13687--------------------------------------------------------------------------------------------------…
13689 +--------------------------------------------------------------------------------------------------…
13690 |:warning:`warning:` |nbsp| :diagtext:`container access result unused - container access should not…
13691 +--------------------------------------------------------------------------------------------------…
13693 +---------------------------------------------------------------+
13695 +---------------------------------------------------------------+
13697 +-----------------------------------------------------------------------------------------------+
13699 +-----------------------------------------------------------------------------------------------+
13702 -Wunused-variable
13703 -----------------
13704 Also controls `-Wunused-const-variable`_.
13708 +------------------------------------------------------------------------------+
13710 +------------------------------------------------------------------------------+
13713 -Wunused-volatile-lvalue
13714 ------------------------
13719 +--------------------------------------------------------------------------------------------------…
13721 +--------------------------------------------------------------------------------------------------…
13724 -Wused-but-marked-unused
13725 ------------------------
13728 +---------------------------------------------------------------------------------------------+
13730 +---------------------------------------------------------------------------------------------+
13733 -Wuser-defined-literals
13734 -----------------------
13739--------------------------------------------------------------------------------------------------…
13740 …sp| :diagtext:`user-defined literal suffixes not starting with '\_' are reserved`|+---------------…
13742 … |+-----------------------------------------------…
13744 … |+-----------------------------------------------…
13745--------------------------------------------------------------------------------------------------…
13748 -Wuser-defined-warnings
13749 -----------------------
13757 -Wvarargs
13758 ---------
13763 +--------------------------------------------------------------------------------------------------…
13765 +--------------------------------------------------------------------------------------------------…
13767--------------------------------------------------------------------------------------------------…
13769--------------------------------------------------------------------------------------------------…
13771------------------------------------------------------+-------------------------------------------…
13772 …arning:` |nbsp| :diagtext:`passing` |nbsp| |+-----------------------------------------------------…
13774 … |+-----------------------------------------------------…
13776 … |+-----------------------------------------------------…
13778 … |+-----------------------------------------------------…
13779------------------------------------------------------+-------------------------------------------…
13782 -Wvariadic-macros
13783 -----------------
13788 +--------------------------------------------------------------------------------+
13790 +--------------------------------------------------------------------------------+
13792 +--------------------------------------------------------------------------------------------------…
13794 +--------------------------------------------------------------------------------------------------…
13796 +------------------------------------------------------------------------+
13798 +------------------------------------------------------------------------+
13801 -Wvec-elem-size
13802 ---------------
13803 This diagnostic is an error by default, but the flag ``-Wno-vec-elem-size`` can be used to disable …
13807--------------------------------------------------------------------------------------------------…
13809--------------------------------------------------------------------------------------------------…
13812 -Wvector-conversion
13813 -------------------
13816 +------------------------------------------------------------------------+-------------------------…
13817 …iagtext:`incompatible vector types` |nbsp| |+-----------------------------------------------------…
13819 … |+-----------------------------------------------------…
13821 … |+-----------------------------------------------------…
13823 … |+-----------------------------------------------------…
13825 … |+-----------------------------------------------------…
13827 … |+-----------------------------------------------------…
13829 … |+-----------------------------------------------------…
13831 … |+-----------------------------------------------------…
13832 +------------------------------------------------------------------------+-------------------------…
13835 -Wvector-conversions
13836 --------------------
13837 Synonym for `-Wvector-conversion`_.
13840 -Wvexing-parse
13841 --------------
13846 +----------------------------------------------------------------------------------------------+
13848 +----------------------------------------------------------------------------------------------+
13850 +-----------------------------------------------------------------------------------------------+
13852 +-----------------------------------------------------------------------------------------------+
13854--------------------------------------------------------------------------------------------------…
13856--------------------------------------------------------------------------------------------------…
13859 -Wvisibility
13860 ------------
13865 +--------------------------------------------------------------------------------------------------…
13867 +--------------------------------------------------------------------------------------------------…
13869 +--------------------------------------------------------------------------------------------------…
13871 +--------------------------------------------------------------------------------------------------…
13874 -Wvla
13875 -----
13878 +-----------------------------------------------------------------+
13880 +-----------------------------------------------------------------+
13883 -Wvla-extension
13884 ---------------
13887 +-------------------------------------------------------------------------------+
13889 +-------------------------------------------------------------------------------+
13892 -Wvoid-pointer-to-enum-cast
13893 ---------------------------
13898 +--------------------------------------------------------------------------------------------------…
13900 +--------------------------------------------------------------------------------------------------…
13903 -Wvoid-pointer-to-int-cast
13904 --------------------------
13907 Also controls `-Wvoid-pointer-to-enum-cast`_.
13911 +--------------------------------------------------------------------------------------------------…
13913 +--------------------------------------------------------------------------------------------------…
13916 -Wvoid-ptr-dereference
13917 ----------------------
13922 +--------------------------------------------------------------------------------------------------…
13924 +--------------------------------------------------------------------------------------------------…
13927 -Wvolatile-register-var
13928 -----------------------
13931 -Wweak-template-vtables
13932 -----------------------
13935--------------------------------------------------------------------------------------------------…
13937--------------------------------------------------------------------------------------------------…
13940 -Wweak-vtables
13941 --------------
13944--------------------------------------------------------------------------------------------------…
13945 |:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`has no out-of-line virtual method de…
13946--------------------------------------------------------------------------------------------------…
13949 -Wwritable-strings
13950 ------------------
13953 Also controls `-Wdeprecated-writable-strings`_.
13957 +--------------------------------------------------------------------------------------------------…
13959 +--------------------------------------------------------------------------------------------------…
13962 -Wwrite-strings
13963 ---------------
13964 Synonym for `-Wwritable-strings`_.
13967 -Wxor-used-as-pow
13968 -----------------
13973 +--------------------------------------------------------------------------------------------------…
13975 +--------------------------------------------------------------------------------------------------…
13977--------------------------------------------------------------------------------------------------…
13979--------------------------------------------------------------------------------------------------…
13981--------------------------------------------------------------------------------------------------…
13983--------------------------------------------------------------------------------------------------…
13986 -Wzero-as-null-pointer-constant
13987 -------------------------------
13990 +--------------------------------------------------------------------+
13992 +--------------------------------------------------------------------+
13995 -Wzero-length-array
13996 -------------------
13999 +------------------------------------------------------------------------+
14001 +------------------------------------------------------------------------+
14004 -Wwasm-exception-spec
14005 ---------------------
14008 +--------------------------------------------------------------------------------------------------…
14010 +--------------------------------------------------------------------------------------------------…