[Top][All Lists]

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

Re: [Tinycc-devel] Re: Before TinyCC supports __declspec(noreturn)and __

From: Timo VJ Lähde
Subject: Re: [Tinycc-devel] Re: Before TinyCC supports __declspec(noreturn)and __attribute__ ((__nothrow__))
Date: Tue, 6 Apr 2010 13:14:13 +0300

----- Original Message ----- From: "grischka" <address@hidden>
To: <address@hidden>
Sent: Friday, April 02, 2010 12:46 PM
Subject: Re: [Tinycc-devel] Re: Before TinyCC supports __declspec(noreturn)and __attribute__ ((__nothrow__))

Timo VJ Lähde wrote:
That first setjmp.h patch is not needed id this patch is already used:
--- a\tccgen.c Mon Mar 15 23:51:00 2010
+++ b\tccgen.c Thu Apr 01 08:22:38 2010
@@ -2900,7 +2900,7 @@
        case TOK_ATTRIBUTE1:
        case TOK_ATTRIBUTE2:
-            if (ATTR_MODE(ad)) {
+            if (ad->mode) {
                u = ATTR_MODE(ad) -1;
                t = (t & ~VT_BTYPE) | u;

And what about the other occurrence of ATTR_MODE(ad) just below?

--- grischka

Tinycc-devel mailing list

I think that macro is used incorrectly but i don't understand nothing about those __attribute__ things like this:
 typedef int register_t __attribute__ ((__mode__ (__word__)));

That problem in mob just prevents me to compile win32/lib/wincrt1.c with tcc.exe

.\tcc -c lib/wincrt1.c
In file included from lib/wincrt1.c:3:
In file included from c:/code/tinycc-mob-20100406/win32/include/winapi/windows.h: 62: In file included from c:/code/tinycc-mob-20100406/win32/include/winapi/windef.h:122: c:/code/tinycc-mob-20100406/win32/include/winapi/winnt.h:3103: error: too many basic types


reply via email to

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