|
From: | Carlos Montiers |
Subject: | Re: [Tinycc-devel] help with this modification |
Date: | Wed, 12 Mar 2014 01:40:14 -0400 |
Le 2014-03-11 22:39, Carlos Montiers a écrit :Depending on the version of tcc you use line 3324 could be a quite different place. You could either give a commit sha1 to be more precise or give a unified diff that would give us the context of where you are trying this change.
Hello. I want modify the source code of tiny for warns about arrays
declared inside functions, with a size greather than 1MB (default
stack size on windows) or a less value, maybe 256KB, but I have
problem for know is the arrays is declared in global or inside the
function. How I can know it.
I have this line on tccgen.c under line 3324 :
if ((n > 262144) && !(vtop->type.t &
VT_STATIC))
tcc_warning("array size greater
than 256 KB can full the default stack reservation size on windows (1
MB)");
By the way, I'd go for n > (1 << (256 * 1024)) or a 0x notation that would be more comprehensible than this base 10 integer value.
Best regards,
Thomas
_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
[Prev in Thread] | Current Thread | [Next in Thread] |