Review Request 127177: Compilation fixes for MSVC (2013)
Kevin Funk
kfunk at kde.org
Fri Feb 26 12:42:13 UTC 2016
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127177/#review92805
-----------------------------------------------------------
Fix it, then Ship it!
src/kcatalog.cpp (line 46)
<https://git.reviewboard.kde.org/r/127177/#comment63232>
Remove indentation. Same below.
- Kevin Funk
On Feb. 25, 2016, 5:16 p.m., Thomas Friedrichsmeier wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/127177/
> -----------------------------------------------------------
>
> (Updated Feb. 25, 2016, 5:16 p.m.)
>
>
> Review request for KDE Frameworks and kdewin.
>
>
> Repository: ki18n
>
>
> Description
> -------
>
> Fix compilation on Windows with MSVC.
>
> a) MSVC accepts declspec at global scope, only.
> b) QStringLiteral does not work with concatenated literals in MSVC (see http://blog.qt.io/blog/2014/06/13/qt-weekly-13-qstringliteral/). Since the occurences seem to be mostly for debugging, going through QString::fromLatin1() in these cases should not hurt much.
>
>
> Diffs
> -----
>
> src/kcatalog.cpp 083443d
> src/ktranscript.cpp 72c3755
>
> Diff: https://git.reviewboard.kde.org/r/127177/diff/
>
>
> Testing
> -------
>
> Now builds with MSVC 2013.
>
> No other compilers and no other platforms tested for this patch.
>
>
> Thanks,
>
> Thomas Friedrichsmeier
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20160226/3b976aea/attachment.html>
More information about the Kde-frameworks-devel
mailing list