Control: tags -1 + upstream On Tue, May 21, 2013 at 06:04:48PM +0000, Thorsten Glaser wrote: > https://buildd.debian.org/status/package.php?p=radium-compressor&suite=sid So it fails only on gcc 4.6 architectures.
> audio/typepunning.h: In function 'float pun_int_to_float(int)': > > audio/typepunning.h:29:41: error: expected primary-expression before '.' > token The code: union { uint32_t i; float f; } mx = { .i=(uint32_t)x }; It is correct C99, but not C++98 (and probably not even C++11), but g++ 4.7 compiles it fine (unlike 4.6). I couldn't find out why. -- WBR, wRAR
signature.asc
Description: Digital signature