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

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

[Octave-bug-tracker] [bug #61642] Flags to enable C++11 are not correctl


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #61642] Flags to enable C++11 are not correctly detected for all compilers
Date: Wed, 8 Dec 2021 11:16:09 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.43

Follow-up Comment #6, bug #61642 (project octave):

Oops. Comment #3 showed a warning.

Some of the actual errors:

../liboctave/util/action-container.h:69:11: error: exception specification of
overriding function is more lax than base version
    class fcn_elem : public elem
          ^
../liboctave/util/action-container.h:62:15: note: overridden virtual function
is here
      virtual ~elem (void) = default;
              ^
../liboctave/util/action-container.h:78:23: error: no member named 'bind' in
namespace 'std'; did you mean 'find'?
        : m_fcn (std::bind (fcn, args...))
                 ~~~~~^~~~
                      find
/Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:916:1:
note: 'find' declared here
find(_InputIterator __first, _InputIterator __last, const _Tp& __value_)
^



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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