Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 475138 Details for
Bug 620732
=hteditor/hteditor-2.1.0 fails to build on gcc-7 (fixed upstream)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
hteditor-2.1.0-gcc-7.patch
hteditor-2.1.0-gcc-7.patch (text/plain), 676 bytes, created by
Sergei Trofimovich (RETIRED)
on 2017-06-04 07:22:30 UTC
(
hide
)
Description:
hteditor-2.1.0-gcc-7.patch
Filename:
MIME Type:
Creator:
Sergei Trofimovich (RETIRED)
Created:
2017-06-04 07:22:30 UTC
Size:
676 bytes
patch
obsolete
>Fixes build failure on gcc-7: > > htapp.cc: In function 'uint isqr(uint)': > htapp.cc:3026:18: error: call of overloaded 'abs(uint)' is ambiguous > while (abs(a - b) > 1) { > ^ > >Picked upstream patch that fixes it: > >commit 3b62f2f7e49e024ec9d3c5ffc8ff9cd87a107af6 >Author: Sebastian Biallas <sb@biallas.net> >Date: Sun Nov 13 15:25:26 2016 +0100 > > use unsigned variables > >diff --git a/htapp.cc b/htapp.cc >index 53d8725..03236e2 100644 >--- a/htapp.cc >+++ b/htapp.cc >@@ -3021,8 +3021,8 @@ void do_modal_resize() > > static uint isqr(uint u) > { >- uint a = 2; >- uint b = u/a; >+ int a = 2; >+ int b = u/a; > while (abs(a - b) > 1) { > a = (a+b)/2; > b = u/a;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 620732
: 475138