GCC Newspaper
OCTOBER 6, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
libstdc++

libstdc++: Fix preprocessor typo for cstdio=pure

Corrects a preprocessor typo affecting C stdio integration in libstdc++.

A typo in a preprocessor condition within config/io/basic_file_stdio.cc has been fixed. This change specifically addresses an issue related to the stdio=pure configuration, ensuring correct compilation for C standard input/output integration within libstdc++. This resolves Bugzilla PR127430.

In Details

This commit fixes a typo in a preprocessor directive within basic_file_stdio.cc concerning the stdio=pure configuration. The incorrect condition could lead to miscompilation when integrating C stdio functionality into libstdc++.

For Context
libstdc++
The C++ standard library implementation used by GCC. It provides core C++ language features like containers, algorithms, I/O streams, and threading support.
stdio=pure
A configuration option for libstdc++ that indicates a minimal, 'pure' C standard I/O implementation is being used.
Preprocessor
A program that processes source code before the main compilation stage. It handles directives like #include, #define, and conditional compilation (#ifdef).
Filed Under: libstdc++bugfixstdio