This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Enum related fixes for gcc build with native cc on vax ultrix
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Subject: Re: Enum related fixes for gcc build with native cc on vax ultrix
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Thu, 1 Mar 2001 23:31:30 +0000 (GMT)
- cc: <gcc-patches at gcc dot gnu dot org>
On Thu, 1 Mar 2001, John David Anglin wrote:
> * c-format.c (C_STD_VER): Cast to int for comparisons.
> (check_function_format): Cast various enums to int for &.
> (maybe_read_dollar_number): Likewise.
> (check_format_info): Likewise.
> (check_format_info_main): Likewise.
As far as I'm concerned, this part of the patch is OK, but I'm not
qualified to approve it, absent review of my request
<URL:http://gcc.gnu.org/ml/gcc-patches/2001-01/msg02162.html> for
maintainership of the format checking code.
Could you add warnings about these uses of enums to -Wtraditional?
--
Joseph S. Myers
jsm28@cam.ac.uk