sid doesn't build with gcc 4.0.x
Frank Ch. Eigler
fche@redhat.com
Thu Jun 30 20:21:00 GMT 2005
Hi -
aldyh wrote:
> Sid is not building with GCC 4.0 or above. The problem is in
> component/cgen-cpu/cgen-cpu.h's use of reinterpret_cast. The
> reinterpret_cast construct is not allowed amongst integers.
I'm checking in a variant of this code which uses pointer aliasing.
Some super-keener could make a union-based version (pre-approved).
> * component/interrupt/components.h (bus_size): Fix constructor to
> be legitimate C++.
This one is ok, feel free to commit.
> * component/cgen-cpu/cgen-cpu.h (GETMEMSF): Change
> reinterpret_cast to static_cast.
> (SETMEMSF): Same.
> (GETMEMDF): Same.
> (SETMEMDF): Same.
This one is not (but I will commit a better one).
- FChE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/sid/attachments/20050630/40563ab2/attachment.sig>
More information about the Sid
mailing list