Skip to content

<optional> <variant> etc. #pragma message for old standard mode should have STL#### prefix #155

Closed

Description

The Visual Studio IDE team would like to better surface cases when users try to use new language features in older language modes, as the IDE currently can't display the pragma messages we use, like:

#pragma message("class template optional is only available with C++17 or later.")

They requested that we change that message to be of the form STLNNNN (where N are digits) just like the rest of the library-generated diagnostics.

Activity

  1. StephanTLavavej commented on Oct 25, 2019

    @StephanTLavavej
    Member

    Related: #209 "STL: Consider cleaning up and numbering static_assert messages".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementfixed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions