From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Blandy To: Eli Zaretskii Cc: Jim Blandy , msnyder@redhat.com, gdb-patches@sources.redhat.com, ac131313@cygnus.com Subject: Re: [RFA] enum enable Date: Tue, 17 Jul 2001 10:45:00 -0000 Message-id: References: X-SW-Source: 2001-07/msg00425.html Eli Zaretskii writes: > In addition to Andrew's request to change that, GCC 2.7.2.1 barfs if > it sees the declaration of a member `enable' together with a prototype > of a function `enable' in the same compilation unit. In my case, the > function is declared in one of the system headers, so I guess GCC sees > it first and protests when the same identifier appears in a struct. You've *got* to be kidding. So, the following program gets an error? extern int foo (void); struct bar { int foo; };