5 msgRe: PATCH COMMITTED: Don't break tests for enum...
2 msghash_rtx and volatile subexpressions
2 msgAny interest in i586-pc-interix3 configuration ...
11 msg[rfc] Moving bbs back to pools
1 msggcc-4.2-20070606 is now available
1 msgdataflow branch merge plans.
4 msg[bug] undefined symbols with -Woverloaded-virtu...
2 msghow to build executable instructions blocks dyn...
1 msggcj java help
4 msgCreating a patch ready for gcc-patches list

use of %n in genmodes.c causes trouble on Vista
\ Olivier Hainque (6 Jun 2007)
. \ Simon Brenner (6 Jun 2007)
. . \ Dave Korn (6 Jun 2007)
. . . \ Simon Brenner (6 Jun 2007)
. . . . \ Andrew Haley (6 Jun 2007)
. . . . . \ Rupert Wood (6 Jun 2007)
. . . . . . \ Rupert Wood (6 Jun 2007)
. . \ (Richard Kenner) (6 Jun 2007)
. . . \ Simon Brenner (6 Jun 2007)
. . . . \ Danny Smith (6 Jun 2007)
. . . . . \ Robert Dewar (6 Jun 2007)
. . . . . \ Aaron Gray (6 Jun 2007)
. . . . . . \ (Richard Kenner) (7 Jun 2007)
. . . . . \ Aaron Gray (7 Jun 2007)
. \ Ian Lance Taylor (6 Jun 2007)
. . \ Jack Lloyd (6 Jun 2007)
. . \ Paolo Bonzini (6 Jun 2007)
. . . \ Olivier Hainque (6 Jun 2007)
. . \ Olivier Hainque (6 Jun 2007)
. . \ Florian Weimer (7 Jun 2007)
. . . \ Jakub Jelinek (7 Jun 2007)
. . . . \ Paolo Bonzini (7 Jun 2007)
. . . . . \ Jakub Jelinek (7 Jun 2007)
. . . \ Ian Lance Taylor (7 Jun 2007)
. . . . \ Danny Smith (7 Jun 2007)
. \ Andrew Haley (6 Jun 2007)
. . \ Robert Dewar (6 Jun 2007)
. \ Matt Fago (7 Jun 2007)
. . \ Ian Lance Taylor (7 Jun 2007)

2 msglinking problem with boost
3 msgsegmentation fault
10 msgSomething weird with cp/decl.c switch statement
3 msgvector compare
3 msgBootstrap failure on ppc64
7 msglibjava is a train wreck.
1 msgRe: Comments for empty for-loop parts (was Re: ...
1 msggcc-4.1-20070604 is now available
6 msgtestsuite trigraphs.c failure due to cygwin <...
Subject:use of %n in genmodes.c causes trouble on Vista
Group:Gcc
From:Olivier Hainque
Date:6 Jun 2007


Hello,

genmodes.c uses the %n capabilities of printf to compute the width of
pieces it outputs. This causes troubles on Windows Vista, because ...

<< Because of security reasons, support for the %n format specifier is
disabled by default in printf and all its variants. ... the default
behavior is to invoke the invalid parameter handler ...
>>
[http://msdn2.microsoft.com/en-us/library/ms175782%28VS.80%29.aspx]

It seems to me that we could replace the uses of %n by uses of printf
return values. I'm not clear whether this would be considered portable
enough, however.

Opinions ?

Thanks in advance,

Olivier







© 2004-2008 readlist.com