Code builds without -Wall, but not with -Wall
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| gcc-9 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
The following code
-------
#include <boost/
#include <fmt/format.h>
#include <fmt/ostream.h>
template<typename Stored,
Stored Min,
Stored Max,
typename P,
typename E>
struct fmt::formatter<
boost:
Stored, Min, Max, P, E
>
> : fmt::ostream_
{
};
void test()
{
fmt:
}
-------
, using fmt 9.1.0 and Boost 1.80, builds in Ubuntu 20.04, with the default gcc (9.4.0-
The problem also exists with g++-10 10.3.0-

Bug is not reproducible in kinetic with packaged versions of fmt and boost and g++ 12.
Given library versions are not shipped in 20.04.