This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
build/1117: compiler errors in stat.h due to missing types.h typedef of blksize_t
- From: kak at filetek dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 4 Mar 2003 16:43:51 -0000
- Subject: build/1117: compiler errors in stat.h due to missing types.h typedef of blksize_t
- Reply-to: kak at filetek dot com
>Number: 1117
>Category: build
>Synopsis: compiler errors in stat.h due to missing types.h typedef of blksize_t
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Mar 04 16:48:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Kris Kelley
>Release: 5.3
>Organization:
>Environment:
solaris5.8, gcc3.0.1 (built for solaris2.6)
>Description:
When trying to build gdb 5.3, I get compiler errors in sys/stat.h (before line 258, parse error before blksize_t). A preprocessor output (gcc -E ...) of fdmatch.c indicates that neither typedef of blksize_t in sys/types.h (around line 175) were included. If I create a new types.h with an unconditional typedef (and change the #include in fdmatch.c), the compile succeeds.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: