Files
unison/src/fd-net-device
Martin Belanger e5eefa6a5b fd-net-device: Fix variable length array warning
On Ubuntu 24.04 with gcc 13.3.0, I get the following compilation error:

.../ns-3-dev/src/fd-net-device/helper/netmap-net-device-helper.cc: In member function ‘virtual int ns3::NetmapNetDeviceHelper::CreateFileDescriptor() const’:
.../ns-3-dev/src/fd-net-device/helper/netmap-net-device-helper.cc:354:14: error: ISO C++ forbids variable length array ‘control’ [-Werror=vla]
  354 |         char control[CMSG_SPACE(msg_size)];
      |              ^~~~~~~

Signed-off-by: Martin Belanger <martin.belanger@dell.com>
2025-02-06 05:09:15 +00:00
..
2024-11-08 18:05:46 +00:00