Re:Clang vs. GCC – code coverage checking
by rkday on Saturday April 02, 2016 @04:46PM
(#11413346)
Thanks for pointing out how old GCC 4.8 is! You're right that a comparison against a later version of GCC is fairer - I've tested with GCC 5.3 (the latest I can easily get) and updated the blog post. (5.3 doesn't spot the missing coverage either.)
[ Parent
| on HN ]
Re:Clang vs. GCC – code coverage checking
by notanote on Saturday April 02, 2016 @06:04PM
(#11413717)
That is great, thanks. It just seemed odd to compare compilers of such different age. I have nothing against clang, it certainly is faster in most cases.
As others said, it makes sense for everyone to try different toolchains and see what works. It is possible to test newer gcc versions by installing in /opt or something, just make sure to get the right libstdc++ at runtime. With ABI changes, updating the distro gcc is too much trouble.