FYI: KF5Plasma fails to build under MSVC
Andrius da Costa Ribas
andriusmao at gmail.com
Tue Dec 30 23:44:21 UTC 2014
yep, https://git.reviewboard.kde.org/r/120877/
2014-12-30 12:03 GMT-02:00 Kevin Funk <kfunk at kde.org>:
> See log:
>
> z:\kderoot\download\git\plasma\src\plasma\private/framesvg_helpers.h(47) :
> error C2051: case expression not constant
> z:\kderoot\download\git\plasma\src\plasma\private/framesvg_helpers.h(49) :
> error C2051: case expression not constant
> z:\kderoot\download\git\plasma\src\plasma\private/framesvg_helpers.h(51) :
> error C2051: case expression not constant
> z:\kderoot\download\git\plasma\src\plasma\private/framesvg_helpers.h(53) :
> error C2051: case expression not constant
>
> (more issues of this type (count: 4 more) down in this file)
>
> I could fix this by adding a `EnabledBorder::TopLeft = TopBorder |
> LeftBorder,
> ...` and use this, but this is not the right fix semantically.
> Adding another enumaration along `enum foo { TopLeft =
> EnabledBorders::TopBorder | EnabledBorders::LeftBorder, ...}` inside
> framesvg_helpers.h isn't accepted by MSVC either (throws 'expected constant
> expr').
>
> Note: Rest builds fine.
>
> --
> Kevin Funk | kfunk at kde.org | http://kfunk.org
> _______________________________________________
> Kde-frameworks-devel mailing list
> Kde-frameworks-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20141230/f417d36e/attachment.html>
More information about the Kde-frameworks-devel
mailing list