Changeset 3035 for trunk


Ignore:
Timestamp:
04/01/15 20:46:13 (9 years ago)
Author:
Kana Sugimoto
Message:

New Development: Yes

JIRA Issue: Yes (CAS-7383))

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes: No

Module(s): asap

Description: use libcasa_python instead of pyrap in cmake.


Location:
trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/CMakeLists.txt

    r3029 r3035  
    225225                      scimath
    226226                      scimath_f
    227                       tables )
     227                      tables
     228                      python )
    228229   set( _casacore_libs "" )
    229230   foreach( _a ${CASACORE_LIBS} )
     
    278279message( STATUS "CASACORE_INCLUDE_DIR = " ${CASACORE_INCLUDE_DIR} )
    279280unset( USE_LIBCASACORE CACHE )
    280 
    281281
    282282#
     
    692692set( ASAPPYLIB _asap )
    693693set( ASAPLIB asap )
    694 set( PYRAPLIB pyrap )
     694#set( PYRAPLIB pyrap )
    695695set( ATNFLIB atnf )
    696696set( ASAP2TO3 asap2to3 )
  • trunk/apps/CMakeLists.txt

    r1966 r3035  
    1212target_link_libraries( ${ASAP2TO3}
    1313                       ${CASACORE_LIBRARIES}
     14                       ${PYTHON_LIBRARIES}
    1415                       ${DL_LIBRARIES}
    1516                       ${BLAS_LIBRARIES}
  • trunk/cmake/standalone.cmake

    r3028 r3035  
    3030macro( asap_add_subdirectory )
    3131   add_subdirectory( apps )
    32    add_subdirectory( external/libpyrap )
     32#   add_subdirectory( external/libpyrap )
    3333   add_subdirectory( external/atnf )
    3434   add_subdirectory( src )
  • trunk/cmake/withcasa.cmake

    r3028 r3035  
    221221macro( asap_add_subdirectory )
    222222   add_subdirectory( apps )
    223    add_subdirectory( external/libpyrap )
     223#   add_subdirectory( external/libpyrap )
    224224   add_subdirectory( external-alma/atnf )
    225225   add_subdirectory( src )
  • trunk/external-alma/asdm2ASAP/CMakeLists.txt

    r2197 r3035  
    1818
    1919# dependencies
    20 target_link_libraries( ${ASDM2ASAP} ${ASDM_LIBRARY}
     20target_link_libraries( ${ASDM2ASAP} ${Boost_LIBRARIES} ${ASDM_LIBRARY}
    2121                                    ${ASAPLIB} )
    2222add_dependencies( inst ${ASDM2ASAP} )
  • trunk/external-alma/atnf/CMakeLists.txt

    r2872 r3035  
    4848target_link_libraries( ${ATNFLIB}
    4949                       ${CASACORE_LIBRARIES}
     50                        ${PYTHON_LIBRARIES}
    5051                       ${CFITSIO_LIBRARIES}
    5152                       ${RPFITS_LIBRARIES}
  • trunk/src/CMakeLists.txt

    r3029 r3035  
    1010include_directories( ${SRCDIR}
    1111                     ${Boost_INCLUDE_DIR}
    12                      ${ASAPROOT}/external-alma
    13                      ${ASAPROOT}/external/libpyrap/pyrap-0.3.2 )
     12                     ${ASAPROOT}/external-alma )
     13#                     ${ASAPROOT}/external/libpyrap/pyrap-0.3.2 )
    1414
    1515# link path
     
    1717
    1818# use libpyrap
    19 add_definitions( -DHAVE_LIBPYRAP )
     19#add_definitions( -DHAVE_LIBPYRAP )
    2020
    2121# source files for libpyrap
     
    131131
    132132target_link_libraries( ${ASAPLIB}
    133                        #${Boost_LIBRARIES}
     133                       ${Boost_LIBRARIES}
    134134                       ${X11_LIBRARIES}
    135135                       ${PGPLOT_LIBRARIES}
    136                        ${PYRAPLIB}
     136                       #${PYRAPLIB}
    137137                       ${ATNFLIB}
    138138                       #${CASACORE_LIBRARIES}
  • trunk/src/python_asap.cpp

    r3034 r3035  
    9797  casacore::python::register_convert_std_vector<double>();
    9898  casacore::python::register_convert_std_vector<std::string>();
    99 //////////////see error below//////////////////////////////
    10099  casacore::python::register_convert_std_vector<bool>();
    101 ///////////////////////////////////////////////////////////
    102100  casacore::python::register_convert_casa_valueholder();
    103101  casacore::python::register_convert_casa_record();
    104102
    105103}
    106 //[ 79%] Building CXX object src/CMakeFiles/_asap.dir/python_asap.cpp.o
    107 //cd ...trunk/asap/build/src && /usr/bin/clang++   -DAIPS_AUTO_STL -DAIPS_DEBUG -DAIPS_STDLIB -DCASACORE_NEEDS_RETHROW -DCASA_USECASAPATH -DENABLE_PLOTTER2 -DHAVE_LIBPYTHON -DNOPKSMS -DUSE_CASAPY -DWITHOUT_ACS -D_GNU_SOURCE -D_asap_EXPORTS -pipe -Wall -Wextra -Wno-non-template-friend -Wcast-align -Wno-comment -ggdb3 -O0 -fno-omit-frame-pointer -fPIC -I...trunk/darwin/include/casacore -I...trunk/darwin/include/casacore/.. -I/opt/casa/01/include -I/opt/casa/01/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/opt/casa/01/Library/Frameworks/Python.framework/Versions/2.7/include -I/opt/casa/01/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include -I...trunk/asap/src -I...trunk/asap/external-alma -I...trunk/asap/external/libpython/python-0.3.2    -o CMakeFiles/_asap.dir/python_asap.cpp.o -c ...trunk/asap/src/python_asap.cpp
    108 //warning: unknown warning option '-Wno-non-template-friend'; did you mean '-Wno-unsupported-friend'? [-Wunknown-warning-option]
    109 //In file included from ...trunk/asap/src/python_asap.cpp:32:
    110 //In file included from /opt/casa/01/include/boost/python.hpp:29:
    111 //In file included from /opt/casa/01/include/boost/python/exec.hpp:9:
    112 ///opt/casa/01/include/boost/python/str.hpp:185:57: warning: unused parameter 'end' [-Wunused-parameter]
    113 //    long count(T1 const& sub,T2 const& start, T3 const& end) const
    114 //                                                        ^
    115 //In file included from ...trunk/asap/src/python_asap.cpp:32:
    116 //In file included from /opt/casa/01/include/boost/python.hpp:49:
    117 ///opt/casa/01/include/boost/python/opaque_pointer_converter.hpp:172:1: warning: missing field 'tp_version_tag' initializer [-Wmissing-field-initializers]
    118 //};
    119 //^
    120 //In file included from ...trunk/asap/src/python_asap.cpp:32:
    121 //In file included from /opt/casa/01/include/boost/python.hpp:52:
    122 //In file included from /opt/casa/01/include/boost/python/overloads.hpp:11:
    123 ///opt/casa/01/include/boost/python/detail/defaults_def.hpp:92:30: warning: unused parameter 'kw' [-Wunused-parameter]
    124 //      , keyword_range const& kw // ignored
    125 //                             ^
    126 //In file included from ...trunk/asap/src/python_asap.cpp:46:
    127 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:95:9: warning: cast from
    128 //      'boost::python::converter::rvalue_from_python_stage1_data *' to 'boost::python::converter::rvalue_from_python_storage<String> *' increases required alignment
    129 //      from 8 to 16 [-Wcast-align]
    130 //        (boost::python::converter::rvalue_from_python_storage<String>*)
    131 //        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    132 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:424:9: warning: cast from
    133 //      'boost::python::converter::rvalue_from_python_stage1_data *' to 'rvalue_from_python_storage<std::__1::vector<asap::ScantableWrapper,
    134 //      std::__1::allocator<asap::ScantableWrapper> > > *' increases required alignment from 8 to 16 [-Wcast-align]
    135 //        (rvalue_from_python_storage<ContainerType>*)
    136 //        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    137 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:367:10: note: in instantiation of member function
    138 //      'casacore::python::from_python_sequence<std::__1::vector<asap::ScantableWrapper, std::__1::allocator<asap::ScantableWrapper> >,
    139 //      casacore::python::stl_variable_capacity_policy>::construct' requested here
    140 //        &construct,
    141 //         ^
    142 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:543:2: note: in instantiation of member function
    143 //      'casacore::python::from_python_sequence<std::__1::vector<asap::ScantableWrapper, std::__1::allocator<asap::ScantableWrapper> >,
    144 //      casacore::python::stl_variable_capacity_policy>::from_python_sequence' requested here
    145 //        from_python_sequence < std::vector < T >,
    146 //        ^
    147 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:550:30: note: in instantiation of member function
    148 //      'casacore::python::convert_std_vector<asap::ScantableWrapper>::reg' requested here
    149 //    { convert_std_vector<T>::reg(); }
    150 //                             ^
    151 //...trunk/asap/src/python_asap.cpp:122:16: note: in instantiation of function template specialization
    152 //      'casacore::python::register_convert_std_vector<asap::ScantableWrapper>' requested here
    153 //  casacore::python::register_convert_std_vector<asap::ScantableWrapper>();
    154 //               ^
    155 //In file included from ...trunk/asap/src/python_asap.cpp:46:
    156 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:424:9: warning: cast from
    157 //      'boost::python::converter::rvalue_from_python_stage1_data *' to 'rvalue_from_python_storage<std::__1::vector<int, std::__1::allocator<int> > > *' increases
    158 //      required alignment from 8 to 16 [-Wcast-align]
    159 //        (rvalue_from_python_storage<ContainerType>*)
    160 //        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    161 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:367:10: note: in instantiation of member function
    162 //      'casacore::python::from_python_sequence<std::__1::vector<int, std::__1::allocator<int> >, casacore::python::stl_variable_capacity_policy>::construct' requested here
    163 //        &construct,
    164 //         ^
    165 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:543:2: note: in instantiation of member function
    166 //      'casacore::python::from_python_sequence<std::__1::vector<int, std::__1::allocator<int> >, casacore::python::stl_variable_capacity_policy>::from_python_sequence'
    167 //      requested here
    168 //        from_python_sequence < std::vector < T >,
    169 //        ^
    170 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:550:30: note: in instantiation of member function
    171 //      'casacore::python::convert_std_vector<int>::reg' requested here
    172 //    { convert_std_vector<T>::reg(); }
    173 //                             ^
    174 //...trunk/asap/src/python_asap.cpp:123:16: note: in instantiation of function template specialization
    175 //      'casacore::python::register_convert_std_vector<int>' requested here
    176 //  casacore::python::register_convert_std_vector<int>();
    177 //               ^
    178 //In file included from ...trunk/asap/src/python_asap.cpp:46:
    179 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:424:9: warning: cast from
    180 //      'boost::python::converter::rvalue_from_python_stage1_data *' to 'rvalue_from_python_storage<std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >
    181 //      > *' increases required alignment from 8 to 16 [-Wcast-align]
    182 //        (rvalue_from_python_storage<ContainerType>*)
    183 //        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    184 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:367:10: note: in instantiation of member function
    185 //      'casacore::python::from_python_sequence<std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >, casacore::python::stl_variable_capacity_policy>::construct'
    186 //      requested here
    187 //        &construct,
    188 //         ^
    189 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:543:2: note: in instantiation of member function
    190 //      'casacore::python::from_python_sequence<std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >,
    191 //      casacore::python::stl_variable_capacity_policy>::from_python_sequence' requested here
    192 //        from_python_sequence < std::vector < T >,
    193 //        ^
    194 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:550:30: note: in instantiation of member function
    195 //      'casacore::python::convert_std_vector<unsigned int>::reg' requested here
    196 //    { convert_std_vector<T>::reg(); }
    197 //                             ^
    198 //...trunk/asap/src/python_asap.cpp:124:16: note: in instantiation of function template specialization
    199 //      'casacore::python::register_convert_std_vector<unsigned int>' requested here
    200 //  casacore::python::register_convert_std_vector<uint>();
    201 //               ^
    202 //In file included from ...trunk/asap/src/python_asap.cpp:46:
    203 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:424:9: warning: cast from
    204 //      'boost::python::converter::rvalue_from_python_stage1_data *' to 'rvalue_from_python_storage<std::__1::vector<float, std::__1::allocator<float> > > *'
    205 //      increases required alignment from 8 to 16 [-Wcast-align]
    206 //        (rvalue_from_python_storage<ContainerType>*)
    207 //        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    208 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:367:10: note: in instantiation of member function
    209 //      'casacore::python::from_python_sequence<std::__1::vector<float, std::__1::allocator<float> >, casacore::python::stl_variable_capacity_policy>::construct' requested here
    210 //        &construct,
    211 //         ^
    212 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:543:2: note: in instantiation of member function
    213 //      'casacore::python::from_python_sequence<std::__1::vector<float, std::__1::allocator<float> >, casacore::python::stl_variable_capacity_policy>::from_python_sequence'
    214 //      requested here
    215 //        from_python_sequence < std::vector < T >,
    216 //        ^
    217 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:550:30: note: in instantiation of member function
    218 //      'casacore::python::convert_std_vector<float>::reg' requested here
    219 //    { convert_std_vector<T>::reg(); }
    220 //                             ^
    221 //...trunk/asap/src/python_asap.cpp:125:16: note: in instantiation of function template specialization
    222 //      'casacore::python::register_convert_std_vector<float>' requested here
    223 //  casacore::python::register_convert_std_vector<float>();
    224 //               ^
    225 //In file included from ...trunk/asap/src/python_asap.cpp:46:
    226 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:424:9: warning: cast from
    227 //      'boost::python::converter::rvalue_from_python_stage1_data *' to 'rvalue_from_python_storage<std::__1::vector<double, std::__1::allocator<double> > > *'
    228 //      increases required alignment from 8 to 16 [-Wcast-align]
    229 //        (rvalue_from_python_storage<ContainerType>*)
    230 //        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    231 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:367:10: note: in instantiation of member function
    232 //      'casacore::python::from_python_sequence<std::__1::vector<double, std::__1::allocator<double> >, casacore::python::stl_variable_capacity_policy>::construct' requested
    233 //      here
    234 //        &construct,
    235 //         ^
    236 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:543:2: note: in instantiation of member function
    237 //      'casacore::python::from_python_sequence<std::__1::vector<double, std::__1::allocator<double> >, casacore::python::stl_variable_capacity_policy>::from_python_sequence'
    238 //      requested here
    239 //        from_python_sequence < std::vector < T >,
    240 //        ^
    241 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:550:30: note: in instantiation of member function
    242 //      'casacore::python::convert_std_vector<double>::reg' requested here
    243 //    { convert_std_vector<T>::reg(); }
    244 //                             ^
    245 //...trunk/asap/src/python_asap.cpp:126:16: note: in instantiation of function template specialization
    246 //      'casacore::python::register_convert_std_vector<double>' requested here
    247 //  casacore::python::register_convert_std_vector<double>();
    248 //               ^
    249 //In file included from ...trunk/asap/src/python_asap.cpp:46:
    250 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:424:9: warning: cast from
    251 //      'boost::python::converter::rvalue_from_python_stage1_data *' to 'rvalue_from_python_storage<std::__1::vector<std::__1::basic_string<char>,
    252 //      std::__1::allocator<std::__1::basic_string<char> > > > *' increases required alignment from 8 to 16 [-Wcast-align]
    253 //        (rvalue_from_python_storage<ContainerType>*)
    254 //        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    255 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:367:10: note: in instantiation of member function
    256 //      'casacore::python::from_python_sequence<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >,
    257 //      casacore::python::stl_variable_capacity_policy>::construct' requested here
    258 //        &construct,
    259 //         ^
    260 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:543:2: note: in instantiation of member function
    261 //      'casacore::python::from_python_sequence<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >,
    262 //      casacore::python::stl_variable_capacity_policy>::from_python_sequence' requested here
    263 //        from_python_sequence < std::vector < T >,
    264 //        ^
    265 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:550:30: note: in instantiation of member function
    266 //      'casacore::python::convert_std_vector<std::__1::basic_string<char> >::reg' requested here
    267 //    { convert_std_vector<T>::reg(); }
    268 //                             ^
    269 //...trunk/asap/src/python_asap.cpp:127:16: note: in instantiation of function template specialization
    270 //      'casacore::python::register_convert_std_vector<std::__1::basic_string<char> >' requested here
    271 //  casacore::python::register_convert_std_vector<std::string>();
    272 //               ^
    273 //In file included from ...trunk/asap/src/python_asap.cpp:32:
    274 //In file included from /opt/casa/01/include/boost/python.hpp:11:
    275 //In file included from /opt/casa/01/include/boost/python/args.hpp:25:
    276 //In file included from /opt/casa/01/include/boost/python/object_core.hpp:14:
    277 //In file included from /opt/casa/01/include/boost/python/call.hpp:15:
    278 ///opt/casa/01/include/boost/python/converter/arg_to_python.hpp:209:9: error: no matching constructor for initialization of
    279 //      'boost::python::converter::detail::arg_to_python_base'
    280 //      : arg_to_python_base(&x, registered<T>::converters)
    281 //        ^                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    282 ///opt/casa/01/include/boost/python/converter/arg_to_python.hpp:256:7: note: in instantiation of member function
    283 //      'boost::python::converter::detail::value_arg_to_python<std::__1::__bit_const_reference<std::__1::vector<bool, std::__1::allocator<bool> > >
    284 //      >::value_arg_to_python' requested here
    285 //    : base(x)
    286 //      ^
    287 ///opt/casa/01/include/boost/python/object_core.hpp:393:33: note: in instantiation of member function
    288 //      'boost::python::converter::arg_to_python<std::__1::__bit_const_reference<std::__1::vector<bool, std::__1::allocator<bool> > > >::arg_to_python' requested here
    289 //          return python::incref(converter::arg_to_python<T>(x).get());
    290 //                                ^
    291 ///opt/casa/01/include/boost/python/object_core.hpp:312:10: note: in instantiation of function template specialization
    292 //      'boost::python::api::object_initializer_impl<false, false>::get<std::__1::__bit_const_reference<std::__1::vector<bool, std::__1::allocator<bool> > > >'
    293 //      requested here
    294 //      >::get(
    295 //         ^
    296 ///opt/casa/01/include/boost/python/object_core.hpp:334:23: note: in instantiation of function template specialization
    297 //      'boost::python::api::object_base_initializer<std::__1::__bit_const_reference<std::__1::vector<bool, std::__1::allocator<bool> > > >' requested here
    298 //        : object_base(object_base_initializer(x))
    299 //                      ^
    300 ///opt/casa/01/include/boost/python/list.hpp:72:22: note: in instantiation of function template specialization
    301 //      'boost::python::api::object::object<std::__1::__bit_const_reference<std::__1::vector<bool, std::__1::allocator<bool> > > >' requested here
    302 //        base::append(object(x));
    303 //                     ^
    304 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:219:9: note: (skipping 3 contexts in backtrace; use
    305 //      -ftemplate-backtrace-limit=0 to see all)
    306 //        result.append(*i);
    307 //               ^
    308 ///opt/casa/01/include/boost/python/to_python_converter.hpp:88:22: note: in instantiation of member function
    309 //      'boost::python::converter::as_to_python_function<std::__1::vector<bool, std::__1::allocator<bool> >, casacore::python::to_list<std::__1::vector<bool,
    310 //      std::__1::allocator<bool> > > >::convert' requested here
    311 //        &normalized::convert
    312 //                     ^
    313 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:317:7: note: in instantiation of member function
    314 //      'boost::python::to_python_converter<std::__1::vector<bool, std::__1::allocator<bool> >, casacore::python::to_list<std::__1::vector<bool, std::__1::allocator<bool>
    315 //      > >, false>::to_python_converter' requested here
    316 //      boost::python::to_python_converter < std::vector < T >,
    317 //      ^
    318 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:542:2: note: in instantiation of member function
    319 //      'casacore::python::std_vector_to_list<bool>::std_vector_to_list' requested here
    320 //        std_vector_to_list < T > ();
    321 //        ^
    322 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:550:30: note: in instantiation of member function
    323 //      'casacore::python::convert_std_vector<bool>::reg' requested here
    324 //    { convert_std_vector<T>::reg(); }
    325 //                             ^
    326 //...trunk/asap/src/python_asap.cpp:128:16: note: in instantiation of function template specialization
    327 //      'casacore::python::register_convert_std_vector<bool>' requested here
    328 //  casacore::python::register_convert_std_vector<bool>();
    329 //               ^
    330 ///opt/casa/01/include/boost/python/converter/arg_to_python_base.hpp:20:7: note: candidate constructor not viable: no known conversion from
    331 //      '__bit_iterator<std::__1::vector<bool, std::__1::allocator<bool> >, true>' to 'const volatile void *' for 1st argument
    332 //      arg_to_python_base(void const volatile* source, registration const&);
    333 //      ^
    334 ///opt/casa/01/include/boost/python/converter/arg_to_python_base.hpp:15:28: note: candidate constructor (the implicit copy constructor) not viable: requires 1
    335 //      argument, but 2 were provided
    336 //  struct BOOST_PYTHON_DECL arg_to_python_base
    337 //                           ^
    338 //In file included from ...trunk/asap/src/python_asap.cpp:46:
    339 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:424:9: warning: cast from
    340 //      'boost::python::converter::rvalue_from_python_stage1_data *' to 'rvalue_from_python_storage<std::__1::vector<bool, std::__1::allocator<bool> > > *' increases
    341 //      required alignment from 8 to 16 [-Wcast-align]
    342 //        (rvalue_from_python_storage<ContainerType>*)
    343 //        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    344 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:367:10: note: in instantiation of member function
    345 //      'casacore::python::from_python_sequence<std::__1::vector<bool, std::__1::allocator<bool> >, casacore::python::stl_variable_capacity_policy>::construct' requested here
    346 //        &construct,
    347 //         ^
    348 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:543:2: note: in instantiation of member function
    349 //      'casacore::python::from_python_sequence<std::__1::vector<bool, std::__1::allocator<bool> >, casacore::python::stl_variable_capacity_policy>::from_python_sequence'
    350 //      requested here
    351 //        from_python_sequence < std::vector < T >,
    352 //        ^
    353 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:550:30: note: in instantiation of member function
    354 //      'casacore::python::convert_std_vector<bool>::reg' requested here
    355 //    { convert_std_vector<T>::reg(); }
    356 //                             ^
    357 //...trunk/asap/src/python_asap.cpp:128:16: note: in instantiation of function template specialization
    358 //      'casacore::python::register_convert_std_vector<bool>' requested here
    359 //  casacore::python::register_convert_std_vector<bool>();
    360 //               ^
    361 //12 warnings and 1 error generated.
    362 //make[2]: *** [src/CMakeFiles/_asap.dir/python_asap.cpp.o] Error 1
    363 //make[1]: *** [src/CMakeFiles/_asap.dir/all] Error 2
    364 //make: *** [all] Error 2
    365 //
    366 //
Note: See TracChangeset for help on using the changeset viewer.