openwrt/toolchain/gcc
Lars Gierth 956a6e2c23 toolchain: gcc: fix include memory against GCC 16
This patch backports a small but important part of the upstream commit:

b3f1b9e2aa07 build: Remove INCLUDE_MEMORY [PR117737]

Its original commit message fails to mention that the commit also moves
the `#include <memory>` to an earlier position within system.h,
which is the actual change that we're after in this patch.

Building our GCC 14.3 with host GCC 16, the inclusion order starts to matter,
which is an issue that was also touched upon by the upstream commits:

9970b576b7e4 Include safe-ctype.h after C++ standard headers, to avoid over-poisoning
f6e00226a4ca build: Move sstream include above safe-ctype.h {PR117771]

Signed-off-by: Lars Gierth <larsg@systemli.org>
Link: https://github.com/openwrt/openwrt/pull/23095
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit a32a367259)
2026-04-28 10:07:37 +02:00
..
files
final Revert "toolchain: gcc: make config consistent with glibc/musl" 2025-05-02 19:30:47 +02:00
initial Revert "toolchain: gcc: make config consistent with glibc/musl" 2025-05-02 19:30:47 +02:00
minimal Revert "toolchain: gcc: make config consistent with glibc/musl" 2025-05-02 19:30:47 +02:00
patches-12.x toolchain/gcc: prevent the use of LDRD/STRD on ARMv5TE 2025-07-22 12:03:05 +02:00
patches-13.x toolchain: gcc: update GCC13 to 13.4 2025-08-20 23:42:15 +02:00
patches-14.x toolchain: gcc: fix include memory against GCC 16 2026-04-28 10:07:37 +02:00
patches-15.x toolchain: gcc: 14/15: fix libcody compilation with GCC16 2026-04-28 10:07:31 +02:00
common.mk toolchain: gcc: update GCC13 to 13.4 2025-08-20 23:42:15 +02:00
Config.in toolchain: add support for GCC 15.1 2025-06-08 12:20:15 +02:00
Config.version toolchain: gcc: update GCC13 to 13.4 2025-08-20 23:42:15 +02:00
exclude-testsuite toolchain: add gcc 7.1.0 support 2017-05-25 19:01:07 +02:00