[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] casting bug?
From: |
charlesrandall4-tinycc |
Subject: |
[Tinycc-devel] casting bug? |
Date: |
Sun, 10 Jul 2005 22:51:04 -0700 (PDT) |
I believe that the example below should compile. "gcc
-Wall -Wextra -ansi -pedantic" compiles it without
warning or error.
Here's what I get,
$ ./tcc -v
tcc version 0.9.23
$ ./tcc test.c
test.c:4: cannot use pointers here
I believe that assignment should be the same as,
x = 0;
Right?
-Charles
int main(void)
{
int x;
x = (char)((void *)0);
return 0;
}
Charles F. Randall, IV
address@hidden (always forwarded)
- [Tinycc-devel] casting bug?,
charlesrandall4-tinycc <=
- Re: [Tinycc-devel] casting bug?, Felix Nawothnig, 2005/07/11
- Re: [Tinycc-devel] casting bug?, Dave Dodge, 2005/07/11
- Re: [Tinycc-devel] casting bug?, Felix Nawothnig, 2005/07/11
- Re: [Tinycc-devel] casting bug?, Dave Dodge, 2005/07/11
- Re: [Tinycc-devel] casting bug?, Greg Haerr, 2005/07/11
- Re: [Tinycc-devel] casting bug?, Henrik Nordstrom, 2005/07/11
- Re: [Tinycc-devel] casting bug?, Alexander Strasser, 2005/07/12
- Re: [Tinycc-devel] casting bug?, Felix Nawothnig, 2005/07/12
- Re: [Tinycc-devel] casting bug?, Alexander Strasser, 2005/07/12
- Re: [Tinycc-devel] casting bug?, Felix Nawothnig, 2005/07/12