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

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

[Octave-bug-tracker] [bug #61472] AddressSanitizer crash in MEX tests


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #61472] AddressSanitizer crash in MEX tests
Date: Sun, 19 Dec 2021 13:29:57 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36 Edg/96.0.1054.62

Follow-up Comment #38, bug #61472 (project octave):

I pushed a change that makes using std::pmr::polymorphic_allocator optional:
https://hg.savannah.gnu.org/hgweb/octave/rev/9b41aba64c12

IIUC, that means that Octave will be using the less efficient mex interface by
default. At the same time, an Octave with default configuration should be able
to compile most .oct file code out there again.

Maybe, we should rename the corresponding preprocessor variable from
OCTAVE_HAVE_STD_PMR_POLYMORPHIC_ALLOCATOR to
OCTAVE_ENABLE_STD_PMR_POLYMORPHIC_ALLOCATOR now that its usage can be turned
on or off with a configure switch...

Should we also add a note to the NEWS file to announce that Octave will
require C++17 in a future version so that package developers are aware of this
and can check if their code compiles in that C++ version?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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