This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: Proof-of-concept for dynamic format checking


Mike Stump wrote:

Imagine the following program:

{
   int i = 234234;
   printf ("%d", i);
}

imagine the folder collapsing this to puts ("234234");

Now imagine that the output of the original program depends on the locale that's in force at execution time, which defines numberic output to be in arabic numerals (real ones, not the sort we see in ASCII).


-- Brane


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]