[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: |
Thu, 12 Dec 2002 08:34:03 +0100 (CET) |
Here is a resend of my problem with comeau generated sources.
Cheers,
Karel
--
Karel Gardas address@hidden
ObjectSecurity Ltd. http://www.objectsecurity.com
---------- Forwarded message ----------
Date: Sun, 8 Dec 2002 22:26:45 +0100 (CET)
From: Karel Gardas <address@hidden>
To: address@hidden
Subject: Problem with struct initialization.
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