[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[automake-commit] branch master updated: tests: support -fno-common in v
From: |
Karl Berry |
Subject: |
[automake-commit] branch master updated: tests: support -fno-common in vala-mix2 test. |
Date: |
Sat, 06 Jun 2020 18:47:48 -0400 |
This is an automated email from the git hooks/post-receive script.
karl pushed a commit to branch master
in repository automake.
View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=74b9f0bbad27ae1b6ecfca7fb072cbad85a98a6b
The following commit(s) were added to refs/heads/master by this push:
new 74b9f0b tests: support -fno-common in vala-mix2 test.
74b9f0b is described below
commit 74b9f0bbad27ae1b6ecfca7fb072cbad85a98a6b
Author: Karl Berry <karl@freefriends.org>
AuthorDate: Sat Jun 6 15:47:33 2020 -0700
tests: support -fno-common in vala-mix2 test.
This change fixes https://bugs.gnu.org/41726.
* t/vala-mix2.sh: extern in .h, initialization in .c.
GCC 10 defaults to -fno-common.
---
t/vala-mix2.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/vala-mix2.sh b/t/vala-mix2.sh
index 8e6a214..933a3ff 100644
--- a/t/vala-mix2.sh
+++ b/t/vala-mix2.sh
@@ -44,7 +44,7 @@ int main ()
END
cat > foo.h <<'END'
-int foo;
+extern int foo;
int bar (void);
int baz (void);
END
@@ -56,7 +56,7 @@ END
cat > baz.c <<'END'
#include "foo.h"
-extern int foo = 0;
+int foo = 0;
int baz (void) { return 0; }
END
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [automake-commit] branch master updated: tests: support -fno-common in vala-mix2 test.,
Karl Berry <=