News for hackers. Stuff that matters.
Re:The C++ Build Process Explained by gpderetta on Thursday November 15, 2018 @08:32AM (#18459066)
> even if the text of a function is identical in different translation units, it can still be ODR-different between them if the symbols that they look up are different due to other header files included before them declaring different thing

Exactly. This is why you should never put anonymous namespaces and definitions of objects with static linkage in an header file.

There are no comments on this comment yet.