[Bug driver/47676] New: error: field âOttybâ has incomplete type
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47676 Summary: error: field âOttybâ has incomplete type Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver AssignedTo: unassig...@gcc.gnu.org ReportedBy: ak0030...@techmahindra.com Created attachment 23293 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23293 Detailed description and header file extract Hello, Scenario: Environment migrated- HP-UX --> Linux acc --> gcc Compilation of the existing code giving below error: + gcc -I.-D_HPUX_SOURCE -D_XPG2 -DUNIX -c io_util_FILE.c -o io_util_FILE.o In file included from ./io_util.h:15, from io_util_FILE.c:13: /usr/local/include/ncurses/term.h:698: error: field âOttybâ has incomplete type /usr/local/include/ncurses/term.h:699: error: field âNttybâ has incomplete type Header file extract and description is attached for reference. Thank you.
[Bug driver/47676] error: field âOttybâ has incomplete type
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47676 --- Comment #2 from AK 2011-02-10 12:55:11 UTC --- Thanks Jonathan for initial view. The same code is being used before, which was compiling properly, but when migrated to Linux+gcc, it is giving this issue. In the menwhile, I will also check the instructions sent by you. Any further suggestions will be of big help. (In reply to comment #1) > I don't know why you think this is a gcc bug but please follow the > instructions > at http://gcc.gnu.org/bugs/ and provide preprocessed source. > This is more likely to be a bug in your code. Even if it's a problem with the > ncurses/term.h header, that's not a GCC bug.