[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] the 'TODO' list - "typedefs can be structure fields" ?
From: |
Joshua Phillips |
Subject: |
[Tinycc-devel] the 'TODO' list - "typedefs can be structure fields" ? |
Date: |
Wed, 28 Nov 2007 20:03:19 +0000 |
User-agent: |
KMail/1.9.7 |
I've been going through the "TODO" file in the hg repo.
> - typedefs can be structure fields
Not sure what this means;
struct foo {
typedef int bar_t;
};
isn't legal, and tcc does produce an error (although a little cryptic);
test.c:2: invalid type for bar_t
or does it refer to:
typedef int bar_t;
struct foo {
bar_t b;
};
which, afaik, works fine, even with an older version of tcc.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Tinycc-devel] the 'TODO' list - "typedefs can be structure fields" ?,
Joshua Phillips <=