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

Warnings building PropertySet

    Details

    • Type: Bug
    • Status: Won't Fix
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: daf_base
    • Labels:
      None
    • Templates:
    • Team:
      Data Access and Database

      Description

      When I build daf_base on MacOS I see the following warnings about PropertySet:

      src/PropertySet.cc:983:1: warning: explicit instantiation of 'add<std::__1::shared_ptr<lsst::daf::base::PropertySet> >' that occurs after an explicit specialization has no effect
            [-Winstantiation-after-specialization]
      INSTANTIATE(dafBase::PropertySet::Ptr)
      ^
      src/PropertySet.cc:965:41: note: expanded from macro 'INSTANTIATE'
          template void dafBase::PropertySet::add<t>(string const& name, t const& value); \
                                              ^
      include/lsst/daf/base/PropertySet.h:190:30: note: previous template specialization is here
      template<> void PropertySet::add<PropertySet::Ptr>(
                                   ^
      src/PropertySet.cc:983:1: warning: explicit instantiation of 'add<std::__1::shared_ptr<lsst::daf::base::PropertySet> >' that occurs after an explicit specialization has no effect
            [-Winstantiation-after-specialization]
      INSTANTIATE(dafBase::PropertySet::Ptr)
      ^
      src/PropertySet.cc:966:41: note: expanded from macro 'INSTANTIATE'
          template void dafBase::PropertySet::add<t>(string const& name, vector<t> const& value);
                                              ^
      include/lsst/daf/base/PropertySet.h:192:30: note: previous template specialization is here
      template<> void PropertySet::add<PropertySet::Ptr>(
                                   ^
      1 warning generated.
      

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  rowen Russell Owen
                  Watchers:
                  Kian-Tat Lim, Russell Owen
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel