[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] latest mob broken on typedefs

From: Aharon Robbins
Subject: [Tinycc-devel] latest mob broken on typedefs
Date: Mon, 07 Feb 2011 23:04:48 +0200
User-agent: Mutt/1.5.20 (2009-08-17)

Hi All.

I just checked out the latest mob and tried to compile gawk. It fails.
Here is a reduced test case:

$ cat testit.c 

typedef struct {
        int member1;
} moo;

static int foo()
        static moo boo;

        return 1;
$ tcc testit.c
testit.c:8: error: Function without file scope cannot be static


Aharon (Arnold) Robbins                         arnold AT skeeve DOT com
P.O. Box 354            Home Phone: +972  8 979-0381
Nof Ayalon              Cell Phone: +972 50  729-7545
D.N. Shimshon 99785     ISRAEL

reply via email to

[Prev in Thread] Current Thread [Next in Thread]