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

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

[Octave-bug-tracker] [bug #59820] build fails on macOS with visibility s


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #59820] build fails on macOS with visibility settings
Date: Wed, 15 Dec 2021 21:40:10 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #59, bug #59820 (project octave):

I pushed this change for the "template" required before "rebind_traits"
error:

http://hg.savannah.gnu.org/hgweb/octave/rev/e9a6d3822244

I'm not expecting -std=c++17 to be required.  I expected it to continue to
compile using a C++11 conformant compiler.  There is a new test to check for
std::pmr::polymorphic_allocator.  If that doesn't exist, the old code should
be used.  If it does exist, then it will be used.  The check is for the
feature.  It doesn't use the value of the __cplusplus macro to decide.  Is the
check wrong?  Does it succeed with Clang and then not actually work?  When I
build with CXX="g++ -std=c++11" configure doesn't find
std::pmr::polymorphic_allocator so doesn't define
HAVE_STD_PMR_POLYMORPHIC_ALLOCATOR in config.h and the build succeeds.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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