On Sat, 2 Nov 2024, 14:58 Dass, Reena Collins, <Reena.Dass2@xxxxxxxxxxx> wrote: > What were you configure settings? > Almost none, just --prefix and --enable-languages=c,c++ Those macros are defined if glibc supports the features, and the glibc in RHEL 9 is definitely new enough to support all of C99. So you must be doing something wrong. > -----Original Message----- > From: Jonathan Wakely <jwakely.gcc@xxxxxxxxx> > Sent: Friday, November 1, 2024 6:10 PM > To: Dass, Reena Collins <Reena.Dass2@xxxxxxxxxxx> > Cc: gcc-help@xxxxxxxxxxx > Subject: [External] Re: _GLIBCXX11_USE_C99_STDLIB not being enabled > > On Fri, 1 Nov 2024 at 21:34, Dass, Reena Collins via Gcc-help < > gcc-help@xxxxxxxxxxx> wrote: > > > > I'm trying to build gcc 12.2 on RHEL 9. > > How can I ensure GLIBCXX11_USE_C99_XXX class of macros are set to 1 in > bits/c++config.h. > > When I build on RHEL 9 I get: > > #define _GLIBCXX11_USE_C99_COMPLEX 1 > #define _GLIBCXX11_USE_C99_MATH 1 > #define _GLIBCXX11_USE_C99_STDIO 1 > #define _GLIBCXX11_USE_C99_STDLIB 1 > #define _GLIBCXX11_USE_C99_WCHAR 1 >