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

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

[Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not par


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard
Date: Thu, 27 Jan 2022 03:35:08 -0500 (EST)

Follow-up Comment #34, bug #61812 (project octave):

@arb: Hmmm. I would have thought that that macro would prefer no flags to
activate the desired feature set over any flags. I.e., I would have expected
that no flags would be added for a modern GCC compiler for C++11 with GNU
extensions.
I might have either misunderstood what that macro does, or GCC doesn't use GNU
extensions by default.
Maybe we should remove those parts of the check and just go with whatever the
compiler prefers when it comes to GNU extensions...

Setting HAVE_CXX17=0 is no signal to the compiler to disable support for
C++17. It is just a means to have simpler conditions in the following tests.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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