[Kde-bindings] Fw: SMOKE: patches to build with Visual C++

Dimitar Dobrev dpldobrev at yahoo.com
Fri Nov 23 03:33:14 UTC 2012


Please ignore the second patch, it's wrong.


----- Forwarded Message -----
From: Dimitar Dobrev <dpldobrev at yahoo.com>
To: KDE bindings <kde-bindings at kde.org> 
Sent: Wednesday, November 21, 2012 8:47 PM
Subject: SMOKE: patches to build with Visual C++
 

    1. A warning that the pp_macro type is declared as a structure in pp_macro.h:

        struct CPPPARSER_EXPORT pp_macro

        but forwarded as a class in pp-environment.h:
    

        namespace rpp {

            class pp_macro;
            class pp;
            class LocationTable;
            ...

        prevents smokegen from being built with Visual C++;

    2. The -mstackrealign option is valid only for MinGW so I added a check if this is the compiler used.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20121122/68357e4b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Added-mstackrealign-on-Windows-only-when-the-compile.patch
Type: application/octet-stream
Size: 6981 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20121122/68357e4b/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fixed-a-warning-type-name-first-seen-using-struct-no.patch
Type: application/octet-stream
Size: 730 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20121122/68357e4b/attachment-0001.obj>


More information about the Kde-bindings mailing list