Avoiding "assignment from incompatible pointer type" warning

Florian Weimer fw@deneb.enyo.de
Sun Oct 13 15:10:00 GMT 2002

"Moore, Mathew L" <MooreML@BATTELLE.ORG> writes:

> While we are on this topic, is there a portable way to perform the
> bit-wise examination of a floating point variable?

You can read and write every object as a sequence of chars.  So you
don't even need a union, pointer fiddling would be sufficient.

More information about the Gcc-help mailing list