bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep-2.5 compilation problem on NetBSD-1.6 (patches included)


From: Thomas Klausner
Subject: grep-2.5 compilation problem on NetBSD-1.6 (patches included)
Date: Wed, 25 Dec 2002 21:03:10 +0100

Hi!

Compilation of grep-2.5 on NetBSD-1.6 and newer fails with:
In file included from dfa.c:116:
dfa.h:272: parse error before `wctype_t'
dfa.h:272: warning: no semicolon at end of struct or union
dfa.h:281: parse error before `}'
dfa.c: In function `parse_bracket_exp_mb':
dfa.c:470: sizeof applied to an incomplete type
dfa.c:476: arithmetic on pointer to an incomplete type
dfa.c:476: dereferencing pointer to incomplete type
dfa.c:481: dereferencing pointer to incomplete type

The error is that wctype_t is not found, but needed for dfa.c;
the test that defines MBS_SUPPORT should also test wctype_t.

Patches are attached.

Please include them in the distribution.

Thanks,
 Thomas

-- 
Thomas Klausner - address@hidden
What is wanted is not the will to believe, but the will to find
out, which is the exact opposite. -- Bertrand Russell

Attachment: patch-ab
Description: Text document

Attachment: patch-ac
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]