This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PCH / ObjC issue with gcc 4.0.2-pre
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Helge Hess <helge dot hess at skyrix dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 26 Aug 2005 10:20:01 -0400
- Subject: Re: PCH / ObjC issue with gcc 4.0.2-pre
- References: <3d94cfd9c339efb252afbb09699f5d27@skyrix.com>
On Aug 26, 2005, at 10:16 AM, Helge Hess wrote:
Hi,
I'm experiencing some issue with using a precompiled header with an
Objective-C file. When including the header, I'll get duplicate
symbols, like this:
---snip---
SaxAttributeList.m:188: error: redefinition of 'struct _objc_symtab'
SaxAttributeList.m:188: error: redefinition of 'struct _objc_module'
SaxAttributeList.m:188: error: redefinition of '__objc_gnu_init'
common.h:26: error: previous definition of '__objc_gnu_init' was here
{standard input}: Assembler messages:
{standard input}:2136: Error: symbol `_OBJC_SYMBOLS' is already defined
---snap---
Can you report a bug? See http://gcc.gnu.org/bugs.html for directions.
I will look into it. It is most likely an issue with the decl rewrite
but I don't know until I get a testcase.
-- Pinski