Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-5394

Investigate boost compiler warnings and update boost to v1.60

    Details

    • Templates:
    • Story Points:
      2
    • Team:
      Architecture

      Description

      As reported in comments in DM-1304 clang now triggers many warnings with Boost v1.59:

      /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/boost/1.59.lsst5/include/boost/archive/detail/check.hpp:148:5: warning: unused typedef 'STATIC_WARNING_LINE148' [-Wunused-local-typedef]
          BOOST_STATIC_WARNING(typex::value);
          ^
      /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/boost/1.59.lsst5/include/boost/serialization/static_warning.hpp:100:33: note: expanded from macro 'BOOST_STATIC_WARNING'
      #define BOOST_STATIC_WARNING(B) BOOST_SERIALIZATION_BSW(B, __LINE__)
                                      ^
      /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/boost/1.59.lsst5/include/boost/serialization/static_warning.hpp:99:7: note: expanded from macro 'BOOST_SERIALIZATION_BSW'
          > BOOST_JOIN(STATIC_WARNING_LINE, L) BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE; 
            ^
      /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/boost/1.59.lsst5/include/boost/config/suffix.hpp:544:28: note: expanded from macro 'BOOST_JOIN'
      #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
                                 ^
      /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/boost/1.59.lsst5/include/boost/config/suffix.hpp:545:31: note: expanded from macro 'BOOST_DO_JOIN'
      #define BOOST_DO_JOIN( X, Y ) BOOST_DO_JOIN2(X,Y)
                                    ^
      /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/boost/1.59.lsst5/include/boost/config/suffix.hpp:546:32: note: expanded from macro 'BOOST_DO_JOIN2'
      #define BOOST_DO_JOIN2( X, Y ) X##Y
                                     ^
      <scratch space>:25:1: note: expanded from here
      STATIC_WARNING_LINE148
      ^
      

      v1.60 is the current version so we should see if these warnings have been fixed in that version.

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  tjenness Tim Jenness
                  Reporter:
                  tjenness Tim Jenness
                  Reviewers:
                  John Swinbank
                  Watchers:
                  John Swinbank, Robert Lupton, Russell Owen, Tim Jenness
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel