[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/
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, (continued)
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, Markus Mützel, 2022/01/24
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, Markus Mützel, 2022/01/24
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, Rik, 2022/01/24
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, Markus Mützel, 2022/01/25
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, John W. Eaton, 2022/01/25
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, Rik, 2022/01/25
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, Markus Mützel, 2022/01/26
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, Markus Mützel, 2022/01/26
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, anonymous, 2022/01/26
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, A.R. Burgers, 2022/01/27
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard,
Markus Mützel <=
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, Markus Mützel, 2022/01/27
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, A.R. Burgers, 2022/01/27
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, Markus Mützel, 2022/01/27
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, Markus Mützel, 2022/01/27
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, Markus Mützel, 2022/01/27