[kde-freebsd] [Bug 209561] editors/kate: Fix build with libc++ 3.8.0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon May 16 21:23:46 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209561
Bug ID: 209561
Summary: editors/kate: Fix build with libc++ 3.8.0
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: kde at FreeBSD.org
Reporter: dim at FreeBSD.org
Flags: maintainer-feedback?(kde at FreeBSD.org)
Assignee: kde at FreeBSD.org
Created attachment 170375
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=170375&action=edit
Fix type for abs() call in editors/kate
During the exp-run in bug 208158, it was found that editors/kate gives errors
with libc++ 3.8.0 [1]:
/wrkdirs/usr/ports/editors/kate/work/kate-4.14.3/part/view/kateviewhelpers.cpp:1706:24:
error: call to 'abs' is ambiguous
int diff = abs(realLine - currentLine);
^~~
This is because 'realLine' is int, and 'currentLine' is unsigned, making the
whole expression unsigned. Make 'currentLine' int to fix the problem.
[1]
http://package18.nyi.freebsd.org/data/headamd64PR208158-default/2016-05-01_10h29m48s/logs/errors/kate-4.14.3_1.log
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list