Skip to content

Workaround for a warning in a Boost spirit header

This is a port of gaudi/Gaudi!1476 (77ed9947) to work around the warning

include/boost/spirit/.../real_impl.hpp:337:45: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized]
  337 |             traits::assign_to(traits::negate(neg, n), attr);
      |                               ~~~~~~~~~~~~~~^~~~~~~~

Note that the warning is not visible in the nightly builds because we ignore warnings coming from Boost in the reports, but it's very annoying in interactive builds.

Merge request reports

Loading