[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE : cctbx build error



found by argument-dependent lookup at the point of instantiation [-fpermissive]
> In file included from /tmp/buildd/cctbx-2012.05.08.2305/cctbx_sources/mmtbx/bulk_solvent/bulk_solvent_ext.cpp:7:0:
> /tmp/buildd/cctbx-2012.05.08.2305/cctbx_sources/mmtbx/bulk_solvent/bulk_solvent.h:935:1: note: 'template<class FloatType, class ComplexType> FloatType mmtbx::bulk_solvent::r_factor(const scitbx::af::const_ref<ElementType>&, const scitbx::af::const_ref<std::complex<_Up> >&, const scitbx::af::const_ref<std::complex<_Up> >&, const FloatType&, const FloatType&)' declared here, later in the translation unit


So f-factor is used before it was declare in the .h file.
so you should move thoses templates method before using them in the code.

maybe you compiled this with gcc < 4.7

check if it solve the problem and prepare a patch for the upstream with gbp-pq :)

I usually give them a name like 000x_upstream_xxxx

> warning: "BOOST_DISABLE_THREADS" redefined [enabled by default]

we should DFSG free from the local boost library and start implementing the --use-system-libraries.


See you

Frederic

--
To UNSUBSCRIBE, email to debian-science-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 20120709105656.GG2610@gmail.com">http://lists.debian.org/[🔎] 20120709105656.GG2610@gmail.com



Reply to: