Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608474 - dev-ros/depthimage_to_laserscan-1.0.7-r1 : /.../DepthImageToLaserScan.cpp:62:24: error: ‘isnan’ was not declared in this scope
Summary: dev-ros/depthimage_to_laserscan-1.0.7-r1 : /.../DepthImageToLaserScan.cpp:62:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robot Operating System team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-5-stable
  Show dependency tree
 
Reported: 2017-02-06 19:14 UTC by Toralf Förster
Modified: 2017-02-08 16:19 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,5.89 KB, text/plain)
2017-02-06 19:14 UTC, Toralf Förster
Details
dev-ros:depthimage_to_laserscan-1.0.7-r1:20170206-182208.log (dev-ros:depthimage_to_laserscan-1.0.7-r1:20170206-182208.log,11.18 KB, text/plain)
2017-02-06 19:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,243.11 KB, text/plain)
2017-02-06 19:14 UTC, Toralf Förster
Details
environment (environment,162.84 KB, text/plain)
2017-02-06 19:14 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.79 KB, application/x-bzip)
2017-02-06 19:14 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-02-06 19:14:18 UTC
/usr/bin/x86_64-pc-linux-gnu-g++  -DDepthImageToLaserScan_EXPORTS -DROSCONSOLE_BACKEND_LOG4CXX -DROS_PACKAGE_NAME=\"depthimage_to_laserscan\" -I/var/tmp/portage/dev-ros/depthimage_to_laserscan-1.0.7-r1/work/depthimage_to_laserscan-1.0.7-python2_7/devel/include -I/var/tmp/portage/dev-ros/depthimage_to_laserscan-1.0.7-r1/work/depthimage_to_laserscan-1.0.7/include -I//usr/include -I/usr/include/opencv -I/usr/include/xmlrpcpp   -DNDEBUG -O2 -pipe -march=native -std=c++11 -fPIC   -o CMakeFiles/DepthImageToLaserScan.dir/src/DepthImageToLaserScan.cpp.o -c /var/tmp/portage/dev-ros/depthimage_to_laserscan-1.0.7-r1/work/depthimage_to_laserscan-1.0.7/src/DepthImageToLaserScan.cpp
/var/tmp/portage/dev-ros/depthimage_to_laserscan-1.0.7-r1/work/depthimage_to_laserscan-1.0.7/src/DepthImageToLaserScan.cpp: In member function ‘bool depthimage_to_laserscan::DepthImageToLaserScan::use_point(float, float, float, float) const’:
/var/tmp/portage/dev-ros/depthimage_to_laserscan-1.0.7-r1/work/depthimage_to_laserscan-1.0.7/src/DepthImageToLaserScan.cpp:62:24: error: ‘isnan’ was not declared in this scope
     if(!isnan(new_value)){ // new is not NaN, so use it's +-Inf value.
                        ^
/var/tmp/portage/dev-ros/depthimage_to_laserscan-1.0.7-r1/work/depthimage_to_laserscan-1.0.7/src/DepthImageToLaserScan.cpp:62:24: note: suggested alternatives:

  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named gnome-unstable_20170201-093005) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *
llvm-config --version:
3.9.1
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
  [3]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.3.0 [icedtea-bin-8]
  -----------------------------------------------------------------
Comment 1 Toralf Förster gentoo-dev 2017-02-06 19:14:21 UTC
Created attachment 462680 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-02-06 19:14:25 UTC
Created attachment 462682 [details]
dev-ros:depthimage_to_laserscan-1.0.7-r1:20170206-182208.log
Comment 3 Toralf Förster gentoo-dev 2017-02-06 19:14:28 UTC
Created attachment 462684 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-02-06 19:14:31 UTC
Created attachment 462686 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-02-06 19:14:34 UTC
Created attachment 462688 [details]
etc.portage.tbz2
Comment 6 Alexis Ballier gentoo-dev 2017-02-08 16:19:51 UTC
commit 1e698bc6d1e4db57f8c3555cdb5b72f45db3b9a7
Author: Alexis Ballier <aballier@gentoo.org>
Date:   Wed Feb 8 17:19:23 2017 +0100

    dev-ros/depthimage_to_laserscan: Fix build with gcc 5, bug #608474
    


thx