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: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #59820] build fails on macOS with visibility settings
Date: Wed, 15 Dec 2021 21:51:18 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.113 Safari/537.36

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

It still fails with std=c++11 (before your last change):


configure:13802: checking whether std::pmr::polymorphic_allocator is avalable
configure:13852: clang++ -c -std=c++11 -O2 -march=native -mavx -mavx2 
conftest.cpp >&5
conftest.cpp:77:16: fatal error: 'memory_resource' file not found
      #include <memory_resource>
               ^~~~~~~~~~~~~~~~~
1 error generated.
configure:13852: $? = 1




/bin/sh ./libtool  --tag=CXX   --mode=compile clang++ -DHAVE_CONFIG_H -I. -I..
 -DOCTINTERP_DLL -Iliboctave -I../liboctave -I../liboctave/array
-Iliboctave/numeric -I../liboctave/numeric -Iliboctave/operators
-I../liboctave/operators -I../liboctave/system -I../liboctave/util
-I../libinterp/octave-value -Ilibinterp -I../libinterp
-I../libinterp/operators -Ilibinterp/parse-tree -I../libinterp/parse-tree
-Ilibinterp/corefcn -I../libinterp/corefcn -I../liboctave/wrappers 
-I/usr/include/GraphicsMagick    -fPIC -pthread -Wall -W -Wshadow
-Woverloaded-virtual -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings
-Wcast-align -Wcast-qual -fvisibility=hidden -std=c++11 -O2 -march=native
-mavx -mavx2 -MT libinterp/dldfcn/__delaunayn___la-__delaunayn__.lo -MD -MP
-MF libinterp/dldfcn/.deps/__delaunayn___la-__delaunayn__.Tpo -c -o
libinterp/dldfcn/__delaunayn___la-__delaunayn__.lo `test -f
'libinterp/dldfcn/__delaunayn__.cc' || echo
'../'`libinterp/dldfcn/__delaunayn__.cc
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -DOCTINTERP_DLL
-Iliboctave -I../liboctave -I../liboctave/array -Iliboctave/numeric
-I../liboctave/numeric -Iliboctave/operators -I../liboctave/operators
-I../liboctave/system -I../liboctave/util -I../libinterp/octave-value
-Ilibinterp -I../libinterp -I../libinterp/operators -Ilibinterp/parse-tree
-I../libinterp/parse-tree -Ilibinterp/corefcn -I../libinterp/corefcn
-I../liboctave/wrappers -I/usr/include/GraphicsMagick -fPIC -pthread -Wall -W
-Wshadow -Woverloaded-virtual -Wold-style-cast -Wformat -Wpointer-arith
-Wwrite-strings -Wcast-align -Wcast-qual -fvisibility=hidden -std=c++11 -O2
-march=native -mavx -mavx2 -MT
libinterp/dldfcn/__delaunayn___la-__delaunayn__.lo -MD -MP -MF
libinterp/dldfcn/.deps/__delaunayn___la-__delaunayn__.Tpo -c
../libinterp/dldfcn/__delaunayn__.cc  -fPIC -DPIC -o
libinterp/dldfcn/.libs/__delaunayn___la-__delaunayn__.o
In file included from ../libinterp/dldfcn/__delaunayn__.cc:53:
../liboctave/array/Array.h:139:36: error: use 'template' keyword to treat
'rebind_traits' as a dependent template name
    typedef typename Alloc_traits::rebind_traits<T> T_Alloc_traits;
                                   ^
                                   template 
1 error generated.


Dmitri.
-- 


    _______________________________________________________

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]