Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wolfi323:branches:KDE:Frameworks5
kstars4
gcc6-fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gcc6-fix.patch of Package kstars4
From: Christian Dersch <lupinix@mailbox.org> Date: Wed, 03 Feb 2016 10:19:55 +0000 Subject: Fix compilation with gcc 6.x (namespace std has to be used explicitly in some cases, e.g. when ambiguous) X-Git-Tag: v16.03.80 X-Git-Url: http://quickgit.kde.org/?p=kstars.git&a=commitdiff&h=7d34e52f4dd6e15b871596b3c64d4c7cdba599b4 --- Fix compilation with gcc 6.x (namespace std has to be used explicitly in some cases, e.g. when ambiguous) REVIEW:126976 --- --- a/kstars/fitsviewer/fitsimage.cpp +++ b/kstars/fitsviewer/fitsimage.cpp @@ -486,7 +486,7 @@ int diff_x=s1->x - s2->x; int diff_y=s1->y - s2->y; - dis = abs( sqrt( diff_x*diff_x + diff_y*diff_y)); + dis = std::abs( sqrt( diff_x*diff_x + diff_y*diff_y)); dis -= s1->width/2; dis -= s2->width/2;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor