[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] TCC bug
From: |
Pedro A. Aranda Gutiérrez |
Subject: |
[Tinycc-devel] TCC bug |
Date: |
Thu, 06 Feb 2003 10:18:17 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 |
Hi folks,
I'm using TCC-0.9.16 and in one of my 'think faster than
write' pahses I've stumbled across a bug:
This simple program causes a segmentation fault instead
of giving a compiler error both as a shell script and
when compiling with tcc:
-------- segmfault.c -----
#!/usr/local/bin/tcc
#include <tcclib.h>
int main(int argc, char **argv)
{
struct *slowfinger;
printf( "I should get an error message\n"
" and not a segmentation fault!!\n");
}
---------------------------
In a similar situation, GCC says:
segmfault.c: In function 'main'
segmfault.c:7: parse error before '*' token
--
Pedro Andrés Aranda Gutiérrez
Telefónica I+D IP Network Access Technologies
Consultant mailto:address@hidden
C./ Emilio Vargas, 6 Tlf +34-91 337 4702
E-28043 Madrid, Spain FAX +34-91 337 4502
Fragen sind nicht da, um beantwortet zu werden.
Fragen sind da, um gestellt zu werden - Georg Kreisler
- [Tinycc-devel] TCC bug,
Pedro A. Aranda Gutiérrez <=