-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Build
-
Fully Compatible
-
Platforms 2017-01-23
ODR = One definition rule. This would detect if there were two classes or functions with the same name in the same namespace even if they are never both included in the same translation unit.
Currently this flag is only supported by gold although other linkers may have similar flags. Actual flag to be added to LINKFLAGS is:
"-Wl,--detect-odr-violations".