How to remove/suppress gr_buffer::allocate_buffer: warning:

I am getting the following warning when running my script:

gr_buffer::allocate_buffer: warning: tried to allocate
4 items of size 88192. Due to alignment requirements
32 were allocated. If this isn’t OK, consider padding
your structure to a power-of-two bytes.
On this platform, our allocation granularity is 4096 bytes.

Can somebody tell me how to solve this problem or suppress this warning?

I found it has to do something with fft-size that is not power of 2…

Hello Martin,
I will check my code to find out why it is so big.

Is there an easy way to somehow suppress this warning in case I am
willing to ignore it?

Johannes

2011/6/17 Martin B. [email protected]:

On Fri, Jun 17, 2011 at 05:08:31PM +0200, Johannes S. wrote:

Hello Martin,
I will check my code to find out why it is so big.

Is there an easy way to somehow suppress this warning in case I am
willing to ignore it?

Not without changing the code
(gnuradio-core/src/lib/runtime/gr_buffer.cc). Of course, you can
redirect stderr if you’re sure nothing else is going wrong.

MB

your structure to a power-of-two bytes.
It’s just a warning. If everything works fine… just ignore it. But

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT – University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association


Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin B.
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT – University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association