RE: New ARI warning Fri Apr 20 01:58:17 UTC 2012

Pierre Muller
2012-04-20T10:50:54Z

> -----Message d'origine-----
> De : gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Eli Zaretskii
> Envoyé : vendredi 20 avril 2012 11:48
> À : Joel Brobecker
> Cc : yao@codesourcery.com; gdb-patches@sourceware.org
> Objet : Re: New ARI warning Fri Apr 20 01:58:17 UTC 2012
>
> > Date: Thu, 19 Apr 2012 21:38:07 -0700
> > From: Joel Brobecker <brobecker@adacore.com>
> > Cc: gdb-patches@sourceware.org
> >
> > In this particular case, I kind of agree with the warning, but
> > at the same time, I don't really see why we should necessarily
> > ban the use of the "inline" keyword. I'm actually considering
> > the idea of getting rid of this ARI rule.
> >
> > Any opinion on this topic?
>
> Absolutely, the warning should be tossed. There's nothing wrong with
> using it.

I have no opinion on the removal of this rule,
I would just like to be sure that,
if we allow to use inline function,
the configure step will correctly define inline as nothing
on systems using compilers that do not support inline functions.

Does anyone know if this is done inside GDB configuration step?

Pierre Muller
As un-official GDB ARI maintainer ...