View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001701 | OpenMPT | libopenmpt | public | 2023-05-07 07:46 | 2024-10-26 08:49 |
Reporter | manx | Assigned To | manx | ||
Priority | low | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | no change required | ||
Product Version | OpenMPT 1.31.01.00 / libopenmpt 0.7.0 (upgrade first) | ||||
Summary | 0001701: Autoconf 2.70 or later forcibly adds -std=gnu++11 to CXXFLAGS | ||||
Description | Autoconf, in their infinite wisdom, decided that it would be a good idea to break existing behaviour and invented forcing some arbitrary outdated C++ standard version from 2011 over the toolchain default. In 2020, Autoconf version 2.70. Magnificent decision.
There appears to be no documentation on how to avoid this or work-around it, if one requires a newer C++ standard. See https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.71/autoconf.html#C_002b_002b-Compiler:
The established practice of choosing the desired C++ standard version with Autoconf has always been to use | ||||
Tags | No tags attached. | ||||
Has the bug occurred in previous versions? | |||||
Tested code revision (in case you know it) | |||||
This is caused by upgrading the package building host from Debian 11 to Debian 12 for libopenmpt 0.7. |
|
MacPorts issue: https://github.com/macports/macports-ports/pull/17284#pullrequestreview-1415834125 |
|
Autoconf issue: https://savannah.gnu.org/support/index.php?110879 |
|
I am not aware of anything we could sensibly do here. |
|
Fixed in Autoconf git master https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=056518b94ecd487bcbefdb69046b3f52c4168222. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2023-05-07 07:46 | manx | New Issue | |
2023-05-07 07:46 | manx | Status | new => assigned |
2023-05-07 07:46 | manx | Assigned To | => manx |
2023-05-07 07:47 | manx | Note Added: 0005718 | |
2023-05-07 07:47 | manx | Note Added: 0005719 | |
2023-05-07 07:48 | manx | Note Added: 0005720 | |
2023-05-07 07:48 | manx | Note Added: 0005721 | |
2023-05-07 07:48 | manx | Status | assigned => confirmed |
2024-10-26 08:49 | manx | Status | confirmed => closed |
2024-10-26 08:49 | manx | Resolution | open => no change required |
2024-10-26 08:49 | manx | Note Added: 0006144 |