Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 930445

Summary: dev-games/ode-0.14-r1 - demo_kinematic.cpp: error: use of undeclared identifier mem_fun; did
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-games:ode-0.14-r1:20240422-085112.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt.xz
temp.tar.xz
var.tmp.clang.tar.xz

Description Toralf Förster gentoo-dev 2024-04-22 17:50:11 UTC
      |                   ^
demo_ode.cpp:192:9: note: include the header <cmath> or explicitly provide a
      declaration for 'std::abs'
../../include/ode/common.h:112:19: note: expanded from macro 'dFabs'
  112 | #define dFabs(x) (fabsf(x))                     /* absolute value */
      |                   ^
demo_kinematic.cpp:180:42: error: use of undeclared identifier 'mem_fun'; did
      you mean 'mem_fn'?
  180 |     for_each(boxes.begin(), boxes.end(), mem_fun(&Box::draw));

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_llvm-20240418-200202

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.4+libcxx
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.4+libcxx
Python 3.11.9
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.10_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.402_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

php cli (if any):
go version go1.22.2 linux/amd64

  HEAD of ::gentoo
commit 6b8372474ce730ad9e8cf3a585f5446ece63232d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Apr 22 07:34:33 2024 +0000

    2024-04-22 07:34:32 UTC

emerge -qpvO dev-games/ode
[ebuild  N    ] dev-games/ode-0.14-r1  USE="examples -debug -doc -double-precision -gyroscopic -static-libs"
Comment 1 Toralf Förster gentoo-dev 2024-04-22 17:50:12 UTC
Created attachment 891376 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-22 17:50:14 UTC
Created attachment 891377 [details]
dev-games:ode-0.14-r1:20240422-085112.log
Comment 3 Toralf Förster gentoo-dev 2024-04-22 17:50:15 UTC
Created attachment 891378 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-04-22 17:50:16 UTC
Created attachment 891379 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-04-22 17:50:17 UTC
Created attachment 891380 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-22 17:50:18 UTC
Created attachment 891381 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-04-22 17:50:19 UTC
Created attachment 891382 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-04-22 17:50:20 UTC
Created attachment 891383 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-04-22 17:50:22 UTC
Created attachment 891384 [details]
temp.tar.xz
Comment 10 Toralf Förster gentoo-dev 2024-04-22 17:50:22 UTC
Created attachment 891385 [details]
var.tmp.clang.tar.xz