[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57560] [octave forge] (database) 2.4.4 packag
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #57560] [octave forge] (database) 2.4.4 package install warnings/errors |
Date: |
Thu, 23 Jan 2020 15:56:04 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36 |
Update of bug #57560 (project octave):
Status: None => Confirmed
_______________________________________________________
Follow-up Comment #1:
Yeah, this will still be a problem in Octave 6, on Windows only.
The best catchall solution for this is to cast octave_idx_type variables to a
int64_t and use PRId64 or PRIi64 as the printf-format string.
For example
error ("%s: could not save variable %" PRId64, fname.c_str (),
static_cast<int64_t> (i + 1));
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57560>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/