Microsoft
Visual Studio
Visual Studio
  • Home
    • Problems
    • Suggestions
  • Downloads
    • Visual Studio IDE
    • Visual Studio Code
    • Azure DevOps
    • Team Foundation Server
    • Accounts and Subscriptions
  • Subscriber Access
      • Microsoft 365
      • Azure
      • Office 365
      • Dynamics 365
      • SQL
      • Windows 10
      • Windows Server
      • Enterprise Mobility + Security
      • Power BI
      • Teams
      • Visual Studio
      • Surface for Business
      • AI
      • Internet of Things
      • Azure Cognitive Services
      • Quantum
      • Research
      • Docs
      • TechNet
      • Developer Network
      • Windows Dev Center
      • Windows IT Pro Center
      • FastTrack
      • Partner Network
      • Solution Providers
      • Partner Center
      • Cloud Hosting
      • Education
      • Financial services
      • Government
      • Health
      • Manufacturing & resources
      • Retail
      • Security
      • Licensing
      • AppSource
      • Azure Marketplace
      • Events
    • View all
    Sign in

    Developer Community

    Get help from our community supported forum
    • Home /
    • Visual Studio /
    Searched and didn’t find your feedback?
    • Visual Studio
    • Visual Studio for Mac
    • .NET
    • C++
    • Azure DevOps
    • TFS
    or
    • Visual Studio
    • Visual Studio for Mac
    • .NET
    • C++
    • Azure DevOps
    • TFS
    Visual Studio
    Visual Studio for Mac
    .NET
    C++
    Azure DevOps
    TFS
    8

    VS 15.5 E1027 language modes specified are incompatible at #include

    visual studio 2017 version 15.5windows 10.0

    avatar image Paul A. Bristow reported Dec 07, 2017 at 11:53 AM

    thub.nodes.view.add-new-comment
    Add comment Show 8

    Add Comment

    10 |10000 characters needed characters left characters exceeded
    avatar image Hussian Al-Amri · Dec 07, 2017 at 05:13 PM 0
    Share
    avatar image Leo Zhang [MSFT] · Dec 08, 2017 at 06:14 AM 0
    Share
    avatar image Andrew Pardoe [MSFT] · Feb 27, 2018 at 06:48 PM 0
    Share
    avatar image Brannon King Andrew Pardoe [MSFT] · Feb 27, 2018 at 07:09 PM 0
    Share
    avatar image Faxp Lenus Andrew Pardoe [MSFT] · Apr 03, 2018 at 10:24 PM 0
    Share
    avatar image Ulzii Luvsanbat [MSFT] Faxp Lenus · Apr 24, 2018 at 01:36 AM 0
    Share
    avatar image Yuriy Solodkyy [MSFT] · Oct 30, 2018 at 10:40 PM 0
    Share
    avatar image Visual Studio Feedback System ♦♦ · 5 days ago 0
    Share

    Solutions

    · Add your solution
    1

    Solution by avatar image 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
    

    thub.nodes.view.add-new-comment
    Add comment Show 2 · Share

    Add Comment

    10 |10000 characters needed characters left characters exceeded
    avatar image Simon Giesecke · Jan 19, 2018 at 08:41 AM 0
    Share
    avatar image Sasha Sitnikov Simon Giesecke · Jan 19, 2018 at 12:44 PM 0
    Share
    0

    Solution by avatar image 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.

    thub.nodes.view.add-new-comment
    Add comment · Share

    Add Comment

    10 |10000 characters needed characters left characters exceeded
    Follow

    69 People are following this

    Related Problems

    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

    Explicit specialization of a member function taking a function as a template parameter generates compiler errors
    0 Solution

    cpu running at 99% after Android project stopped
    0 Solution

    What's new

    • NEW Surface Pro 6
    • NEW Surface Laptop 2
    • NEW Surface Go
    • Xbox One X
    • Xbox One S
    • VR & mixed reality
    • Windows 10 apps
    • Office apps

    Store & Support

    • Account profile
    • Download Center
    • Sales & support
    • Returns
    • Order tracking
    • Store locations
    • Support
    • Buy online, pick up in store

    Education

    • Microsoft in education
    • Office for students
    • Office 365 for schools
    • Deals for students & parents
    • Microsoft Azure in education

    Enterprise

    • Microsoft Azure
    • Enterprise
    • Data platform
    • Find a solution provider
    • Microsoft partner resources
    • Microsoft AppSource
    • Manufacturing & resources
    • Financial services

    Developer

    • Microsoft Visual Studio
    • Windows Dev Center
    • Developer Network
    • TechNet
    • Microsoft developer program
    • Channel 9
    • Office Dev Center

    Company

    • Careers
    • About Microsoft
    • Company news
    • Privacy at Microsoft
    • Investors
    • Diversity and inclusion
    • Accessibility
    • Security
    English (United States)
    • Sitemap
    • Contact us
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2018
    • Anonymous
    • Sign in
    • Spaces
    • Visual Studio
    • Visual Studio for Mac
    • .NET
    • C++
    • Azure DevOps
    • TFS
    • Explore
    • Topics
    • Problems
    • Features
    • Users
    • Badges