Error Redefinition Of Stat
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss error redefinition of typedef the workings and policies of this site About Us Learn more about
Error Redefinition Of Typedef 'gliststore'
Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow error redefinition of 'class Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each error redefinition of ‘class other. Join them; it only takes a minute: Sign up error: redefinition of ‘struct StructName’ message when compiling in Objective-C on Linux up vote 2 down vote favorite I'm trying to compile Objective-C code on Ubuntu 12 Linux. main.m looks like this: #import
Error Redefinition Of C++
= [[NSAutoreleasePool alloc] init]; NSLog (@"hello world"); [pool drain]; return 0; } In CEFoo.h, I have the definition: struct StructName{ // line 86 BOOL first; ... ... }; @interface StructName :NSObject // line 92 BOOL first; // line 93 ... ... @end // 96 When I go to compile with gcc main.m `gnustep-config --objc-flags` -lgnustep-base -o main.bin I get this message: Foo/CEFoo.h:93:1: error: redefinition of ‘struct StructName’ Foo/CEFoo.h:86:8: note: originally defined here I've read this can be caused by either redefining the struct twice, or by recursive import when using include instead of import. grep -r "struct StructName" * Only shows one occurrence of the definition. I've also searched every include statement in the project, and have found no apparent uses of include vs import, or otherwise dual include/imports of CEFoo.h (the file which contains the structure which is being defined / imported more than once). How can I further hunt down the cause of this? I assume that I am importing it twice -- if I am, is there a way to
All times are UTC - 6 hours Information The requested topic does not exist. Board index All times are UTC - 6 hours Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
way to switch off streams https://lists.freedesktop.org/archives/pulseaudio-bugs/2007-July/000425.html Next message: [pulseaudio-tickets] [PulseAudio] #101: utils/padsp.c:2392: error: redefinition of 'stat' & 'stat64' Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] #101: utils/padsp.c:2392: error redefinition error: redefinition of 'stat' & 'stat64' ---------------------+------------------------------------------------------ Reporter: elmarco | Owner: lennart Type: defect | Status: new Priority: normal | Milestone: Component: clients | Severity: normal Keywords: | ---------------------+------------------------------------------------------ utils/padsp.c:2392: error redefinition of error: redefinition of 'stat' /usr/lib/gcc-snapshot/lib/gcc/i486-linux-gnu/4.3.0/include- fixed/sys/stat.h:489: error: previous definition of 'stat' was here utils/padsp.c:2454: error: redefinition of 'stat64' /usr/lib/gcc-snapshot/lib/gcc/i486-linux-gnu/4.3.0/include- fixed/sys/stat.h:556: error: previous definition of 'stat64' was here make[3]: *** [libpulsedsp_la-padsp.lo] Error 1 -- Ticket URL: