Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 654356 - games-engines/qtads-2.1.7-r1: fix building with GCC 7
Summary: games-engines/qtads-2.1.7-r1: fix building with GCC 7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-29 19:10 UTC by Nikos Chantziaras
Modified: 2018-05-16 08:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (build.log,71.70 KB, text/plain)
2018-04-29 20:17 UTC, Nikos Chantziaras
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)