diff --git a/fpga/include/villas/fpga/ips/rtds.hpp b/fpga/include/villas/fpga/ips/rtds.hpp index e46f4a1c6..8027c3be8 100644 --- a/fpga/include/villas/fpga/ips/rtds.hpp +++ b/fpga/include/villas/fpga/ips/rtds.hpp @@ -52,3 +52,9 @@ private: } // namespace ip } // namespace fpga } // namespace villas + +#ifndef FMT_LEGACY_OSTREAM_FORMATTER +template <> +class fmt::formatter + : public fmt::ostream_formatter {}; +#endif diff --git a/fpga/tests/unit/dma.c b/fpga/tests/unit/dma.c index 7b9ac2949..436bb5ddf 100644 --- a/fpga/tests/unit/dma.c +++ b/fpga/tests/unit/dma.c @@ -17,8 +17,6 @@ int main(int argc, char *argv[]) villasfpga_handle vh; villasfpga_memory mem1, mem2; void *mem1ptr, *mem2ptr; - char line[1024]; - float f; size_t size; if (argv == NULL) {