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: Sun, 5 Dec 2021 10:26:19 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

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

While looking at bug #61472 and what libstdc++ does for template classes like
<vector>, I noticed that they appear to always force default visibility for
the templates and it is done as a namespace visibility attribute, not as
visibility attributes for individual member functions in the class.  The
<vector> header also includes the declarations and definitions for everything
in the template so that implicit instantiation is possible.  There are no
explicit instantiaitions.  Maybe we should be doing the same?  I tried to make
that happen, but given the way things are currently done, it is not an easy
change to make.  Probably all of this should be deferred until after the
version 7 release and all these changes can be done on the default branch, not
stable.

    _______________________________________________________

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]