[Tinycc-devel] State of the tcc project (jiang)

2014-06-20 Thread jiang
This is my modified. I tried to modify the Makefile, but my limited level, think of ways to modify later. --- tccgen.c --- index 7906ccf..4f2a02c 100644 @@ -2562,6 +2562,8 @@ ST_FUNC void vstore(void) /* leave source on

Re: [Tinycc-devel] State of the tcc project (jiang)

2014-06-20 Thread Aidan Dodds
On 20/06/2014 06:58, jiang wrote: printf(%d %d %d %d %d\n, + st1.f2, st1.f3, st1.f4, st1.f5); Am i being stupid, or do you specify 5 format specifiers with only 4 arguments?! ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org

Re: [Tinycc-devel] State of the tcc project (jiang)

2014-06-20 Thread Aidan Dodds
I see now that must be intentional, but that's also very dangerous. It looks like you are trying to reproduce a gcc bug, why not make that optional? Perhaps proposing a compatibility mode if it would be a useful thing to have. Even if its sensible, you should really control what garbage data

Re: [Tinycc-devel] Help: How to delete my commit completely by git?

2014-06-20 Thread Thomas COUDRAY
Instead of use git push --force (not recommended) It might be better if you push a revert patch. $ git revert 7a3f6d494 /* Win: Enable use *.def + *.c files as library instead of *.a by -l optio */ $ git revert 642b6d0f5 /* Add the possibility to use noname functions by ordinal */ 2014-06-18

Re: [Tinycc-devel] Help: How to delete my commit completely by git?

2014-06-20 Thread lifenjoiner
I supposed to do it myself. Thomas COUDRAY has done it instead. Anyway, it rolls back to the previous version. Don't complain on me. All I have done is to make TCC more practical, at least I have use for some time. Instead of use git push --force (not recommended) It might be better if you

Re: [Tinycc-devel] Tinycc-devel Digest, Vol 134, Issue 15

2014-06-20 Thread jiang
No investigation, no right to speak jiang@jiang:~/test$ cat c3.c int main(){ /* struct { unsigned a:9, b:7, c:5; } s; s.a = s.b = s.c = 3; printf(%d / %d / %d\n, s.a, s.b, s.c); */ struct sbf1 { int f1 : 3; int : 2; int f2 : 1; int : 0; int f3 : 5; int f4 : 7; unsigned int f5 : 7; } st1; st1.f1