Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 654356

Summary: games-engines/qtads-2.1.7-r1: fix building with GCC 7
Product: Gentoo Linux Reporter: Nikos Chantziaras <realnc>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/8208
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log

Description Nikos Chantziaras 2018-04-29 19:10:57 UTC
Current version of QTads cannot be built with GCC 7. The next version will fix that, but for now, we need -fpermissive.

GitHub PR coming shortly.
Comment 1 Andreas Sturmlechner gentoo-dev 2018-04-29 19:59:21 UTC
no build.log?
Comment 2 Nikos Chantziaras 2018-04-29 20:17:04 UTC
Created attachment 528950 [details]
Build log

tads3/tct3stm.cpp: In static member function 'static void CTPNVarIn::gen_iter_init(CTcPrsNode*, int, const char*)':
tads3/tct3stm.cpp:318:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
     if (create_iter != VM_INVALID_PROP)
Comment 3 Larry the Git Cow gentoo-dev 2018-05-16 08:18:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d008f46f41469c0d7370ca37c3360ba9c5a20202

commit d008f46f41469c0d7370ca37c3360ba9c5a20202
Author:     Nikos Chantziaras <realnc@gmail.com>
AuthorDate: 2018-04-29 19:12:41 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-05-16 08:17:42 +0000

    games-engines/qtads-2.1.7-r1: fix build with GCC 7
    
    Current version of QTads cannot be built with GCC 7. The next version will
    fix that, but for now, we need -fpermissive.
    
    Closes: https://bugs.gentoo.org/654356
    Package-Manager: Portage-2.3.36, Repoman-2.3.9
    Closes: https://github.com/gentoo/gentoo/pull/8208

 games-engines/qtads/qtads-2.1.7-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)