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 22:03:32 -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 #61, bug #59820 (project octave):

With the latest change (e9a6d3822244 (stable)) I see with std=c++11:



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 -I/usr/include/freetype2
-I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2
-I/usr/include/libpng16 -Dyysymbol_kind_t=octave_tex_symbol_kind_t -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/corefcn/libcorefcn_la-mex.lo -MD -MP -MF
libinterp/corefcn/.deps/libcorefcn_la-mex.Tpo -c ../libinterp/corefcn/mex.cc 
-fPIC -DPIC -o libinterp/corefcn/.libs/libcorefcn_la-mex.o
../libinterp/corefcn/mex.cc:43:10: fatal error: 'memory_resource' file not
found
#include <memory_resource>
         ^~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [Makefile:19674: libinterp/corefcn/libcorefcn_la-mex.lo] Error 1



The file is in /usr/include/c++/8/experimental/memory_resource
perhaps my libstdc++ is too old? 
(libstdc++-devel-8.5.0-6.el8.x86_64)

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]