Ticket #616 (closed defect: fixed)

Opened 10 years ago

Last modified 7 years ago

Swig warns about `boost::noncopyable`

Reported by: rhl Owned by: ktl
Priority: minor Milestone:
Component: utils Keywords:
Cc: Blocked By:
Blocking: Project: LSST
Version Number: 3.4
How to repeat:

not applicable

Description

daf_base generates swig warnings such as:

/Users/rhl/Products-test/DarwinX86/daf_base/3.2/include/lsst/daf/base/PropertySet.h:43: Warning(401): Nothing known about base class 'boost::noncopyable'. Ignored.

The simplest fix seems to be to add

%ignore boost::noncopyable;
namespace boost {
    class noncopyable {};
}

to source:DMS/utils/trunk/python/lsst/p_lsstSwig.i

Change History

comment:1 Changed 10 years ago by ktl

  • Status changed from new to closed
  • Resolution set to fixed

Suggested addition merged to trunk in [7532].

comment:2 Changed 7 years ago by robyn

  • Milestone DC3 Infrastructure Prep deleted

Milestone DC3 Infrastructure Prep deleted

Note: See TracTickets for help on using tickets.