Mário Feroldi
d16c4d20f8
Suppress warning about missing noreturn attribute (#549)
Suppress warning about missing noreturn attribute
Adding `[[noreturn]]` to `report_unknown_type` suppresses the Clang/GCC `-Wmissing-noreturn` warning:
Clang outputs:
.../fmt/fmt/format.cc:294:74: warning:
function 'report_unknown_type' could be declared with
attribute 'noreturn' [-Wmissing-noreturn]
...code, const char *type) {
^
GCC outputs:
.../fmt/fmt/format.cc:294:74: warning: function might be candidate for
attribute 'noreturn' [-Wsuggest-attribute=noreturn]
...code, const char *type) {
^
2017-07-21 20:47:01 -07:00
..
2017-06-25 08:08:26 -07:00
2017-01-05 20:44:35 -08:00
2017-06-25 06:07:57 -07:00
2017-07-21 20:47:01 -07:00
2016-10-11 06:45:04 -07:00
2017-05-06 08:36:54 -07:00
2017-05-03 21:22:01 +02:00
2017-05-05 14:58:09 +02:00
2016-11-11 18:27:39 +01:00
2017-05-05 14:58:09 +02:00
2017-07-11 20:45:17 +02:00
2016-11-06 09:05:58 -08:00