[igt-dev] [PATCH i-g-t 1/4] tests/sw_sync: fix pthread start_routine declaration

Petri Latvala petri.latvala at intel.com
Wed Jun 20 09:57:45 UTC 2018


On Tue, Jun 19, 2018 at 01:30:27PM -0700, Lucas De Marchi wrote:
> On Tue, Jun 19, 2018 at 12:37 AM Petri Latvala <petri.latvala at intel.com> wrote:
> >
> > On Mon, Jun 18, 2018 at 11:46:31PM -0700, Lucas De Marchi wrote:
> > > Ping?
> >
> > A tentative
> >
> > Reviewed-by: Petri Latvala <petri.latvala at intel.com>
> >
> > on the series.
> >
> > What is the practical effect of -std=gnu11 in terms of gcc version
> > requirement? I know using C++11 requires some creative selection of
> > gcc versions, but I have no idea about C11.
> 
> I use it since forever in kmod, but there I have some
> cruft^Wcompatibility macros. I can bring it over to igt if it's
> needed, but I think it would be better to have a tentative push
> without them.
> 
> Answering your question, according to
> https://gcc.gnu.org/wiki/C11Status _Static_assert() that I'm using in
> this series is available since gcc 4.6. Some C11 features entered in
> 4.7 and in 4.9 it was "feature complete".


That sounds alright. Even debian oldstable has 4.9.


-- 
Petri Latvala


More information about the igt-dev mailing list