On Sat, Nov 06, 2010 at 02:34:35PM -0700, Steve Mcmahon wrote: > Hello: > > Thanks for your reply, Tom Rondeau.
> I guess I'm not sure about what people are saying on this issue > regarding my problem building GNU Radio 3.3.0 on openSUSE 11.3 using > gcc 4.5 -- is it gcc-4.5's "fault" (a bug in gcc), or > gnuradio-3.3.0's "fault" (a bug in gnuradio)? > I don't think I'm understanding the source of my problem > correctly. Is my issue that gcc 4.5 cannot properly compile Boost > 1.42, and that I need to use newer version of Boost with gcc-4.5, or > is it that gnuradio-3.3.0 uses a C++ construct not supported in > gcc-4.5, or is it a bug in gcc-4.5, or what? I don't know about any boost/gcc problem. However we did fix a bug in GNU Radio on 2010-08-04 in changeset d2888160c3fca8da2 that was for gcc 4.5.0 compatibility. The diff is attached. Eric
diff --git a/usrp2/host/lib/usrp2.cc b/usrp2/host/lib/usrp2.cc index f0ee564..0842482 100644 --- a/usrp2/host/lib/usrp2.cc +++ b/usrp2/host/lib/usrp2.cc @@ -38,9 +38,9 @@ namespace usrp2 { struct usrp_table_entry { // inteface + normalized mac addr ("eth0:01:23:45:67:89:ab") std::string key; - boost::weak_ptr<usrp2::usrp2> value; + boost::weak_ptr<usrp2> value; - usrp_table_entry(const std::string &_key, boost::weak_ptr<usrp2::usrp2> _value) + usrp_table_entry(const std::string &_key, boost::weak_ptr<usrp2> _value) : key(_key), value(_value) {} }; @@ -70,7 +70,7 @@ namespace usrp2 { // We don't have the USRP2 we're looking for // create a new one and stick it in the table. - usrp2::sptr r(new usrp2::usrp2(ifc, pr, rx_bufsize)); + usrp2::sptr r(new usrp2(ifc, pr, rx_bufsize)); usrp_table_entry t(key, r); s_table.push_back(t);
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio