Review Request 115345: Fix kimageformats build with MSVC

Alexander Richardson arichardson.kde at googlemail.com
Mon Jan 27 23:39:14 UTC 2014



> On Jan. 27, 2014, 11:29 p.m., Christoph Feck wrote:
> > src/imageformats/pic_write.cpp, line 54
> > <https://git.reviewboard.kde.org/r/115345/diff/1/?file=240771#file240771line54>
> >
> >     Missing <qint16> ?
> >     
> >     (Question mark, because I am unsure, I did not look at either of the functions)

good catch, I assumed they both had the same type...


- Alexander


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115345/#review48421
-----------------------------------------------------------


On Jan. 27, 2014, 10:38 p.m., Alexander Richardson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/115345/
> -----------------------------------------------------------
> 
> (Updated Jan. 27, 2014, 10:38 p.m.)
> 
> 
> Review request for KDE Frameworks, kdewin and Alex Merry.
> 
> 
> Repository: kimageformats
> 
> 
> Description
> -------
> 
> 1) Use #pragma pack instead of __attribute__((packed))
> 
> This is available on all supported compilers, the attribute does not exist
> for MSVC
> --------------------------------------------------
> 2) Use q{To,From}BigEndian instead of hton* and ntoh*
> 
> These functions don't seem to be available as inline functions on win32
> 
> 
> Diffs
> -----
> 
>   src/imageformats/pcx.cpp e0af73b4cac30afcc158e094cd6554a6e4b59388 
>   src/imageformats/pic_read.cpp 42432185c362497efd596a8ce4f1cdae283ed294 
>   src/imageformats/pic_write.cpp 99cd6a1ccff04fdeee4a3b5c2b3d76d9fd89ca71 
> 
> Diff: https://git.reviewboard.kde.org/r/115345/diff/
> 
> 
> Testing
> -------
> 
> didn't compile before, does now
> 
> 
> Thanks,
> 
> Alexander Richardson
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-windows/attachments/20140127/1ca2fb6f/attachment.html>


More information about the Kde-windows mailing list