eaeltsin added a comment.
Hi,
Is it a known issue, that clang doesn't compile `void foo(char *argv[]
[[maybe_unused]]) {}` ?
https://godbolt.org/z/r9E81cWxh - clang fails, but gcc doesn't.
It looks like there is a lot of oss code of the form `void foo(char *argv[]
ATTRIBUTE_UNUSED)`, where `A
eaeltsin added a comment.
Heads-up - I'm seeing the compilation failure that reduces to this commit. I
didn't get a reproducer of the reasonable size yet :(
The problem occurs when using modules only.
The module has code like:
template
class A {
public:
T x;
template
frien