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

Bug 815325

Summary: [stable] dev-util/cppcheck-2.2 - /.../programmemory.cpp: error: numeric_limits is not a member of std
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Matthias Maier <tamiko>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-util:cppcheck-2.2:20210929-072344.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-09-29 07:29:19 UTC
/var/tmp/portage/dev-util/cppcheck-2.2/work/cppcheck-2.2/lib/programmemory.cpp: In function ‘void execute(const Token*, ProgramMemory*, MathLib::bigint*, bool*)’:
/var/tmp/portage/dev-util/cppcheck-2.2/work/cppcheck-2.2/lib/programmemory.cpp:475:44: error: ‘numeric_limits’ is not a member of ‘std’
  475 |             if (result2 && (result1 > std::numeric_limits<MathLib::bigint>::max()/result2))
      |                                            ^~~~~~~~~~~~~~
/var/tmp/portage/dev-util/cppcheck-2.2/work/cppcheck-2.2/lib/programmemory.cpp:475:74: error: expected primary-expression before ‘>’ token
  475 |             if (result2 && (result1 > std::numeric_limits<MathLib::bigint>::max()/result2))

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

  This is an stable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4_stable-20210927-230102

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.53.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

php cli:
  [1]   php7.3
  [2]   php7.4 *

  HEAD of ::gentoo
commit d4d701a8eb78bb9ffce50c21fcb74dfe87fe169c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Sep 29 06:51:31 2021 +0000

    2021-09-29 06:51:30 UTC

emerge -qpvO dev-util/cppcheck
[ebuild  N    ] dev-util/cppcheck-2.2  USE="pcre qt5 z3 -htmlreport" PYTHON_TARGETS="python3_9 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2021-09-29 07:29:20 UTC
Created attachment 741933 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-09-29 07:29:21 UTC
Created attachment 741936 [details]
dev-util:cppcheck-2.2:20210929-072344.log
Comment 3 Toralf Förster gentoo-dev 2021-09-29 07:29:23 UTC
Created attachment 741939 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-09-29 07:29:25 UTC
Created attachment 741942 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-09-29 07:29:26 UTC
Created attachment 741945 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-09-29 07:29:27 UTC
Created attachment 741948 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-09-29 07:29:28 UTC
Created attachment 741951 [details]
temp.tar.bz2
Comment 8 Andreas Sturmlechner gentoo-dev 2021-11-06 14:13:14 UTC
What about 2.4.1?

Please process this bug since we want to proceed with boost stabilisation.
Comment 9 Andreas Sturmlechner gentoo-dev 2021-11-06 21:42:55 UTC
2.4.1 built fine, package doesn't even depend on boost.
Comment 10 Andreas Sturmlechner gentoo-dev 2021-11-06 21:45:06 UTC

*** This bug has been marked as a duplicate of bug 786633 ***