John Steele Scott 772aeca338
Don't include <cassert>. (#2148) (#2152)
* Don't include <cassert>. (#2148)

This commit replaces use of the assert() macro in format-inl.h with
FMT_ASSERT(). This allows us to drop the cassert include.

* FMT_GCC_VERSION is not defined when we include test-assert.h, use __GCC__ instead.

* Don't explicitly suppress GCC's -Wterminate in tests' FMT_ASSERT.

Throwing from a separate function is enough to silence the warning, no need to
explicitly suppress it.

* Remove messages from assertions added in 2f699d2.

* Correct formatting around throw_assertion_failure().
2021-03-04 07:28:04 -08:00
..
2020-11-03 19:34:35 -08:00
2017-03-09 06:09:43 -08:00
2020-12-24 07:07:15 -08:00
2020-09-06 09:26:32 -07:00
2021-02-28 15:25:33 -08:00
2020-11-11 09:12:15 -08:00
2020-09-06 08:24:15 -07:00
2020-04-01 08:42:14 -07:00
2020-05-10 07:34:30 -07:00
2020-06-06 08:15:33 -07:00
2020-05-07 15:59:46 -07:00
2020-05-07 15:59:46 -07:00