Re: Critical behavioral change between g++-4.4/g++-4.5 and g++-4.6 ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux