This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/47676] error: field ÃOttybà has incomplete type
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 10 Feb 2011 13:52:58 +0000
- Subject: [Bug driver/47676] error: field ÃOttybà has incomplete type
- Auto-submitted: auto-generated
- References: <bug-47676-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47676
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-02-10 13:52:48 UTC ---
(In reply to comment #2)
> The same code is being used before, which was compiling properly, but when
> migrated to Linux+gcc, it is giving this issue.
That's not a compiler bug. That means your code is not portable.
This code will compile on some UNIX platforms, but not on GNU/Linux:
#include <sys/mman.h>
caddr_t* p = 0;
But that's not a GCC bug, it's because the code is not portable.
Anyway, if you think it is a bug you need to follow the bug reporting
instructions.