Re: [PATCH] mig: explicitly use -std=gnu11

2022-11-24 Thread Samuel Thibault
Amos Jeffries, le jeu. 24 nov. 2022 22:50:57 +1300, a ecrit: > On 24/11/2022 5:41 am, Flavio Cruz wrote: > > On Wed, Nov 23, 2022 at 11:51:36AM +0100, Samuel Thibault wrote: > > > Flavio Cruz, le mer. 23 nov. 2022 00:10:10 -0500, a ecrit: > > > > Latest GCC will pick up gnu17 by default but gnu11 w

Re: [PATCH] mig: explicitly use -std=gnu11

2022-11-24 Thread Amos Jeffries
On 24/11/2022 5:41 am, Flavio Cruz wrote: On Wed, Nov 23, 2022 at 11:51:36AM +0100, Samuel Thibault wrote: Flavio Cruz, le mer. 23 nov. 2022 00:10:10 -0500, a ecrit: Latest GCC will pick up gnu17 by default but gnu11 will be better supported with older compilers. Mmm, but why explicitly reque

Re: [PATCH] mig: explicitly use -std=gnu11

2022-11-23 Thread Flavio Cruz
On Wed, Nov 23, 2022 at 11:51:36AM +0100, Samuel Thibault wrote: Flavio Cruz, le mer. 23 nov. 2022 00:10:10 -0500, a ecrit: Latest GCC will pick up gnu17 by default but gnu11 will be better supported with older compilers. Mmm, but why explicitly requesting gnu11 then? Latest GCC will be fine

Re: [PATCH] mig: explicitly use -std=gnu11

2022-11-23 Thread Samuel Thibault
Flavio Cruz, le mer. 23 nov. 2022 00:10:10 -0500, a ecrit: > Latest GCC will pick up gnu17 by default but gnu11 will be better supported > with older compilers. Mmm, but why explicitly requesting gnu11 then? Latest GCC will be fine with using gnu17, and older GCC will be fine with using whatever

[PATCH] mig: explicitly use -std=gnu11

2022-11-22 Thread Flavio Cruz
Latest GCC will pick up gnu17 by default but gnu11 will be better supported with older compilers. --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index 918efa1..a528b85 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,6 +3,7 @@ libexec_PROGRAMS = mig