[Bug 911871] Re: FTBFS on amd64, i386 for test-rebuild-20111222 (gcc-4.7)
cjwatson at canonical.com
Thu Jan 5 11:47:05 UTC 2012
This looks correct to me. "i" requires the operand to be a compile-time constant. In general, the memory location of a multi-dimensional array in C isn't constant at compile-time. Now, as it happens, for ((char *) &sb_sample_f - (char *) &sb_sample_f) to be particularly meaningful probably requires the array to be declared directly rather than dynamically
allocated, so in practice that *difference* probably is a constant; but proving that requires the compiler to reason across function boundaries in quite complex ways.
Changing this to "r" looks sensible to me.
You received this bug notification because you are a member of
Bluetooth, which is subscribed to bluez in Ubuntu.
FTBFS on amd64, i386 for test-rebuild-20111222 (gcc-4.7)
To manage notifications about this bug go to:
More information about the Ubuntu-bluetooth