12 Feb
2018
12 Feb
'18
11:30 p.m.
Gavin Lambert wrote:
In an ideal world, the linker would compare the *size* of the symbols and issue a diagnostic if they don't match, as this is highly suspicious of an ODR issue. However I've yet to encounter one in the wild that actually does this.
See https://ci.appveyor.com/project/pdimov/system/build/1.0.97-develop/job/v6b2o... for an example of the Cygwin linker doing that. It's a warning, but better than nothing. MinGW too: https://ci.appveyor.com/project/pdimov/system/build/1.0.97-develop/job/8kum8...