openyahtzee-1.9: fails to build with gcc-4.5
|Reported by:||xarthisius.kk@…||Owned by:||guyru|
Direct calls of class' constructors are no longer allowed by gcc-4.5, as result openyahtzee fails to build with the most recent gcc.
Downstream bug report: http://bugs.gentoo.org/show_bug.cgi?id=318601
Build log: please see downstream bug.
Please note that attached patch is backward compatible, i.e. works with gcc < 4.5