Review Request 118852: [kconfig] Fix build on Visual C++ 2010
Nicolás Alvarez
nicolas.alvarez at gmail.com
Sat Jun 21 00:20:14 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/118852/
-----------------------------------------------------------
Review request for KDE Frameworks and kdewin.
Repository: kconfig
Description
-------
Visual C++ 2010 throws an internal compiler error trying to compile kconfigtest, since 5f4dc2973f. I couldn't figure out a non-intrusive code tweak that would work around the ICE, so I had to skip compiling this particular initialization code on this particular compiler version, and skip running the test that relies on it (testEnums).
The dummy=42 entry is so that the config group isn't empty, which makes testGroupCopyTo and testReparent still run and pass.
Diffs
-----
autotests/kconfigtest.cpp a8482b7
Diff: https://git.reviewboard.kde.org/r/118852/diff/
Testing
-------
Compiles on MSVC2010, kconfigtest passes (with testEnums skipped).
I haven't tried compiling on other compilers.
Thanks,
Nicolás Alvarez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140621/b2f45599/attachment.html>
More information about the Kde-frameworks-devel
mailing list