C++/CLI project with C++20 Standard

Barias, Abe [AUTOSOL/SYSS/MNL] 46 Reputation points
2022-03-17T06:01:50.923+00:00

Hello,

I got this compilation warning from a CLI project with C++20 standard setting:

1>c1xx : warning C4857: C++/CLI mode does not support C++ versions newer than C++17; setting language to /std:c++17

Will there be a support for C++20 and future C++ standards for C++/CLI?

Thank you.

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
316 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,481 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Ivan V 26 Reputation points
    2022-05-13T09:14:14.427+00:00

    Microsoft, please provide some guidance on this. C++/CLI needs to update with the C++ standard for it to remain viable.

    5 people found this answer helpful.
    0 comments No comments

  2. TaylorCaleb-0860 11 Reputation points
    2022-09-26T15:10:23.057+00:00

    Holding back language standard support for the codebase due to C++/CLI is a bit of an issue.

    2 people found this answer helpful.
    0 comments No comments

  3. Castorix31 81,061 Reputation points
    2022-03-17T06:48:41.947+00:00

    From this thread VS 2019 C++/CLI Support C++20:Concept,

    "We don’t have plans to support C++20 concepts in C++/CLI."

    But it was in Dec 09, 2020...

    1 person found this answer helpful.
    0 comments No comments

  4. Wim 6 Reputation points
    2022-12-01T10:15:17.24+00:00
    1 person found this answer helpful.
    0 comments No comments