Kitware / KWStyle

Kitware Style Checker
Other
53 stars 30 forks source link

Updating bundled boost to the latest version using the script #111

Closed dzenanz closed 7 months ago

dzenanz commented 7 months ago

Closes #110.

dzenanz commented 7 months ago

@seanm please review and try on your machine.

seanm commented 7 months ago

It builds now! I didn't test more than that.

There is one warning:

/Users/sean/external/KWStyle/Utilities/boost/throw_exception.hpp:224:105: warning: predefined identifier is only valid inside function [-Wpredefined-identifier-outside-function]
  224 | template<class E> BOOST_NORETURN void throw_with_location( E && e, boost::source_location const & loc = BOOST_CURRENT_LOCATION )
      |                                                                                                         ^
/Users/sean/external/KWStyle/Utilities/boost/assert/source_location.hpp:95:79: note: expanded from macro 'BOOST_CURRENT_LOCATION'
   95 | #  define BOOST_CURRENT_LOCATION ::boost::source_location(__FILE__, __LINE__, BOOST_CURRENT_FUNCTION)
      |                                                                               ^
/Users/sean/external/KWStyle/Utilities/boost/current_function.hpp:37:33: note: expanded from macro 'BOOST_CURRENT_FUNCTION'
   37 | # define BOOST_CURRENT_FUNCTION __PRETTY_FUNCTION__
      |                                 ^
1 warning generated.

But I guess boost will fix that one day...