win32 stderr problem in kdecore/kcmdlineargs.cpp
Thiago Macieira
thiago at kde.org
Fri Aug 17 10:33:58 BST 2007
On Friday 17 August 2007 10:41:11 David Faure wrote:
> On Friday 17 August 2007, Ralf Habacker wrote:
> > Hi,
> >
> > in kdecore/kcmdlineargs.cpp fprintf(stderr,...) is often used to print
> > failures. Unfortunally on win32 with gui apps this output goes to
> > /dev/null.
> >
> > Also using an hardcoded stderr makes it unable to change the output
> > using kdebugdialog.
> >
> > Would it not better to use kFatal() for this cases ?
>
> OK - unless this code runs too early for KConfig to work (assuming kDebug
> still uses KConfig).
Please don't change the ones in KCmdLineArgs::usageError.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070817/26d5eee2/attachment.sig>
More information about the kde-core-devel
mailing list