Re: [Tinycc-devel] Errors using riscv64-tcc with gcc/newlib headers
Thanks for the feedback! I was pretty busy with work this past week, so it has taken me until now to update the patch. -Sam Soli Deo Gloria From 931a146591ecc5e8bb45b5518a39e7fee92924f0 Mon Sep 17 00:00:00 2001 From: Sam Ellicott Date: Thu, 29 Jul 2021 22:36:53 -0400 Subject: [PATCH] tccdef.h additons for riscv64 newlib stdint --- include/tccdefs.h | 4 1 file changed, 4 insertions(+) diff --git a/include/tccdefs.h b/include/tccdefs.h index ae0364e..0f470bb 100644 --- a/include/tccdefs.h +++ b/include/tccdefs.h @@ -122,6 +122,10 @@ /* Linux */ #endif +/* Some derived integer types needed to get stdint.h to compile correctly on some platforms */ +#define __UINTPTR_TYPE__ unsigned __PTRDIFF_TYPE__ +#define __INTPTR_TYPE__ __PTRDIFF_TYPE__ +#define __INT32_TYPE__ int #if !defined _WIN32 /* glibc defines */ -- 2.32.0 ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel
Re: [Tinycc-devel] -Werror=X (but ugly)
Steffen Nurpmeso wrote: The enum adds quite a bit on top of it; the addition of set_W_flag() is, hmm, not nice, but i hope the current approach is not too heavy. Maybe not heavy really but unnecessary, in quite some aspects. One of them that after all tinycc currently does have only 2 warnings where all that bit-mask fuzz can develop. Just in case, below the commands how you can revert this more or less cleanly: $ git revert -n 2709b7 49cd6f 0d59ac 0c1676 a7a138 $ git commit -m "revert experimental -W[no-]error=X ..." Take care ... --- grischka Keep on going tcc :) Ciao, --steffen | |Der Kragenbaer,The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt) ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel
[Tinycc-devel] anybody working on macOS fix?
Hi, Sushant Pandurangi Fix 'unused function' warning on non-macOS targets was the last commit that allowed to make a fully working tcc on macOS M1 (using rosetta) Next one "grischka macos: yet another tbd adjustment" breaks the test suite (probably with double/long double) It would be nice if someone (grischka?) either fix the fix or revert things back to last known working version. Tia.___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel