You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When exporting C++20 module with imported nlohmann::json as header unit and std module, a lot of redefinition errors occurs. This is not visible when importing iostream as header unit instead of std module.
Reproduction steps
Create primary interface module and import std module and nlohmann::json as header unit
Expected vs. actual results
It is expected to compile code without any error. As actual result, compilation fails.
Description
When exporting C++20 module with imported nlohmann::json as header unit and std module, a lot of redefinition errors occurs. This is not visible when importing iostream as header unit instead of std module.
Reproduction steps
Create primary interface module and import std module and nlohmann::json as header unit
Expected vs. actual results
It is expected to compile code without any error. As actual result, compilation fails.
Minimal code example
Error messages
Compiler and operating system
Visual Studio 2022 17.6.2
Library version
3.11.2
Validation
develop
branch is used.The text was updated successfully, but these errors were encountered: