Re: [patch]: RFA: Remove compile time warnings in cgen-cpu.h

"Frank Ch. Eigler" <[email protected]>
Newsgroups gmane.comp.emulators.sid.devel
Message-ID <[email protected]>
Hi, Nick -

>   [...]  The first is that it declares several void functions and
>   then uses a "return <expression>" statement.

But in C++, it is valid to return a void value from a void function.
What compiler version barfs on this?

>   The second is that it uses the "reinterpret_cast<>" operator to
>   convert between integer types and floating point types, which for
>   some versions of GCC at least, does not work.  [...]

Sure.  (Actually, does any cgen/sid port use floating-point?)

- FChE
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCXPxfVZbdDOm/ZT0RAm+uAJ0fpwvqx2cLYkVo+H1LiZzWW1ucSQCcD/Kz
SmpTpsEWhc6P8mgTF0qzI6w=
=KzpR
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.