Commit d79d261
committed
Fix a bogus MSVC linker error.
MSVC cannot handle `extern` declarations inside a member function,
when that member function is itself inside a namespace: it "forgets"
the namespace part when generating the symbol, which leads in this case
to an "unresolved symbol" error at link time.
Reduced example: https://godbolt.org/z/YSQ--91 parent d9a7685 commit d79d261
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4218 | 4218 | | |
4219 | 4219 | | |
4220 | 4220 | | |
| 4221 | + | |
| 4222 | + | |
| 4223 | + | |
4221 | 4224 | | |
4222 | 4225 | | |
4223 | 4226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
867 | 867 | | |
868 | 868 | | |
869 | 869 | | |
870 | | - | |
871 | | - | |
872 | 870 | | |
873 | 871 | | |
874 | 872 | | |
| |||
0 commit comments