summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2018-02-09 11:07:03 +0300
committerIvan Maidanski <ivmai@mail.ru>2018-02-09 11:07:03 +0300
commit59c916f5669209a78cc07af8aadf5f6365e07947 (patch)
tree85c17e370f407a57f5a37a7ab5fc6f2d2272f0ab /tools
parentc6fd81b3049a49a4531be39f5ee8820c13195c45 (diff)
downloadbdwgc-59c916f5669209a78cc07af8aadf5f6365e07947.tar.gz
Fix 'anonymous type with no linkage used to declare variable' C++ error
(fix of commit 8086c72) Issue #201 (bdwgc). * tests/test.c (A): Give some name to struct. * tools/setjmp_t.c (a): Likewise.
Diffstat (limited to 'tools')
-rw-r--r--tools/setjmp_t.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/setjmp_t.c b/tools/setjmp_t.c
index 2b4c4dc8..fffc65c6 100644
--- a/tools/setjmp_t.c
+++ b/tools/setjmp_t.c
@@ -55,7 +55,7 @@ int getpagesize(void)
}
#endif
-struct {
+struct a_s {
char a_a;
char * a_b;
} a;