This is the mail archive of the gcc-bugs@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]

[Bug driver/47676] error: field ÃOttybà has incomplete type


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.


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