Open TheRustifyer opened 2 months ago
@llvm/issue-subscribers-clang-modules
Author: Alex Vergara (TheRustifyer)
Clang is letting export content from an internal module partition. MSVC is not
This might be clang's problem.
Also, for having visibility of those declared templates at call site, I need to have the export namespace..., or it won't be visible.
This is surprising to me too. Could you provide a minimal reproducer?
I have this example code:
Clang
is letting export content from an internal module partition.MSVC
is notexport namespace...
, or it won't be visible. InMSVC
, they don't have such trouble (as shown in the code).Am I doing anything wrong off the
standard
or is this an issue of the frontend?This is tested with
Clang 18.1.8
viaMsys2
onWindows
and withClang 19.0.0
onLinux
.