This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: RFA: Fix cris --enable-werror-always build


Quoting Hans-Peter Nilsson <hans-peter.nilsson@axis.com>:

Typo. Ok with that fixed. :)

And thanks!

Thanks for the review. The patch is checked in now & the PR state changed to resolved.

Maybe that's already been discussed, but isn't the argument casting a case for fixing the hook to use enum as arguments instead of int?

We would need a way to declare struct member that is assignment-compatible with
a particular enum, but without needing the entire enum definition in scope.
Otherwise, target.h would have to include pretty much every header, and
every translation unit that needs target.h would depend on every header.



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