use of %n in genmodes.c causes trouble on Vista

Paolo Bonzini bonzini@gnu.org
Thu Jun 7 10:09:00 GMT 2007


> printf (_("foo %s%n"), some_string, &n);
> is ok even with -D_FORTIFY_SOURCE=2

How is this considered ok?  Is _("abc") placing the translation in 
non-writable memory?

Paolo



More information about the Gcc mailing list