This is the mail archive of the gcc@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: PCH / ObjC issue with gcc 4.0.2-pre



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


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