This is the mail archive of the sid@sources.redhat.com mailing list for the SID project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]