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]

Re: Enum related fixes for gcc build with native cc on vax ultrix


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


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