diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2018-02-09 11:07:03 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2018-02-09 11:07:03 +0300 |
commit | 59c916f5669209a78cc07af8aadf5f6365e07947 (patch) | |
tree | 85c17e370f407a57f5a37a7ab5fc6f2d2272f0ab /tools | |
parent | c6fd81b3049a49a4531be39f5ee8820c13195c45 (diff) | |
download | bdwgc-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.c | 2 |
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; |