octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55672] [octave forge] (control) undefined sym


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #55672] [octave forge] (control) undefined symbol: _Z11warning_msgPKcllPS0_l (development branch)
Date: Mon, 11 Feb 2019 17:15:23 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.96 Safari/537.36

Follow-up Comment #7, bug #55672 (project octave):

The long long type is also not guaranteed to exist on all platforms either, so
that's not completely portable. Octave tests for long long in its configure,
and also sets the preprocessor symbol OCTAVE_HAVE_LONG_LONG_INT, but only in
Octave 4.2 and newer.

OCTAVE_IDX_TYPE_FORMAT only exists in Octave 5 and later, so that's not useful
for packages that want to be backwards compatible with Octave 4.

I would also prefer to avoid preprocessor conditionals on '__WIN32__' or on
'OCTAVE_HAVE_LONG_LONG_INT' anyway, makes the code more unwieldy for such a
small thing.

Maybe it would be safest and clearest to avoid printf-style conversions
completely and use C++ stream conversions instead


  std::ostringstream os;
  os << name << ": the " << index << "-th argument had an invalid value";
  error (os.str ());


?

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55672>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]