This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
tui/1751: tui/tui-data.h:40: warning: no semicolon at end of struct or union
- From: tlmoore at raytheon dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 17 Aug 2004 16:22:43 -0000
- Subject: tui/1751: tui/tui-data.h:40: warning: no semicolon at end of struct or union
- Reply-to: tlmoore at raytheon dot com
>Number: 1751
>Category: tui
>Synopsis: tui/tui-data.h:40: warning: no semicolon at end of struct or union
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Aug 17 16:28:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Terry Moore
>Release: 6.1.1
>Organization:
>Environment:
SunOS dogwood1 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Fire-V210
# gcc -v
Reading specs from /h/opt/gnu/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/specs
gcc version 2.95.3 20010315 (release)
./configure (no options specified.)
>Description:
Looks fine until it gets to tui, Then I get:
/h/opt/gnu/bin/gcc -c -g -O2 -I. -I. -I./config -DLOCALEDIR="\"/usr/local/share/l
-I./../bfd -I./../include -I../intl -I./../intl -DMI_OUT=1 -DTUI=1 -Wimplicit -Wret
nitialized -Wformat-nonliteral ./tui/tui-command.c
In file included from ./tui/tui-command.c:28:
tui/tui-data.h:40: parse error before `WINDOW'
tui/tui-data.h:40: warning: no semicolon at end of struct or union
tui/tui-data.h:52: parse error before `}'
There may be some line wrapping above on the tui compile line. There are several errors after these, but it appears they are a direct result of the first error.
>How-To-Repeat:
crashes the same place every time for me, whether I run configure again or not. I run "make" and it looks like it is cranking, it builds several Makefiles, and then the tui-command.c file fails
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: