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: PATCH RFA: -Wc++-compat warning about typedefs and struct fields


On Thu, 18 Jun 2009, Ian Lance Taylor wrote:

> This patch implements these warnings in the C frontend.  I gathered the
> existing struct_types vector into a struct, and replace the in_struct
> static variable with struct_parse_info.  The extra storage is relatively
> minor, and is only used when -Wc++-compat is specified.  This patch
> requires approval from the C frontend maintainers.

The C changes are OK.

-- 
Joseph S. Myers
joseph@codesourcery.com


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