[USRP-users] nirio_quirks.h:39: bad for loop ?

Michael Dickens michael.dickens at ettus.com
Thu Apr 16 14:07:48 EDT 2015


Hi David - Thanks for the pointer. We're working on getting a fix for
this into UHD. - MLD

On Fri, Apr 10, 2015, at 02:26 AM, David Binderman via USRP-users wrote:
> uhd-release_003_008_002/host/include/uhd/transport/nirio/nirio_quirks.h:39:38:
> warning: sizeof on array function parameter will return size of 'const
> uint32_t *' (aka 'const unsigned int *') instead of 'const uint32_t []'
> [-Wsizeof-array-argument]
>         for (size_t i = 0; i <
>         sizeof(tx_stream_indices)/sizeof(*tx_stream_indices); i++) {




More information about the USRP-users mailing list