Re: Question about format.c check for __GNUC_MINOR__ of 6

2023-09-14 Thread Mike Fulton
Hi On Fri, Sep 8, 2023 at 10:28 AM Mike Fulton wrote: > > >> >> On Thu, Sep 7, 2023 at 6:09 PM Eric Blake wrote: >> >>> On Wed, Sep 06, 2023 at 03:08:33PM -0700, Mike Fulton wrote: >>> > Hello, >>> > >>> > The m4 dev line ( git://git.savannah.gnu.org/m4.git ) >>> > has the following code: >>> >

Re: Question about format.c check for __GNUC_MINOR__ of 6

2023-09-08 Thread Mike Fulton
> > > On Thu, Sep 7, 2023 at 6:09 PM Eric Blake wrote: > >> On Wed, Sep 06, 2023 at 03:08:33PM -0700, Mike Fulton wrote: >> > Hello, >> > >> > The m4 dev line ( git://git.savannah.gnu.org/m4.git ) >> > has the following code: >> > >> > ``` >> > #if 4 < __GNUC__ + (6 <= __GNUC_MINOR__) >> > # pragm

Re: Question about format.c check for __GNUC_MINOR__ of 6

2023-09-07 Thread Eric Blake
On Wed, Sep 06, 2023 at 03:08:33PM -0700, Mike Fulton wrote: > Hello, > > The m4 dev line ( git://git.savannah.gnu.org/m4.git ) > has the following code: > > ``` > #if 4 < __GNUC__ + (6 <= __GNUC_MINOR__) > # pragma GCC diagnostic push > # pragma GCC diagnostic ignored "-Wformat-nonliteral" > #en

Question about format.c check for __GNUC_MINOR__ of 6

2023-09-06 Thread Mike Fulton
Hello, The m4 dev line ( git://git.savannah.gnu.org/m4.git ) has the following code: ``` #if 4 < __GNUC__ + (6 <= __GNUC_MINOR__) # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wformat-nonliteral" #endif ``` This produces an error on the clang compiler I am using on z/OS, which i