Critical behavioral change between g++-4.4/g++-4.5 and g++-4.6 ?
Marc Glisse
marc.glisse@inria.fr
Sun Aug 21 12:20:00 GMT 2011
On Sun, 21 Aug 2011, Emmanuel Fleury wrote:
> But, I looked thoroughly to the kyua code and I didn't see anything wrong
> (even if I might have missed something, I admit it. I'm not a C++ god).
Adding #include "cli/common.ipp" to cli/cmd_test_test.cpp,
cli/cmd_config_test.cpp and cli/cmd_about_test.cpp helps. Those files call
a template function whose definition is not available.
> And, could you spot the change that occurred in g++ between g++-4.5 and
> g++-4.6 that changed its behavior ?
Not sure. Maybe the inliner is more aggressive?
> Why was it possible before and not anymore now ?
g++ used to leave an instantiation lying around, which it doesn't anymore.
--
Marc Glisse
More information about the Gcc-help
mailing list