acxz / gazebo-arch

A collection of Arch Linux PKGBUILDS for the Gazebo Simulator
19 stars 11 forks source link

[ignition-rendering] exchange is not a member of std #34

Closed acxz closed 2 years ago

acxz commented 2 years ago
/build/ignition-rendering/src/gz-rendering-ignition-rendering6_6.4.0/src/BoundingBox.cc: In constructor ‘ignition::rendering::v6::BoundingBox::BoundingBox(ignition::rendering::v6::BoundingBox&&)’:
/build/ignition-rendering/src/gz-rendering-ignition-rendering6_6.4.0/src/BoundingBox.cc:48:18: error: ‘exchange’ is not a member of ‘std’
   48 |   : dataPtr(std::exchange(_texture.dataPtr, nullptr))
      |                  ^~~~~~~~
make[2]: *** [src/CMakeFiles/ignition-rendering6.dir/build.make:76: src/CMakeFiles/ignition-rendering6.dir/BoundingBox.cc.o] Error 1
acxz commented 2 years ago

dup of #31