Review Request 118852: [kconfig] Fix build on Visual C++ 2010

Nicolás Alvarez nicolas.alvarez at gmail.com
Mon Jun 23 21:21:45 UTC 2014



> On June 23, 2014, 5:29 p.m., Patrick Spendrin wrote:
> > autotests/kconfigtest.cpp, line 175
> > <https://git.reviewboard.kde.org/r/118852/diff/1/?file=282763#file282763line175>
> >
> >     Did you try out whether removing the Flags calls did change something?

Yes, my final minimal testcase for the compiler error didn't even use enums or flags for the second argument.


- Nicolás


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


On June 20, 2014, 9:20 p.m., Nicolás Alvarez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/118852/
> -----------------------------------------------------------
> 
> (Updated June 20, 2014, 9:20 p.m.)
> 
> 
> 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-windows/attachments/20140623/21526f38/attachment.html>


More information about the Kde-windows mailing list