[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] rev 8615bb4 makes build become nosier
From: |
Roy Tam |
Subject: |
Re: [Tinycc-devel] rev 8615bb4 makes build become nosier |
Date: |
Thu, 16 Apr 2015 08:32:33 +0800 |
Please try mingw target.
In file included from foo.c:2:
d:/tinycc/win32/include/stdio.h:242: warning: unknown #pragma push_macro
In file included from foo.c:2:
d:/tinycc/win32/include/stdio.h:243: warning: unknown #pragma push_macro
In file included from foo.c:2:
d:/tinycc/win32/include/stdio.h:267: warning: unknown #pragma pop_macro
In file included from foo.c:2:
d:/tinycc/win32/include/stdio.h:268: warning: unknown #pragma pop_macro
2015-04-16 8:27 GMT+08:00 Steven G. Messervey <address@hidden>:
>>rev 8615bb4 makes tcc complaining #pragma push_macro and #pragma pop_macro,
>>please fix or silencing it.
>
> I cannot reproduce here.
> My testcase:
> /* foo.c */
> #include <stdio.h>
>
> #pragma pack(push,1)
> typedef struct _bar {
> int x;
> int y;
> int z;
> } _bar, *bar;
> #pragma pack(pop)
> typedef struct _baz {
> float m;
> float n;
> float o;
> } _baz,*baz;
>
>
> int main(int argc, char *argv[]) {
> bar a;
> baz b;
> printf("OK!\n");
> return 0;
> }
> /* end of foo.c */
>