[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] Problem with struct initialization.
From: |
Karel Gardas |
Subject: |
[Tinycc-devel] Problem with struct initialization. |
Date: |
Sun, 8 Dec 2002 22:26:45 +0100 (CET) |
Hello,
I have following code, which is perfectly compilable by gcc, but which
fails with tcc:
struct __X { struct __X *next;};
static struct __X __link;
static struct __X __link = {((struct __X *)0),};
tcc error is:
tcc-test3.c:5: redefinition of '__link'
Is it a known bug?
Thanks,
Karel
--
Karel Gardas address@hidden
ObjectSecurity Ltd. http://www.objectsecurity.com
- [Tinycc-devel] Problem with struct initialization.,
Karel Gardas <=