[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new snapshot tomorrow. anything pending?
From: |
arnold |
Subject: |
Re: new snapshot tomorrow. anything pending? |
Date: |
Sun, 01 Nov 2020 23:04:37 -0700 |
User-agent: |
Heirloom mailx 12.5 7/5/10 |
Hi.
Jim Meyering <jim@meyering.net> wrote:
> If you have any pending patches, please share details soon.
> I'm going to publish a snapshot tomorrow, leading to a grep-3.6
> release in a week or two.
Please consider the below. I am not yet sure to what end, but I've
been working on making gawk compile with g++. For the moment I'm
leaving the support routines in C, but I needed this change
in dfa.h.
Thanks,
Arnold
-------------------------------
diff --git a/support/dfa.h b/support/dfa.h
index 2f77f263..d371cc94 100644
--- a/support/dfa.h
+++ b/support/dfa.h
@@ -24,6 +24,11 @@
struct localeinfo; /* See localeinfo.h. */
+#ifdef __cplusplus
+extern "C" {
+#endif // __cplusplus
+
+
/* Element of a list of strings, at least one of which is known to
appear in any R.E. matching the DFA. */
struct dfamust
@@ -131,3 +136,6 @@ extern void dfawarn (const char *);
takes a single argument, a NUL-terminated string describing the error.
The user must supply a dfaerror. */
extern _Noreturn void dfaerror (const char *);
+#ifdef __cplusplus
+}
+#endif // __cplusplus