----- Ursprüngliche Mail ----
Von: Benjamin Wolsey <[EMAIL PROTECTED]>
An: [email protected]
Gesendet: Mittwoch, den 20. Februar 2008, 10:38:55 Uhr
Betreff: [Gnash-commit] gnash ChangeLog libbase/log.cpp libbase/log.h
    
    
It 
probably 
isn't 
the 
time 
to 
add 
boost::format 
just 
before 
a 
release, 
so 
all 
the 
new 
methods 
are 
commented 
out. 
That 
also 
gives 
time 
for 
discussion 
before 
any 
definite 
changes 
get 
made 
(or 
not). 
A 
boost::format 
typedef 
or 
perhaps 
better 
a 
macro 
LOG 
boost::format(_(x)); 
would 
make 
logging 
calls 
shorter 
and 
more 
likely 
to 
be 
passed 
to 
gettext.



(I've given up on the > characters for quoting for the moment because my Yahoo 
mail quotes every single word on a separate line.)

One problem with boost::format on its own is that badly formatted strings 
compile without difficulty but throw a runtime exception. It would certainly be 
necessary to define our own boost::format function and either tolerate 
badly-formed strings or too few / too many arguments or, better, catch the 
exception and warn. This is particularly a problem because translators could 
otherwise mess Gnash up by missing a % sign.



      E-Mails jetzt auf Ihrem Handy.
www.yahoo.de/go


_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit

Reply via email to