- Timestamp:
- 04/01/15 10:35:15 (10 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SConstruct
r3031 r3034 111 111 Exit(1) 112 112 113 if env["enable_pyrap"]:114 conf.env.AddCustomPackage('pyrap')115 if conf.CheckLib(conf.env["pyraplib"], language='c++', autoadd=0):116 conf.env.PrependUnique(LIBS=env['pyraplib'])117 else:118 Exit(1)119 else:120 conf.env.AppendUnique(CPPPATH=[conf.env["numpyincdir"]])121 if conf.CheckHeader("numpy/numpyconfig.h"):122 conf.env.Append(CPPDEFINES=["-DAIPS_USENUMPY"])123 else:124 conf.env.Exit(1)125 # compile in pyrap from here...126 conf.env["pyrapint"] = "#/external/libpyrap/pyrap-0.3.2"127 conf.env.Append(CPPFLAGS=['-DHAVE_LIBPYRAP'])128 129 113 if not conf.CheckLib("m"): 130 114 Exit(1) … … 163 147 conf.env.AppendUnique(CPPPATH=[pth,pth+'/..']) 164 148 break 165 cclibs = ["casa_ images", "casa_ms", #"casa_components",149 cclibs = ["casa_python", "casa_images", "casa_ms", 166 150 "casa_coordinates", "casa_lattices", 167 151 "casa_fits", "casa_measures", "casa_scimath", -
trunk/external-alma/SConscript
r2980 r3034 6 6 sources += glob.glob("atnf/pks/pks_maths.cc") 7 7 8 #sources2 = glob.glob("components/SpectralComponents/*.cc")8 sources2 = glob.glob("components/SpectralComponents/*.cc") 9 9 10 10 env.AppendUnique(CPPPATH=[Dir(".").abspath]) 11 11 atnflib=env.Library("atnf", sources) 12 #complib=env.Library("oldcomponents", sources2)12 complib=env.Library("oldcomponents", sources2) 13 13 env.AppendUnique(LIBPATH=[Dir(".").abspath]) 14 env.Prepend(LIBS=["atnf" ])#,"oldcomponents"])14 env.Prepend(LIBS=["atnf","oldcomponents"]) -
trunk/external/libpyrap
- Property svn:externals deleted
-
trunk/src/python_asap.cpp
r3029 r3034 40 40 #include "ScantableWrapper.h" 41 41 42 #ifndef HAVE_LIBPYRAP 43 #include "pyconversions.h" 44 #else 45 #include <pyrap/Converters/PycExcp.h> 46 #include <pyrap/Converters/PycBasicData.h> 47 #include <pyrap/Converters/PycValueHolder.h> 48 #include <pyrap/Converters/PycRecord.h> 49 #endif 42 #include <casacore/python/Converters/PycExcp.h> 43 #include <casacore/python/Converters/PycBasicData.h> 44 #include <casacore/python/Converters/PycValueHolder.h> 45 #include <casacore/python/Converters/PycRecord.h> 46 50 47 51 48 #include "python_asap.h" 52 49 53 #ifndef HAVE_LIBPYRAP54 50 namespace asap { 55 51 namespace python { … … 63 59 } 64 60 } 65 #endif66 61 67 62 using namespace boost::python; … … 94 89 asap::python::python_CalibrationManager(); 95 90 96 #ifndef HAVE_LIBPYRAP 97 // Use built-in pyconversions.h 98 register_exception_translator<casa::AipsError>(&asap::python::translate_ex); 99 from_python_sequence < std::vector< asap::ScantableWrapper >, 100 variable_capacity_policy > (); 101 std_vector_to_tuple < int > (); 102 from_python_sequence < std::vector < int >, 103 variable_capacity_policy > (); 104 std_vector_to_tuple < uint > (); 105 from_python_sequence < std::vector < uint >, 106 variable_capacity_policy > (); 107 std_vector_to_tuple < float > (); 108 from_python_sequence < std::vector < float >, 109 variable_capacity_policy > (); 110 std_vector_to_tuple < double > (); 111 from_python_sequence < std::vector < double >, 112 variable_capacity_policy > (); 113 std_vector_to_tuple < std::string > (); 114 from_python_sequence < std::vector < std::string >, 115 variable_capacity_policy > (); 116 std_vector_to_tuple < bool> (); 117 from_python_sequence < std::vector < bool >, 118 variable_capacity_policy > (); 119 #else 120 casa::pyrap::register_convert_excp(); 121 casa::pyrap::register_convert_basicdata(); 122 casa::pyrap::register_convert_std_vector<asap::ScantableWrapper>(); 123 casa::pyrap::register_convert_std_vector<int>(); 124 casa::pyrap::register_convert_std_vector<uint>(); 125 casa::pyrap::register_convert_std_vector<float>(); 126 casa::pyrap::register_convert_std_vector<double>(); 127 casa::pyrap::register_convert_std_vector<std::string>(); 91 casacore::python::register_convert_excp(); 92 casacore::python::register_convert_basicdata(); 93 casacore::python::register_convert_std_vector<asap::ScantableWrapper>(); 94 casacore::python::register_convert_std_vector<int>(); 95 casacore::python::register_convert_std_vector<uint>(); 96 casacore::python::register_convert_std_vector<float>(); 97 casacore::python::register_convert_std_vector<double>(); 98 casacore::python::register_convert_std_vector<std::string>(); 128 99 //////////////see error below////////////////////////////// 129 casa ::pyrap::register_convert_std_vector<bool>();100 casacore::python::register_convert_std_vector<bool>(); 130 101 /////////////////////////////////////////////////////////// 131 casa::pyrap::register_convert_casa_valueholder(); 132 casa::pyrap::register_convert_casa_record(); 133 134 #endif 102 casacore::python::register_convert_casa_valueholder(); 103 casacore::python::register_convert_casa_record(); 104 135 105 } 136 106 //[ 79%] Building CXX object src/CMakeFiles/_asap.dir/python_asap.cpp.o 137 //cd ...trunk/asap/build/src && /usr/bin/clang++ -DAIPS_AUTO_STL -DAIPS_DEBUG -DAIPS_STDLIB -DCASACORE_NEEDS_RETHROW -DCASA_USECASAPATH -DENABLE_PLOTTER2 -DHAVE_LIBPY RAP -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/libpyrap/pyrap-0.3.2 -o CMakeFiles/_asap.dir/python_asap.cpp.o -c ...trunk/asap/src/python_asap.cpp107 //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 138 108 //warning: unknown warning option '-Wno-non-template-friend'; did you mean '-Wno-unsupported-friend'? [-Wunknown-warning-option] 139 109 //In file included from ...trunk/asap/src/python_asap.cpp:32: … … 155 125 // ^ 156 126 //In file included from ...trunk/asap/src/python_asap.cpp:46: 157 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:95:9: warning: cast from127 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:95:9: warning: cast from 158 128 // 'boost::python::converter::rvalue_from_python_stage1_data *' to 'boost::python::converter::rvalue_from_python_storage<String> *' increases required alignment 159 129 // from 8 to 16 [-Wcast-align] 160 130 // (boost::python::converter::rvalue_from_python_storage<String>*) 161 131 // ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 162 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:424:9: warning: cast from132 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:424:9: warning: cast from 163 133 // 'boost::python::converter::rvalue_from_python_stage1_data *' to 'rvalue_from_python_storage<std::__1::vector<asap::ScantableWrapper, 164 134 // std::__1::allocator<asap::ScantableWrapper> > > *' increases required alignment from 8 to 16 [-Wcast-align] 165 135 // (rvalue_from_python_storage<ContainerType>*) 166 136 // ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 167 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:367:10: note: in instantiation of member function168 // 'casa ::pyrap::from_python_sequence<std::__1::vector<asap::ScantableWrapper, std::__1::allocator<asap::ScantableWrapper> >,169 // casa ::pyrap::stl_variable_capacity_policy>::construct' requested here170 // &construct, 171 // ^ 172 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:543:2: note: in instantiation of member function173 // 'casa ::pyrap::from_python_sequence<std::__1::vector<asap::ScantableWrapper, std::__1::allocator<asap::ScantableWrapper> >,174 // casa ::pyrap::stl_variable_capacity_policy>::from_python_sequence' requested here175 // from_python_sequence < std::vector < T >, 176 // ^ 177 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:550:30: note: in instantiation of member function178 // 'casa ::pyrap::convert_std_vector<asap::ScantableWrapper>::reg' requested here137 //...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 179 149 // { convert_std_vector<T>::reg(); } 180 150 // ^ 181 151 //...trunk/asap/src/python_asap.cpp:122:16: note: in instantiation of function template specialization 182 // 'casa ::pyrap::register_convert_std_vector<asap::ScantableWrapper>' requested here183 // casa ::pyrap::register_convert_std_vector<asap::ScantableWrapper>();184 // ^ 185 //In file included from ...trunk/asap/src/python_asap.cpp:46: 186 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:424:9: warning: cast from152 // '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 187 157 // 'boost::python::converter::rvalue_from_python_stage1_data *' to 'rvalue_from_python_storage<std::__1::vector<int, std::__1::allocator<int> > > *' increases 188 158 // required alignment from 8 to 16 [-Wcast-align] 189 159 // (rvalue_from_python_storage<ContainerType>*) 190 160 // ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 191 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:367:10: note: in instantiation of member function192 // 'casa ::pyrap::from_python_sequence<std::__1::vector<int, std::__1::allocator<int> >, casa::pyrap::stl_variable_capacity_policy>::construct' requested here193 // &construct, 194 // ^ 195 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:543:2: note: in instantiation of member function196 // 'casa ::pyrap::from_python_sequence<std::__1::vector<int, std::__1::allocator<int> >, casa::pyrap::stl_variable_capacity_policy>::from_python_sequence'197 // requested here 198 // from_python_sequence < std::vector < T >, 199 // ^ 200 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:550:30: note: in instantiation of member function201 // 'casa ::pyrap::convert_std_vector<int>::reg' requested here161 //...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 202 172 // { convert_std_vector<T>::reg(); } 203 173 // ^ 204 174 //...trunk/asap/src/python_asap.cpp:123:16: note: in instantiation of function template specialization 205 // 'casa ::pyrap::register_convert_std_vector<int>' requested here206 // casa ::pyrap::register_convert_std_vector<int>();207 // ^ 208 //In file included from ...trunk/asap/src/python_asap.cpp:46: 209 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:424:9: warning: cast from175 // '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 210 180 // 'boost::python::converter::rvalue_from_python_stage1_data *' to 'rvalue_from_python_storage<std::__1::vector<unsigned int, std::__1::allocator<unsigned int> > 211 181 // > *' increases required alignment from 8 to 16 [-Wcast-align] 212 182 // (rvalue_from_python_storage<ContainerType>*) 213 183 // ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 214 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:367:10: note: in instantiation of member function215 // 'casa ::pyrap::from_python_sequence<std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >, casa::pyrap::stl_variable_capacity_policy>::construct'216 // requested here 217 // &construct, 218 // ^ 219 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:543:2: note: in instantiation of member function220 // 'casa ::pyrap::from_python_sequence<std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >,221 // casa ::pyrap::stl_variable_capacity_policy>::from_python_sequence' requested here222 // from_python_sequence < std::vector < T >, 223 // ^ 224 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:550:30: note: in instantiation of member function225 // 'casa ::pyrap::convert_std_vector<unsigned int>::reg' requested here184 //...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 226 196 // { convert_std_vector<T>::reg(); } 227 197 // ^ 228 198 //...trunk/asap/src/python_asap.cpp:124:16: note: in instantiation of function template specialization 229 // 'casa ::pyrap::register_convert_std_vector<unsigned int>' requested here230 // casa ::pyrap::register_convert_std_vector<uint>();231 // ^ 232 //In file included from ...trunk/asap/src/python_asap.cpp:46: 233 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:424:9: warning: cast from199 // '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 234 204 // 'boost::python::converter::rvalue_from_python_stage1_data *' to 'rvalue_from_python_storage<std::__1::vector<float, std::__1::allocator<float> > > *' 235 205 // increases required alignment from 8 to 16 [-Wcast-align] 236 206 // (rvalue_from_python_storage<ContainerType>*) 237 207 // ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:367:10: note: in instantiation of member function239 // 'casa ::pyrap::from_python_sequence<std::__1::vector<float, std::__1::allocator<float> >, casa::pyrap::stl_variable_capacity_policy>::construct' requested here240 // &construct, 241 // ^ 242 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:543:2: note: in instantiation of member function243 // 'casa ::pyrap::from_python_sequence<std::__1::vector<float, std::__1::allocator<float> >, casa::pyrap::stl_variable_capacity_policy>::from_python_sequence'244 // requested here 245 // from_python_sequence < std::vector < T >, 246 // ^ 247 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:550:30: note: in instantiation of member function248 // 'casa ::pyrap::convert_std_vector<float>::reg' requested here208 //...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 249 219 // { convert_std_vector<T>::reg(); } 250 220 // ^ 251 221 //...trunk/asap/src/python_asap.cpp:125:16: note: in instantiation of function template specialization 252 // 'casa ::pyrap::register_convert_std_vector<float>' requested here253 // casa ::pyrap::register_convert_std_vector<float>();254 // ^ 255 //In file included from ...trunk/asap/src/python_asap.cpp:46: 256 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:424:9: warning: cast from222 // '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 257 227 // 'boost::python::converter::rvalue_from_python_stage1_data *' to 'rvalue_from_python_storage<std::__1::vector<double, std::__1::allocator<double> > > *' 258 228 // increases required alignment from 8 to 16 [-Wcast-align] 259 229 // (rvalue_from_python_storage<ContainerType>*) 260 230 // ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:367:10: note: in instantiation of member function262 // 'casa ::pyrap::from_python_sequence<std::__1::vector<double, std::__1::allocator<double> >, casa::pyrap::stl_variable_capacity_policy>::construct' requested231 //...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 263 233 // here 264 234 // &construct, 265 235 // ^ 266 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:543:2: note: in instantiation of member function267 // 'casa ::pyrap::from_python_sequence<std::__1::vector<double, std::__1::allocator<double> >, casa::pyrap::stl_variable_capacity_policy>::from_python_sequence'268 // requested here 269 // from_python_sequence < std::vector < T >, 270 // ^ 271 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:550:30: note: in instantiation of member function272 // 'casa ::pyrap::convert_std_vector<double>::reg' requested here236 //...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 273 243 // { convert_std_vector<T>::reg(); } 274 244 // ^ 275 245 //...trunk/asap/src/python_asap.cpp:126:16: note: in instantiation of function template specialization 276 // 'casa ::pyrap::register_convert_std_vector<double>' requested here277 // casa ::pyrap::register_convert_std_vector<double>();278 // ^ 279 //In file included from ...trunk/asap/src/python_asap.cpp:46: 280 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:424:9: warning: cast from246 // '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 281 251 // 'boost::python::converter::rvalue_from_python_stage1_data *' to 'rvalue_from_python_storage<std::__1::vector<std::__1::basic_string<char>, 282 252 // std::__1::allocator<std::__1::basic_string<char> > > > *' increases required alignment from 8 to 16 [-Wcast-align] 283 253 // (rvalue_from_python_storage<ContainerType>*) 284 254 // ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:367:10: note: in instantiation of member function286 // 'casa ::pyrap::from_python_sequence<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >,287 // casa ::pyrap::stl_variable_capacity_policy>::construct' requested here288 // &construct, 289 // ^ 290 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:543:2: note: in instantiation of member function291 // 'casa ::pyrap::from_python_sequence<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >,292 // casa ::pyrap::stl_variable_capacity_policy>::from_python_sequence' requested here293 // from_python_sequence < std::vector < T >, 294 // ^ 295 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:550:30: note: in instantiation of member function296 // 'casa ::pyrap::convert_std_vector<std::__1::basic_string<char> >::reg' requested here255 //...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 297 267 // { convert_std_vector<T>::reg(); } 298 268 // ^ 299 269 //...trunk/asap/src/python_asap.cpp:127:16: note: in instantiation of function template specialization 300 // 'casa ::pyrap::register_convert_std_vector<std::__1::basic_string<char> >' requested here301 // casa ::pyrap::register_convert_std_vector<std::string>();270 // 'casacore::python::register_convert_std_vector<std::__1::basic_string<char> >' requested here 271 // casacore::python::register_convert_std_vector<std::string>(); 302 272 // ^ 303 273 //In file included from ...trunk/asap/src/python_asap.cpp:32: … … 332 302 // base::append(object(x)); 333 303 // ^ 334 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:219:9: note: (skipping 3 contexts in backtrace; use304 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:219:9: note: (skipping 3 contexts in backtrace; use 335 305 // -ftemplate-backtrace-limit=0 to see all) 336 306 // result.append(*i); 337 307 // ^ 338 308 ///opt/casa/01/include/boost/python/to_python_converter.hpp:88:22: note: in instantiation of member function 339 // 'boost::python::converter::as_to_python_function<std::__1::vector<bool, std::__1::allocator<bool> >, casa ::pyrap::to_list<std::__1::vector<bool,309 // 'boost::python::converter::as_to_python_function<std::__1::vector<bool, std::__1::allocator<bool> >, casacore::python::to_list<std::__1::vector<bool, 340 310 // std::__1::allocator<bool> > > >::convert' requested here 341 311 // &normalized::convert 342 312 // ^ 343 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:317:7: note: in instantiation of member function344 // 'boost::python::to_python_converter<std::__1::vector<bool, std::__1::allocator<bool> >, casa ::pyrap::to_list<std::__1::vector<bool, std::__1::allocator<bool>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> 345 315 // > >, false>::to_python_converter' requested here 346 316 // boost::python::to_python_converter < std::vector < T >, 347 317 // ^ 348 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:542:2: note: in instantiation of member function349 // 'casa ::pyrap::std_vector_to_list<bool>::std_vector_to_list' requested here318 //...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 350 320 // std_vector_to_list < T > (); 351 321 // ^ 352 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:550:30: note: in instantiation of member function353 // 'casa ::pyrap::convert_std_vector<bool>::reg' requested here322 //...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 354 324 // { convert_std_vector<T>::reg(); } 355 325 // ^ 356 326 //...trunk/asap/src/python_asap.cpp:128:16: note: in instantiation of function template specialization 357 // 'casa ::pyrap::register_convert_std_vector<bool>' requested here358 // casa ::pyrap::register_convert_std_vector<bool>();327 // 'casacore::python::register_convert_std_vector<bool>' requested here 328 // casacore::python::register_convert_std_vector<bool>(); 359 329 // ^ 360 330 ///opt/casa/01/include/boost/python/converter/arg_to_python_base.hpp:20:7: note: candidate constructor not viable: no known conversion from … … 367 337 // ^ 368 338 //In file included from ...trunk/asap/src/python_asap.cpp:46: 369 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:424:9: warning: cast from339 //...trunk/asap/external/libpython/python-0.3.2/python/Converters/PycBasicData.h:424:9: warning: cast from 370 340 // 'boost::python::converter::rvalue_from_python_stage1_data *' to 'rvalue_from_python_storage<std::__1::vector<bool, std::__1::allocator<bool> > > *' increases 371 341 // required alignment from 8 to 16 [-Wcast-align] 372 342 // (rvalue_from_python_storage<ContainerType>*) 373 343 // ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 374 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:367:10: note: in instantiation of member function375 // 'casa ::pyrap::from_python_sequence<std::__1::vector<bool, std::__1::allocator<bool> >, casa::pyrap::stl_variable_capacity_policy>::construct' requested here376 // &construct, 377 // ^ 378 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:543:2: note: in instantiation of member function379 // 'casa ::pyrap::from_python_sequence<std::__1::vector<bool, std::__1::allocator<bool> >, casa::pyrap::stl_variable_capacity_policy>::from_python_sequence'380 // requested here 381 // from_python_sequence < std::vector < T >, 382 // ^ 383 //...trunk/asap/external/libpy rap/pyrap-0.3.2/pyrap/Converters/PycBasicData.h:550:30: note: in instantiation of member function384 // 'casa ::pyrap::convert_std_vector<bool>::reg' requested here344 //...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 385 355 // { convert_std_vector<T>::reg(); } 386 356 // ^ 387 357 //...trunk/asap/src/python_asap.cpp:128:16: note: in instantiation of function template specialization 388 // 'casa ::pyrap::register_convert_std_vector<bool>' requested here389 // casa ::pyrap::register_convert_std_vector<bool>();358 // 'casacore::python::register_convert_std_vector<bool>' requested here 359 // casacore::python::register_convert_std_vector<bool>(); 390 360 // ^ 391 361 //12 warnings and 1 error generated.
Note:
See TracChangeset
for help on using the changeset viewer.