[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62750] Missing <ctime> include in liboctave/n
From: |
Stefan Brüns |
Subject: |
[Octave-bug-tracker] [bug #62750] Missing <ctime> include in liboctave/numeric/randmtzig.cc |
Date: |
Mon, 11 Jul 2022 16:59:52 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?62750>
Summary: Missing <ctime> include in
liboctave/numeric/randmtzig.cc
Project: GNU Octave
Submitter: stefanbruens
Submitted: Mon 11 Jul 2022 08:59:50 PM UTC
Category: Configuration and Build System
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 7.1.0
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Mon 11 Jul 2022 08:59:50 PM UTC By: Stefan Brüns <stefanbruens>
Building octave 7.1.0 fails:
[ 675s] liboctave/numeric/randmtzig.cc: In function 'void
octave::init_mersenne_twister()':
[ 675s] liboctave/numeric/randmtzig.cc:274:22: error: 'clock' was not
declared in this scope; did you mean 'clock_t'?
[ 675s] 274 | entropy[n++] = clock ();
[ 675s] | ^~~~~
[ 675s] | clock_t
This is due to some changes in the toolchain/libs (which I have to
investigate), i.e. the required <ctime> is no longer included implicitly.
Likely candidate is the update of GCC/libstdc++ from 12.1.0 to 12.1.1.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62750>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #62750] Missing <ctime> include in liboctave/numeric/randmtzig.cc,
Stefan Brüns <=