Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 815325 - [stable] dev-util/cppcheck-2.2 - /.../programmemory.cpp: error: numeric_limits is not a member of std
Summary: [stable] dev-util/cppcheck-2.2 - /.../programmemory.cpp: error: numeric_limit...
Status: RESOLVED DUPLICATE of bug 786633
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-29 07:29 UTC by Toralf Förster
Modified: 2021-11-06 21:45 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.53 KB, text/plain)
2021-09-29 07:29 UTC, Toralf Förster
Details
dev-util:cppcheck-2.2:20210929-072344.log (dev-util:cppcheck-2.2:20210929-072344.log,86.44 KB, text/plain)
2021-09-29 07:29 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,153.99 KB, text/plain)
2021-09-29 07:29 UTC, Toralf Förster
Details
environment (environment,148.36 KB, text/plain)
2021-09-29 07:29 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,14.79 KB, application/x-bzip)
2021-09-29 07:29 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.57 KB, application/x-bzip)
2021-09-29 07:29 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,36.63 KB, application/x-bzip)
2021-09-29 07:29 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 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 ***