mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-30 00:00:11 +01:00
Fix some compiler warnings in fpga code
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
parent
a2abaa3cda
commit
29cf5540a0
2 changed files with 6 additions and 2 deletions
|
@ -52,3 +52,9 @@ private:
|
||||||
} // namespace ip
|
} // namespace ip
|
||||||
} // namespace fpga
|
} // namespace fpga
|
||||||
} // namespace villas
|
} // namespace villas
|
||||||
|
|
||||||
|
#ifndef FMT_LEGACY_OSTREAM_FORMATTER
|
||||||
|
template <>
|
||||||
|
class fmt::formatter<villas::fpga::ip::RtdsGtfpga>
|
||||||
|
: public fmt::ostream_formatter {};
|
||||||
|
#endif
|
||||||
|
|
|
@ -17,8 +17,6 @@ int main(int argc, char *argv[])
|
||||||
villasfpga_handle vh;
|
villasfpga_handle vh;
|
||||||
villasfpga_memory mem1, mem2;
|
villasfpga_memory mem1, mem2;
|
||||||
void *mem1ptr, *mem2ptr;
|
void *mem1ptr, *mem2ptr;
|
||||||
char line[1024];
|
|
||||||
float f;
|
|
||||||
size_t size;
|
size_t size;
|
||||||
|
|
||||||
if (argv == NULL) {
|
if (argv == NULL) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue