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[1][0][0] - (char *) &sb_sample_f[0][0][0]) 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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/911871

Title:
  FTBFS on amd64, i386 for test-rebuild-20111222 (gcc-4.7)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/911871/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to