patch 8.0.1735: flexible array member feature not supported by HP-UX
Problem: Flexible array member feature not supported by HP-UX. (John
Marriott)
Solution: Do not use the flexible array member feature of C99.
diff --git a/src/auto/configure b/src/auto/configure
index 6673de8..7a65bec 100755
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -4188,14 +4188,10 @@
main ()
{
- struct with_flexible_member {
- int count; // comment
- char text[]; // another comment
- };
enum {
- one,
- two,
- three,
+ one, // one comment
+ two, // two comments
+ three, // three comments
};
long long int a = 1;
long long unsigned b = 2;