Skip to content

[C++23] [Modules] Compile error: different definitions in different modules #80800

Closed
@JinHai-CN

Description

@JinHai-CN

Hi guys, Our project is using c++20 and applied modules feature. But when we compile it with c++23, we get the following error.

1707198156578.png

Is there a problem with the STL I'm wrapping or something else?

Clang: Ubuntu clang version 18.1.0 (++20240203081317+140ad18e1ea2-1exp120240203201335.24)

Metadata

Metadata

Assignees

No one assigned

    Labels

    c++23clang:modulesC++20 modules and Clang Header Modules

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions