discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] error compiling gnuradio-digital


From: Philip Hahn
Subject: [Discuss-gnuradio] error compiling gnuradio-digital
Date: Wed, 19 Jul 2017 09:36:02 -0700

I'm using Pybombs, offending line error highlighted below. It looks like compiling with -fpermissive will fix this - should Pybombs be enabling -fpermissive by default or should the code be cleaned up? Thanks,

philip hahn


In file included from /usr/include/c++/4.9/vector:64:0,
                 from /home/sdrgps/src/gnuradio/gr-digital/lib/interpolating_resampler.h:28,
                 from /home/sdrgps/src/gnuradio/gr-digital/lib/interpolating_resampler.cc:27:
/usr/include/c++/4.9/bits/stl_vector.h: In instantiation of ‘void std::vector<_Tp, _Alloc>::_M_in                                                  itialize_dispatch(_Integer, _Integer, std::__true_type) [with _Integer = int; _Tp = gr::filter::k                                                  ernel::fir_filter_ccf*; _Alloc = std::allocator<gr::filter::kernel::fir_filter_ccf*>]’:
/usr/include/c++/4.9/bits/stl_vector.h:413:55:   required from ‘std::vector<_Tp, _Alloc>::vector(                                                  _InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = int; _Tp = gr::filt                                                  er::kernel::fir_filter_ccf*; _Alloc = std::allocator<gr::filter::kernel::fir_filter_ccf*>; std::v                                                  ector<_Tp, _Alloc>::allocator_type = std::allocator<gr::filter::kernel::fir_filter_ccf*>]’
/home/sdrgps/src/gnuradio/gr-digital/lib/interpolating_resampler.cc:295:70:   required from here
/usr/include/c++/4.9/bits/stl_vector.h:1252:59: error: invalid conversion from ‘int’ to ‘std::vec                                                  tor<gr::filter::kernel::fir_filter_ccf*>::value_type {aka gr::filter::kernel::fir_filter_ccf*}’ [                                                  -fpermissive]
    _M_fill_initialize(static_cast<size_type>(__n), __value);


reply via email to

[Prev in Thread] Current Thread [Next in Thread]