- Home /
- Visual Studio /
Paul A. Bristow
reported
Dec 07, 2017 at 11:53 AM
Solution by
Sasha Sitnikov
·
Jan 13, 2018 at 02:37 PM
I use the following workaround (in stdafx.h):
#if defined(__clang__) # define __is_trivially_destructible(arg) __has_trivial_destructor(arg) # include <type_traits> #endif
Solution by
Gabriel Hare
·
Dec 09, 2017 at 05:11 AM
Rolling back to v15.0 makes building with v141_clang_c2 possible. To roll back to this version, uninstall Visual Studio, reinstall from here (login required):
https://my.visualstudio.com/Downloads?q=Visual%20Studio%2015.2&pgroup=
My first attempt yielded a non-functional result (MSBuild.exe was not found) but after uninstalling anything associated with visual studio development manually (via "Apps & features" setting a.k.a "Add or remove programs") I was able to return to building.
NOTE: As an alternative (which I have not tested) you can presently download v15.4 here:
https://www.visualstudio.com/en-us/productinfo/installing-an-earlier-release-of-vs2017
I have found not other versions of Visual Studio tucked away in Microsoft's pages...
@Leo Zhang - I understand that with so few people wanting to use specification-compliant C++14 this issue may be a low priority.
However... I suspect that many developers would be grateful if an online version archive were maintained for Visual Studio, since that would address situation like this one which could occur in any language.
,Rolling back to 15.0 yields an installation that can build using v141_clang_c2.
Visual Studio v15.0 (and presently, v15.5) are available here (login required):
https://my.visualstudio.com/Downloads?q=Visual%20Studio%2015.2&pgroup=
Presently, v15.4 is available here (but will be updated with subsequent releases):
https://www.visualstudio.com/en-us/productinfo/installing-an-earlier-release-of-vs2017
I have been unable to locate any other versions in Microsoft's pages...
@Leo Zhang - I understand not making this issue a priority (there being so few developers wanting to use fully functional C++14).
However, I would like to formally request a version archive for Visual Studio. I would imagine that most development teams would appreciate being able to ensure use of a specific version of Visual Studio.
69 People are following this
Latest VS crashed a few times
1
Solution
no available tests in OrderedTest1.orderedtest
1
Solution
Using header inside unmanaged code section of a managed C++/CLI project no longer builds
2
Solution
Reconnecting network drive
0
Solution
VS2017 15.5.7 Project->RightClick->Pack doesn't.
1
Solution
Move Definition fails to move destructor if cursor on ~
0
Solution
AddItem deadlock with .NET Core project
1
Solution
Error installing GitHub extension (2)
3
Solution