Review Request: Use Qt cout and cerr

Oswald Buddenhagen ossi at kde.org
Thu Aug 26 17:44:53 BST 2010



> On 2010-08-26 15:56:13, Christoph Feck wrote:
> > /trunk/KDE/kdelibs/kdecore/kconfig_compiler/kconfig_compiler.cpp, line 40
> > <http://reviewboard.kde.org/r/5158/diff/1/?file=34727#file34727line40>
> >
> >     Make global variables "static", otherwise they might appear in the symbol table.
> 
> Parker Coates wrote:
>     Nowadays, isn't it preferred to put such things in an anonymous namespace instead of making them file static?

that doesn't prevent the symbol from having external linkage.


- Oswald


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/5158/#review7227
-----------------------------------------------------------


On 2010-08-26 15:39:13, Jaime Torres wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/5158/
> -----------------------------------------------------------
> 
> (Updated 2010-08-26 15:39:13)
> 
> 
> Review request for kdelibs.
> 
> 
> Summary
> -------
> 
> Use Qt cout and cerr. Qt already has in cout the methods for a lot of Qt data types.
> 
> 
> Diffs
> -----
> 
>   /trunk/KDE/kdelibs/kdecore/kconfig_compiler/kconfig_compiler.cpp 1168408 
> 
> Diff: http://reviewboard.kde.org/r/5158/diff
> 
> 
> Testing
> -------
> 
> Works in linux and cygwin.
> 
> 
> Thanks,
> 
> Jaime
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20100826/74ddf5f8/attachment.htm>


More information about the kde-core-devel mailing list