[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 05:52:47 -0500 (EST) |
Follow-up Comment #37, bug #61812 (project octave):
@arb: Before the patch, AX_CXX_COMPILE_STDCXX was called without setting any
preference when it comes to GNU extensions.
After the patch, that macro is used to first check for the flags to enable GNU
extensions and only compile without them if that check fails.
What I was trying to write was that we might not need the check for GNU
extensions.
If we removed them, the flags would probably be back to what they were before
the patch with a modern compiler.
For an older compiler, -std=c++17 might be added if configured with
--enable-std-pmr-polymorphic-allocator. For even older compilers, -std=c++11
might be added to the compiler flags. (Or whatever flags the compiler vendor
requires to enable support for C++11.)
_______________________________________________________
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/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, 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, 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, Markus Mützel, 2022/01/27