Here:test "$(uname -o)" = "Android" && targetos=AndroidWhy not just "$(uname)" ?It shows an error but script continues
___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
Hi,
I think I have it mostly working following your advice but I cannot find how to
map v->cmp_r to the field that was storing that information before the commit.
In the gjmp_cond in riscv:
``` c
ST_FUNC int gjmp_cond(int op, int t)
{
int tmp;
int a = vtop->cmp_r & 0xff;
int b =
--Original--
From:
"Ekaitz Zarraga"
I'm sorry to send a duplicate mail by mistacka short while ago.
what I really want to say is that I make a patch to add all missing scope
modifier .
Static scope is userful when use ONE_SOURCE build mode, which can avoid
unexpected name confilict.
The patch show below:
On 11.08.2022 11:02, Christian JULLIEN wrote:
Here:
test "$(uname -o)" = "Android" && targetos=Android
Why not just "$(uname)" ?
Well, because on Android just uname gives "Linux".
It shows an error but script continues
___
Tinycc-devel
On 11.08.2022 17:06, pursuer2 via Tinycc-devel wrote:
I'm sorry to send a duplicate mail by mistack a short while ago.
what I really want to say is that I make a patch to add all missing scope
modifier .
Static scope is userful when use ONE_SOURCE build mode, which can avoid
unexpected name
Hi, I find although TCC supports VLA in function body, it doesn't seem to
support
VLA in function prototype.
example
void f(int n, char ch[n]);
Both gcc and clang compile this fine, while tcc says "error: 'n' undeclared"
___
Tinycc-devel mailing list
__auto_type is a useful gnu extension, very useful for writing safe macros.
Its advantage over typeof:
1. instead of typeof(expr) _x = (expr), now __auto_type _x = (expr). `expr' now
only appears once, avoid potensionexponential expansion.
2. when writing __auto_type x = y; `x' is put in
then how about this: test $(uname) = Linux && test $(uname -o) = Android &&
targetos=Android
On Fri, 12 Aug 2022, grischka wrote:
On 11.08.2022 11:02, Christian JULLIEN wrote:
Here:
test "$(uname -o)" = "Android" && targetos=Android
Why not just "$(uname)" ?
Well, because on Android