Bug 136137 - Restoring operability for Microsoft Visual Studio 2013
Summary: Restoring operability for Microsoft Visual Studio 2013
Status: RESOLVED NOTABUG
Alias: None
Product: cppunit
Classification: Unclassified
Component: General (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All Windows (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-26 07:11 UTC by Sasha
Modified: 2021-04-01 03:54 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Restoring operability for Microsoft Visual Studio 2013 + fixing typo in NEWS (4.88 KB, patch)
2020-08-26 07:11 UTC, Sasha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sasha 2020-08-26 07:11:31 UTC
Created attachment 164698 [details]
Restoring operability for Microsoft Visual Studio 2013 + fixing typo in NEWS

Microsoft Visual Studio 2013 supports only SOME of the C++11 features.

MSVS2013 was working fine at least with CppUnit 1.12.1 (that was the last version of CppUnit we were using before trying to upgrade CppUnit), but CppUnit 1.15.0 has introduced MSVS2013-incompatible changes.

However, it seems to be trivial to restore operability for MSVS2013 — I've attached patch.

P.S.: Additionally, there was a typo in NEWS, I've fixed it too in the patch.
Comment 1 Sasha 2020-09-10 09:24:24 UTC
Sorry, I was going to write, but forgot…

I've realized that CppUnit ≥1.14.0 doesn't work reliably with MSVS 2013 anyway (despite CppUnit 1.14.0 _compiles_ with MSVS 2013). So, the problem is not just that CppUnit ≥1.15.0 doesn't compile with MSVS 2013, the actual compatibility was broken before (at least since 1.14.0) and therefore the problem is deeper than the one my patch tries to solve/workaround.

TL;DR: My patch doesn't work. You may close this report.
Comment 2 Xisco Faulí 2021-03-31 08:32:59 UTC
(In reply to Sasha from comment #1)
> Sorry, I was going to write, but forgot…
> 
> I've realized that CppUnit ≥1.14.0 doesn't work reliably with MSVS 2013
> anyway (despite CppUnit 1.14.0 _compiles_ with MSVS 2013). So, the problem
> is not just that CppUnit ≥1.15.0 doesn't compile with MSVS 2013, the actual
> compatibility was broken before (at least since 1.14.0) and therefore the
> problem is deeper than the one my patch tries to solve/workaround.
> 
> TL;DR: My patch doesn't work. You may close this report.

Closing then.